Assigning rows of 2D numpy array to cell of Dataframe

前端 未结 0 984
悲&欢浪女
悲&欢浪女 2020-12-12 03:46

Suppose you have a pandas dataframe d with k rows and a numpy array of shape (k, N). How can one create a new column in d where the j-th value is the j-th row of the numpy a

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