[英]Jupyter notebook error while saving / pandas python
我在嘗試保存我的 jupyter 筆記本時遇到問題。
表明:
Unexpected error while saving file: notebook.ipynb HTTP 500: Internal Server Error (Couldn't save the `notebook)`
我的代碼:
# Read in dataset
import pandas as pd
apps_with_duplicates = pd.read_csv("datasets/apps.csv")
# Drop duplicates from apps_with_duplicates
apps = apps_with_duplicates.drop_duplicates()
# Print the total number of apps
print('Total number of apps in the dataset = ', len(apps))
# Have a look at a random sample of 5 rows
n = 5
apps.sample(n)
感謝和問候,
看看這里:
尤其是 mikus 的回答:
$ pip install --upgrade jupyterhub
$ pip install --upgrade --user nbconvert
編輯: https://stackoverflow.com/a/36852617/16063775
sudo pip install --upgrade "ipython[all]"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.