Как импортировать CSV в пандах
import pandas as pd
df = pd.read_csv (r'Path where the CSV file is stored\File name.csv')
print (df)
PENGUIN OVERLORD
import pandas as pd
df = pd.read_csv (r'Path where the CSV file is stored\File name.csv')
print (df)
import pandas as pd
df = pd.read_csv (r'Path where the CSV file is stored\File name.csv')
print (df)
import pandas as pd #import pandas
#syntax: pd.read_csv('file_location/file_name.csv')
data = pd.read_csv('filelocation/fileName.csv') #reading data from csv
df = pd.read_csv('data.csv')
import pandas as pd
df = pd.read_csv('../examples/example_wp_log_peyton_manning.csv')
df.head()
you should be in the same dir as .py file
df = pd.read_csv('your_file_name.csv')