Scenario: I have a code that reads data from excel worksheets into dataframes, merges into one dataframe, and perform some cleaning procedures.
Issue: I am trying to add a column with a given value to the beginning of the dataframe with pd.insert, but every time I run this line the dataframe disappears from the variable explorer.
This is the line I am using:
fnl = fnl.insert(loc=1, column='N', value=15)
Question: Why could be the reason for this, and how to fix it?