add a number to every cell----IndexError: iloc cannot enlarge its target object

前端 未结 0 1008
说谎
说谎 2021-02-15 14:08

Create a new dataframe containing number in every cell:

import pandas as pd 
sample= [ (1, 3, 9) ,
          (8, 10, 5 ) ,
          (6, 9, 2) ]
df = pd.DataFrame         


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