📌  相关文章
📜  python 按一列对数据框进行排序 - Python 代码示例

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

代码示例6
#following is example of sorting by the column "2" in descending order
final_df = df.sort_values(by=['2'], ascending=False)