Transferring data from python to excel

import os
os.getcwd()
os.chdir(“C:\Users\Admin”)
os.getcwd()
df = pd.read_csv(‘Muhammad123’)
FileNotFoundError Traceback (most recent call last)

Please always include the complete traceback. It will normally at least
indicate which line of code had the error.

I want to transfer data from python to excel but after writing the code
the error is appearing that file not found. Can you suggest what is the
error?

Well it seems likely that either the path “C:\Users\Admin” does not
exist, or that your CSV file is not called ‘Muhammad123’. Maybe
‘Muhammad123.csv’ ?

But a traceback will be more informative.

Cheers,
Cameron Simpson cs@cskk.id.au