I am reading a XLS file and fetching the contents of a single column into a series 'username'. Now I want to insert the series into a CSV file which has a column named as 'Username'. I am having trouble doing this.
#Reading XLS File
excel_file = 'Some Report.xls'
sm_file = pd.read_excel(excel_file)
#Series
usernames = sm_file['Whois']
Now, I want to insert this series into "Username" column of "test.csv" file.
Test.csv file has many columns and I want to identify "Username" column and insert this series into that column.
I am facing difficulty while doing the same as I'm new in python & pandas.