python pandas 行翻转 列翻转

列翻转:
data.iloc[:, ::-1]

行翻转:
data.iloc[::-1]
posted @ 2022-12-07 14:37  wangssd  阅读(118)  评论(0)    收藏  举报