Skip to main content

Timeline for answer to How to add a new column to an existing DataFrame by Sumit Pokhrel

Current License: CC BY-SA 4.0

Post Revisions

8 events
when toggle format what by license comment
Jan 26, 2022 at 21:46 comment added rubengavidia0x The OP have a Series e and the way of add a column to a df is different than add list. the above answers explain well what to do in that case especially the @firelynx answer. The below answers mostly are not aware about that....
May 23, 2019 at 16:01 comment added So S I really do not understand, why this is not the preferred answer. In case you have a pd.Series, the tolist() command might be helpful.
Dec 5, 2018 at 9:13 history edited Sociopath CC BY-SA 4.0
improved formatting
S Jul 22, 2018 at 11:54 history rollback Sumit Pokhrel
Rollback to Revision 1 - Edit approval overridden by post owner or moderator
Jul 21, 2018 at 13:37 history suggested tuomastik CC BY-SA 4.0
Reformatted
Jul 21, 2018 at 10:54 review Suggested edits
S Jul 22, 2018 at 11:54
Jun 5, 2017 at 1:08 review Late answers
Jun 5, 2017 at 1:31
Jun 5, 2017 at 0:53 history answered Sumit Pokhrel CC BY-SA 3.0