Ordering column names sensibly in pandas code example
Example: Ordering column names sensibly in pandas
# 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()