📅  最后修改于: 2022-03-11 14:45:10.662000             🧑  作者: Mango
# read column by indexing
# classify each column as either discrete or continuous
cols = pd.read_csv('name.csv').columns
read_col_indexing = pd.read_csv('name.csv',usecols=cols[:5])
read_col_indexing.head()