界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

notebook

notebook

【数据与研究】Use Fugue's Jupyter and IPython notebook extension, %%fsql magic, and notebook display setup.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: notebook description: "Use Fugue's Jupyter and IPython notebook extension, %%fsql magic, and notebook display setup." metadata: disco-role: operating disable-model-invocation: true license: Apache 2.0

notebook

Use this sub-skill for Fugue notebook integration and %%fsql cell magic.

Covers

  • %load_ext fugue_notebook
  • from fugue_notebook import setup, NotebookSetup
  • %%fsql cell magic, line engine parsing, and yielded local variables
  • notebook display behavior for Fugue dataframes
  • notebook-specific case-sensitivity and config controls

Excludes

  • Full FugueSQL grammar and query construction, which belong in ../sql/
  • Backend package installation and engine registration, which belong in ../backends/
  • Plain Python DAG code outside notebooks, which belongs in ../workflow/

Read these files

  • references/notebook-reference.md for notebook setup, line syntax, and config examples
  • references/troubleshooting.md for magic-registration and headless/runtime failures
  • scripts/notebook_smoke.py for a safe import check that can optionally register magics inside IPython

Typical user prompts

  • "How do I use FugueSQL in a notebook cell?"
  • "Why is %%fsql not recognized?"
  • "How do I force FugueSQL cells to ignore case?"
  • "How do I pass a Dask or DuckDB engine into %%fsql?"

If the user is writing SQL text rather than debugging notebook setup, route to ../sql/ after confirming the magic is loaded.

我的收藏