Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6334

python/pandas "Kernel died, restarting" while loading a csv file

$
0
0

While trying to load a big csv file (150 MB) I get the error "Kernel died, restarting". Then only code that I use is the following:

import pandas as pd
from pprint import pprint
from pathlib import Path
from datetime import date
import numpy as np
import matplotlib.pyplot as plt

basedaily = pd.read_csv('combined_csv.csv')

Before it used to work, but I do not know why it is not working anymore. I tried to fixed it using engine="python" as follows:

basedaily = pd.read_csv('combined_csv.csv', engine='python')

But it gives me an error execution aborted.

Any help would be welcome!

Thanks in advance!


Viewing all articles
Browse latest Browse all 6334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>