jpskill.com
📦 その他 コミュニティ

jupyter

Jupyter Notebook を使って、データ分析や可視化、再現可能な研究を支援し、コードと豊富なアウトプットを組み合わせたノートブック作成、レポート変換、バッチ処理のためのパラメータ設定などを行うSkill。

📜 元の英語説明(参考)

Assists with interactive data analysis, visualization, and reproducible research using Jupyter notebooks. Use when building notebooks that combine code with rich output, managing kernels, converting to reports, or parameterizing notebooks for batch execution. Trigger words: jupyter, notebook, jupyterlab, ipynb, nbconvert, papermill.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Jupyter Notebook を使って、データ分析や可視化、再現可能な研究を支援し、コードと豊富なアウトプットを組み合わせたノートブック作成、レポート変換、バッチ処理のためのパラメータ設定などを行うSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o jupyter.zip https://jpskill.com/download/15028.zip && unzip -o jupyter.zip && rm jupyter.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/15028.zip -OutFile "$d\jupyter.zip"; Expand-Archive "$d\jupyter.zip" -DestinationPath $d -Force; ri "$d\jupyter.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して jupyter.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → jupyter フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Jupyter

概要

Jupyter は、コード実行、リッチな出力(テーブル、プロット、ウィジェット)、およびノートブックドキュメント内のナラティブテキストを組み合わせたインタラクティブなコンピューティングプラットフォームです。複数のカーネル(Python、R、Julia)をサポートし、可視化のために matplotlib、plotly、ipywidgets と統合し、レポート生成のための nbconvert およびパラメータ化されたバッチ実行のための papermill を通じて再現可能な研究を可能にします。

手順

  • ノートブックを構築する際は、インポート、データロード、探索、分析、結論という明確な流れでセルを整理し、コードセル間のナラティブなコンテキストには Markdown セルを使用します。
  • ノートブックを共有する際は、カーネルを再起動し、「すべて実行」してセルが順番に実行されることを確認してから、技術者ではない読者向けに --no-input を指定して nbconvert を使用して HTML、PDF、またはスライドを生成します。
  • 環境を管理する際は、仮想環境から python -m ipykernel install --user --name=myenv でカーネルをインストールし、最初のセルで %pip install package==1.2.3 を使用して依存関係を固定します。
  • 繰り返し開発を行う際は、%autoreload 2 を使用して、インポートされたモジュールが変更時に自動的にリロードされるようにし、実績のあるコードを再利用のために .py モジュールに抽出します。
  • バージョン管理を行う際は、jupytext を使用して、.ipynb を差分が明確な .py ファイルとペアにするか、nbstripout を使用して Git コミットの前に出力を削除します。
  • 本番環境で実行する際は、papermill を使用して、バッチレポート生成のためにプログラムでノートブックをパラメータ化して実行します。

例 1: 探索的データ分析ノートブックの構築

ユーザーリクエスト: 「顧客データセットの EDA 用の Jupyter ノートブックを作成してください」

アクション:

  1. インポート、%matplotlib inline、および CSV/Parquet からのデータロードを使用してノートブックをセットアップします
  2. df.describe()df.info()、および欠損値分析を使用して、要約統計セルを追加します
  3. 分布プロット、相関ヒートマップ、および時系列チャートを使用して、可視化セルを作成します
  4. 分析セクション間の所見と結論を含む Markdown セルを追加します

出力: 統計、可視化、および共有可能なナラティブを備えた、適切に構造化された EDA ノートブック。

例 2: papermill を使用した週次レポートの自動化

ユーザーリクエスト: 「異なる日付パラメータを使用して、同じノートブックから週次売上レポートを生成します」

アクション:

  1. 日付範囲のタグ付きパラメータセルを含むテンプレートノートブックを作成します
  2. papermill を使用して、週ごとに異なるパラメータでノートブックを実行します
  3. エグゼクティブ向けのレポートのために、nbconvert --no-input を使用して出力ノートブックを HTML に変換します
  4. cron または CI パイプラインを介して実行をスケジュールします

出力: パラメータ化されたノートブックテンプレートから生成された自動化された週次 HTML レポート。

ガイドライン

  • 共有する前にカーネルを再起動し、「すべて実行」して、セルが順番に確実に実行されるようにします。
  • カーネルを再起動せずにインポートされたモジュールをリロードするには、開発中に %autoreload 2 を使用します。
  • .py ファイルは差分が明確ですが、.ipynb の出力はバージョン管理を汚染するため、Git には jupytext を使用します。
  • 再現性のために、最初のセルで環境の依存関係を固定します。
  • 手動での再実行の代わりに、パラメータを使用したバッチ実行には papermill を使用します。
  • 探索と本番環境を分離します。ノートブックで探索し、実績のあるコードを Python モジュールに抽出します。
  • ノートブックを 200 セル未満に保ちます。大規模な分析を複数の焦点の絞られたノートブックに分割します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Jupyter

Overview

Jupyter is an interactive computing platform that combines code execution, rich output (tables, plots, widgets), and narrative text in notebook documents. It supports multiple kernels (Python, R, Julia), integrates with matplotlib, plotly, and ipywidgets for visualization, and enables reproducible research through nbconvert for report generation and papermill for parameterized batch execution.

Instructions

  • When building notebooks, organize cells with a clear flow: imports, data loading, exploration, analysis, and conclusions, using Markdown cells for narrative context between code cells.
  • When sharing notebooks, restart the kernel and "Run All" to ensure cells execute in order, then use nbconvert to generate HTML, PDF, or slides with --no-input for non-technical audiences.
  • When managing environments, install kernels from virtual environments with python -m ipykernel install --user --name=myenv and pin dependencies with %pip install package==1.2.3 in the first cell.
  • When developing iteratively, use %autoreload 2 to auto-reload imported modules on change, and extract proven code into .py modules for reuse.
  • When version controlling, use jupytext to pair .ipynb with .py files that diff cleanly, or use nbstripout to strip output before Git commits.
  • When running in production, use papermill to parameterize and execute notebooks programmatically for batch report generation.

Examples

Example 1: Build an exploratory data analysis notebook

User request: "Create a Jupyter notebook for EDA on a customer dataset"

Actions:

  1. Set up the notebook with imports, %matplotlib inline, and data loading from CSV/Parquet
  2. Add summary statistics cells with df.describe(), df.info(), and missing value analysis
  3. Create visualization cells with distribution plots, correlation heatmaps, and time series charts
  4. Add Markdown cells with findings and conclusions between analysis sections

Output: A well-structured EDA notebook with statistics, visualizations, and narrative ready for sharing.

Example 2: Automate weekly reports with papermill

User request: "Generate weekly sales reports from the same notebook with different date parameters"

Actions:

  1. Create a template notebook with tagged parameter cells for date range
  2. Use papermill to execute the notebook with different parameters per week
  3. Convert output notebooks to HTML with nbconvert --no-input for executive-friendly reports
  4. Schedule execution via cron or CI pipeline

Output: Automated weekly HTML reports generated from a parameterized notebook template.

Guidelines

  • Restart kernel and "Run All" before sharing to ensure cells execute reliably in order.
  • Use %autoreload 2 during development to reload imported modules without restarting the kernel.
  • Use jupytext for Git since .py files diff cleanly while .ipynb outputs pollute version control.
  • Pin environment dependencies in the first cell for reproducibility.
  • Use papermill for batch execution with parameters instead of manual re-runs.
  • Split exploration from production: explore in notebooks, extract proven code to Python modules.
  • Keep notebooks under 200 cells; split large analyses into multiple focused notebooks.