The kernel appears to have died It will restart automatically

Hi!

Trying to run the code:

import pandas as pd

football = pd.read_csv(‘/Full_path_to_file/data_sf.csv’)
display(football.head())

Getting the mesage: The kernel appears to have died. It will restart automatically.

Im on Mac book M3 18Gb…

Please help…

Is this a large file? You might be running out of memory. Note that when you read a csv file with pandas with default options the file will be often much larger in memory than it is on the disk.

2 Likes

Not really… It is not a large file…There was no problem before with any data bases…