How to Use Pandas read_csv & to_csv

preview_player
Показать описание
To load a csv to a Pandas dataframe is not hard! In this short tutorial we will learn how use Pandas read_csv to load a csv to a dataframe.

We will also learn how to write a csv file using Pandas to_csv.

» Pandas read_csv documentation:

» Pandas to_csv documentation:

» How to install Pandas:
My video on how to install Pandas:

Pandas Documentation:

Рекомендации по теме
Комментарии
Автор

Hello,
I am using pycharm, and have installed Pandas.
I have downloaded your file (Wong.csv) and put it in the same folder as the .py file i'm working with.
When I have type the code below, nothing happens. Any variant does not work either. Do you have any idea ?


import pandas as pd

csv_file =

df = pd.read_csv(csv_file)
df



Thanks for your help !

CMik