define pandas column type when importing csv code example
Example 1: pandas read_csv ignore first column
pd.read_csv('path/to/file.csv',index_col=0)
Example 2: csv file in dataframe
import pandas as pddf = pd.read_csv ('file_name.csv')print(df)
pd.read_csv('path/to/file.csv',index_col=0)
import pandas as pddf = pd.read_csv ('file_name.csv')print(df)