移动pandas的dataframe中不同列的位置

将一个hypodd格式的目录读入进了dataframe,想弄成年、月、日这样的顺序,涉及到重新排列columns的位置,网上建议这么操作newcata=cata[[‘year’,’month’,’day’]]

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注