I am able to search suggestions that show the 'cause' of this error message, but not how to address it -
I encounter this problem every time I try to add a new column to a pandas dataframe by concatenating string values in 2 existing columns.
For instance:
wind['timestamp'] = wind['DATE (MM/DD/YYYY)'] + ' ' + temp['stamp']
It works if the first item and the second merged with ' ' are each separate dataframe/series.
These attempts are to have date & time merged into the same column so that they get recognized as datetime stamps by pandas library.
I am not certain if I am wrongly using the command or if it is the pandas library features are internally limited, as it keeps returning the duplicate axis
error msg. I understand the latter is highly unlikely hahaha ...
Could I hear some quick and easy solution out of this?
I mean, I thought sum/subtract and all these operations between column values in a dataframe would be quite easy. Shouldn't be too hard to have it visible on the table either right?