<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>motojapan</author_name>
  <author_url>https://blog.hatena.ne.jp/motojapan/</author_url>
  <blog_title>MotoJapan's Tech-Memo</blog_title>
  <blog_url>https://motojapan.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>ipython</anon>
    <anon>notebook</anon>
    <anon>jupyter</anon>
  </categories>
  <description>ipython notebookもしくはjupyter notebookで日頃の作業をしている中で 大量のログを出力したままファイルを閉じたり ログを出しすぎて処理が重くなり、不用意にterminateしたり して、次の実行時にipynbファイルの展開が遅くなったり、最悪展開できない、kernelが展開時にterminateすることがある。その時の対処法をメモ。 やりたいこと＝外部から出力カラムを削除 $ pip install nbclean $ python &gt; import nbclean &gt; c = nbclean.clean.NotebookCleaner('./hoge.ipynb…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotojapan.hateblo.jp%2Fentry%2F2018%2F05%2F25%2F203902&quot; title=&quot;【ipython/jupyter】 ipython notebookの出力データを外部からclearする方法 - MotoJapan&amp;#39;s Tech-Memo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-25 20:39:02</published>
  <title>【ipython/jupyter】 ipython notebookの出力データを外部からclearする方法</title>
  <type>rich</type>
  <url>https://motojapan.hateblo.jp/entry/2018/05/25/203902</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
