Can’t see csv file (converted from df) in files

Solution for Can’t see csv file (converted from df) in files
is Given Below:

After saving my dataframe to a csv in a specific location, the csv file doesn’t appear in the location I saved it to. Is there any reason why it possibly is not showing?

Here is the code to save my dataframe to csv:

df.to_csv(r'C:UsersgibsoOneDriveDocumentsJOSEPHexport_dataframe.csv', index = False)

Even changing an empty df does not seem to work.

import pandas as pd

olympics={}
          

df = pd.DataFrame(olympics)
df.to_csv(r'C:UsersgibsoOneDriveDocumentsJOSEPHexport_dataframe.csv', index = False)

Thanks for the help!

I would rather use the module openpyxl. Example of saving:

import openpyxl

workbook = openpyxl.Workbook()
sheet = workbook.active
# Work on your workbook. Once finished:
workbook.save(file_name) # file_name is a variable you must define

Don’t forget installing openpyxl with pip first!