pandas xlsx to dataframe

import pandas as pd
# Save Dataframe df to output.xlsx in current directory with sheet_name_1
df.to_excel("output.xlsx", sheet_name='Sheet_name_1') 

Here is what the above code is Doing:
1. We’re using the to_excel() method on our DataFrame df.
2. We’re passing in the name of the file we want to create as the first argument.
3. We’re passing in the name of the sheet we want to create as the second argument.
4. We’re using the index parameter and setting it to False so that pandas doesn’t include the index in our data.