a b c d e f
count 6.0000006.0000006.0000006.0000006.0000006.000000
mean 4.8333334.5000006.1666675.6666675.5000006.500000
std 1.1690451.7606821.7224012.5819892.4289921.378405
min 3.0000003.0000004.0000003.0000003.0000005.00000025% 4.2500003.0000005.0000003.2500003.2500005.25000050% 5.0000004.0000006.0000006.0000005.5000006.50000075% 5.7500005.7500007.7500008.0000007.7500007.750000
max 6.0000007.0000008.0000008.0000008.0000008.000000
对行上的索引进行逆向排序
print(df.sort_index(axis=1,ascending=False))
f e d c b a
2017-08-136887352017-08-147335732017-08-155888352017-08-168388342017-08-178445562017-08-18573466
对列上的索引进行逆向排序
print(df.sort_index(axis=0,ascending=False))
a b c d e f
2017-08-186643752017-08-176554482017-08-164388382017-08-155388852017-08-143753372017-08-13537886