I noticed that after importing large datasets in pandas (> more than 50MB), I need to restart my kernel every time I want to run a command, otherwise, it looks that the c