Please help! File extraction to csv file

Hello im haveing a very hard time exporting my cleaned dataset from python to a CSV for submission for school. I tried df=pd.DataFrame(file name), pd.read_csv(r’C:\Users-–\Downloads\filename.csv’), I’ve tried everything and it give back my dataframe with only 7 rows instead of the full 10,000? Please help, any advice?

Are you doing df = pd.read_csv(r'C:\Users\---\Downloads\filename.csv')?

If no, please show your code.

How exactly do you know that there should be 10,000 rows in the dataframe?

For example, what steps do you take to make sure the file is there, and how do you check (without your own program) what’s in it currently? Does it look right in a spreadsheet program, for example?