複数条件でソートする方法2022/9/17 / 1 min readView more blogs with the tag pandas, View more blogs with the tag pythonTable of Contents#はじめに#方法はじめに Pythonで複数条件でソートする方法です。 方法 # col1(降順)、col2(昇順)、col3(昇順)でソートしたいときdf = df.sort_values( ["col1", "col2", "col3"], ascending=[False, True, True])