我有以下df, year code col1 col2 2019 1 2 3 2019 1 3 5 2019 1 2 4 2018 2 1 4 2018 2 2 6 我想通过year和code groupby df,然后将col2和col1之间 ...
確定! 回上一頁