📜  对 pandas 中的行和列进行排序 - Python 代码示例

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

代码示例1
df.sort_values(by="ColumnName", axis=0, ascending=False, inplace=False, kind='quicksort')
#axis 0 is rows and axis 1 is columns. For axis 0 by needs to contain column name