Как импортировать 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 #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')
you should be in the same dir as .py file
df = pd.read_csv('your_file_name.csv')
df = pd.read_csv("name.csv")
import pandas as pd
# Read file and set row number(s) to use as the column name(s)
df = pd.read_csv('file.csv', header = 0)
# Display DataFrame
print(df)