Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have a folder which contain three excel files and each excel file looks like this: Country City Code Price India Mumbai 4 2 3
I have a folder which contain three excel files and each excel file looks like this:
Country City Code Price
India Mumbai
India Mumbai
India Mumbai
India Mumbai
India Mumbai
India Mumbai
Country City Code Price
China Beijing
China Beijing
China Beijing
China Beijing
China Beijing
China Bejing
I need to insert a new row after code and the price will be So new table will look like this:
Country City Code Price
India Mumbai
India Mumbai
India Mumbai
India Mumbai
India Mumbai
India Mumbai
India Mumbai
Country City Code Price
China Beijing
China Beijing
China Beijing
China Beijing
China Beijing
China Beijing
China Bejing
So all the excel files should be updated like that at the same time in one python script, because need to imagine there can be multiple excel files where we need to insert row in certain location. Could you please let me know how to do it in python jupyter notebook.I have a folder which contain three excel files and each excel file looks like this:
I need to insert a new row after code and the price will be So new table will look like this:
So all the excel files should be updated like that at the same time in one python script, because need to
imagine there can be multiple excel files where we need to insert row in certain location. Could you
please let me know how to do it in python jypyter notebook.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started