2021年4月10日星期六

Python use pd.read_csv to read file and use first row as column name

DATA_PATH = 'data/iris_dataset.csv'      data = pd.read_csv("data/iris_dataset.csv")   

This is my code what would be the second line of code for setting the appropriate parameter to use the first row as the column names

https://stackoverflow.com/questions/67041355/python-use-pd-read-csv-to-read-file-and-use-first-row-as-column-name April 11, 2021 at 12:04PM

没有评论:

发表评论