question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jupyter notebook (and lab) kernel dies when showing geometry column

See original GitHub issue

Hey, not sure if this is a jupyter update, or what, but I’m getting kernel death on:

import geopandas as gpd
path = gpd.datasets.get_path('nybb')
df = gpd.read_file(path)
df.head()

but no death when

df.drop('geometry', axis=1).head()

in both firefox and chrome in both jupyter notebook (5.0.0) and lab (0.32.1) using geopandas (0.3.0) on linux (ubuntu & arch). If this can’t replicate, fine, but I’ve tried all I know how to fix it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
shubham2323commented, Apr 12, 2019

How did you solve this issue??

0reactions
Luke-Shawcommented, Jun 18, 2019

I’m using conda: many things I tried didn’t work (updating any/all packages and trying older versions), but what was successful fixing this issue was a complete Anaconda uninstall and reinstall.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Jupyter Labs: Kernel Dies when Converting Tuple to ...
I just ran your exact code (pay attention you wrote different variable names - test vs testing). After changing the variable names it...
Read more >
How to Fix Kernel Error in Jupyter Notebook
A kernel error occurs basically when you try opening a python 3 file in the wrong directory. The truth is Jupyter and Python...
Read more >
Kernel restart - when fitting data - SWAN Community
I have a 10GB root file with 30 columns and 60 million rows. I got an error when I tried to import all...
Read more >
GEOG 489 - John A. Dutton e-Education Institute
Once Spyder is started, it should display a message in the IPython tab ... you get the error message "Kernel died, restarting" in...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
... Bug:90687 - "app-emulation/bochs: ebuild does not support pci nor pcidev linux kernel module" status:RESOLVED resolution:OBSOLETE severity:enhancement ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found