熊猫sort_values,排序列中的重复值

时间:2020-09-16 15:59:31

标签: python pandas sorting

大熊猫在排序的列中如何对待相等的值。

dataFrame1

a | b | c |
--|---|---|
1 | 2 | 2 |
2 | 1 | 6 |
2 | 1 | 5 |
3 | 4 | 2 |

如果我运行dataFrame1.sort_values(by=['a'], ascending=True)

它如何处理?中的重复值?

0 个答案:

没有答案