SyntaxFix
Write A Post
Hire A Developer
Questions
df3.set_value(1, 'B', abc) works for any dataframe. Take care of the data type of column 'B'. Eg. a list can not be inserted into a float column, at that case df['B'] = df['B'].astype(object) can help.
df3.set_value(1, 'B', abc)
df['B'] = df['B'].astype(object)