Repeating columns based on corresponding column values and rows based on total values in pandas dataframe

后端 未结 0 1417
借酒劲吻你
借酒劲吻你 2021-01-31 12:32

I have the following data frame:

df1_given =pd.DataFrame.from_dict({\'col_0\':[0, 3], \'col_1\':[0.1, 2], \'col_2\':[0.2, 0], \'col_3\':[0.3, 2]})
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题