📌  相关文章
📜  在 pandas 中对列名进行合理排序 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:10.662000             🧑  作者: Mango

代码示例1
# 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()