TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is anyone working with SQL data in Jupyter Notebook?

1 点作者 michaeloblak将近 3 年前
Daily I&#x27;m working with a lot of SQL, mostly in a self-hosted Redash. But, I caught myself on commenting some part of a query and then writing another query below the commented-out code. I thought it would be awesome to work with data in a Jupyter-like fashion - then I could tell the whole story, why I went this way with research, why such a query. So I added SQL support to my Jupyter instance, a started working with data in Jupyter.<p>Now I can tell a better story and I have the full history of &quot;why I did this&quot;. But it feels somehow not cool, also keeping the credentials to the database inside the notebook - not cool. _(I know I can keep them in environment, but that&#x27;s not the point)_<p>Is anyone querying SQL from Jupyter? Is there a better way to query data, and query the results with another SQL? Then use Python to do some stuff on data. Then plot the results. Keeping all the mid-steps at the same time.

1 comment

anigbrowl将近 3 年前
Sure, not sure what the issue is here that makes it &#x27;not cool&#x27;.
评论 #32516058 未加载