0

''' df.loc[index, 'Col_1'] = list

'''

Here

Trying to create a new column called Col_1 using loc

list = [1234,5373, 4876]

index -> is the index of the df

but it is giving an error message : Must have equal len keys and value when setting with an iterable

0 Answers0