Use df.sort_values and .str.split("_",expand=True) and casting to int with .astype(int) like this: df.sort_values('bit',key=lambda x: x.str.split("_" ...
確定! 回上一頁