Answers for "Ordering column names sensibly in pandas"

0

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()
Posted by: Guest on July-21-2020

Code answers related to "Ordering column names sensibly in pandas"

Python Answers by Framework

Browse Popular Code Answers by Language