Apply a function along an axis of the DataFrame. ... df.apply(lambda x: [1, 2], axis=1, result_type='expand') 0 1 0 1 2 1 1 2 2 1 2.
確定! 回上一頁