Why does 0 is column and 1 is row for pandas' df.apply() while the reverse is the case for any other function? why is axis of apply() is bizzare?

前端 未结 0 1915
余生分开走
余生分开走 2020-11-29 21:48

Please take a look in Parameters, i wanted to apply an operation to the rows of the dataframe so i was trying to use axis=0 but turns out to be axis=1 or axis="columns&

相关标签:
回答
  • 消灭零回复
提交回复
热议问题