I have the following indexed DataFrame with named columns and rows not- continuous numbers:
a b c d 2 0.671399 0.101208 -
If you want to set the whole new column to an initial base value (e.g. None), you can do this: df1['e'] = None
None
df1['e'] = None
This actually would assign "object" type to the cell. So later you're free to put complex data types, like list, into individual cells.