Is there a similar notebook application like https://livebook.dev/ for Python? I like Jupyter, but after trying out Livebook with Elixir I wish there was something similar in Python. Smart cells and Toggling parts of code on/off is extremely useful features in a Notebook app.
JupyterLab 4.0
131–140 of 199 posts
Re: JupyterLab 4.0
#132I keep experimenting with Jupyter in the context of telemetry/fault analysis and then hitting a wall with it where: - I get an analysis that I like, but there isn't a good way to share it with others, so I end up just taking screenshots. - There isn't a good way to take the same analysis and plug new data into it, other than to copy-paste the entire notebook. - The process to "promote" fragments of a notebook into be…
I believe that you can use https://github.com/tweag/jupyenv for this.
Re: JupyterLab 4.0
#133Re: JupyterLab 4.0
#134Would be nice to have something like that but completely native - without the need of browser, CSS, JavaScript, etc. Just drawing directly on a surface, e.g. via Vulcan or GTK/Qt.
Re: JupyterLab 4.0
#135Earlier quoted context omitted.
Debugging nested dicts and high-dim arrays is a nightmare using print
in python you can turn nested dictionaries and other data structures into json, but only if the data structures doesn't include circular references. I use that a lot. something like >>> d = { "a":1, "b":[1,2,3] } >>> import json >>> print( json.dumps(d, indent=2) ) { "a": 1, "b": [ 1, 2, 3, ] }
>>> d = { "a":1, "b":[1,2,3] }
>>> d["d"] = d
>>> import pprint
>>> pprint.pprint(d)
{'a': 1, 'b': [1, 2, 3], 'd': }Re: JupyterLab 4.0
#136I keep experimenting with Jupyter in the context of telemetry/fault analysis and then hitting a wall with it where: - I get an analysis that I like, but there isn't a good way to share it with others, so I end up just taking screenshots. - There isn't a good way to take the same analysis and plug new data into it, other than to copy-paste the entire notebook. - The process to "promote" fragments of a notebook into be…
For a while I viewed Jupyter as a toy that is neither here nor there (sitting between the chairs of development and explanation, briefing or visualization and not doing either job great). But about 2 years ago when I changed jobs into a "Jupyter heavy" environment I was forced to learn it and have grown to really like it. I primarily use Jupyter for prototyping: trying ideas, plotting results and sharing notebooks fo…
Re: JupyterLab 4.0
#137I have been using VSCode notebooks with .ipynb file extensions, this gives me many advantages as I am able to configure things I'm not able in JupyterLab. I also have access to a very rich ecosystem of plugins. If there is anyone aware of VSCode as a solution but keeps using JupyterLab, could they explain why?
Re: JupyterLab 4.0
#138I keep experimenting with Jupyter in the context of telemetry/fault analysis and then hitting a wall with it where: - I get an analysis that I like, but there isn't a good way to share it with others, so I end up just taking screenshots. - There isn't a good way to take the same analysis and plug new data into it, other than to copy-paste the entire notebook. - The process to "promote" fragments of a notebook into be…
> The process to "promote" fragments of a notebook into being reusable functions seemed very high-friction: basically you're rewriting it as a normal Python package and then adding that to Jupyter's environment. Don't get in that situation to begin with. Pop an `%load_ext` `%autoreload 2` at the top and just write functions in an imported .py file from the get go.
Re: JupyterLab 4.0
#139I keep experimenting with Jupyter in the context of telemetry/fault analysis and then hitting a wall with it where: - I get an analysis that I like, but there isn't a good way to share it with others, so I end up just taking screenshots. - There isn't a good way to take the same analysis and plug new data into it, other than to copy-paste the entire notebook. - The process to "promote" fragments of a notebook into be…
Re: JupyterLab 4.0
#140Anyone got experience with the real time collaboration and have feedback?
I've been trying to work out exactly how it works myself for the last hour, and there is no clear indicator on how to activate this mode. No documentation either, barring: https://github.com/jupyterlab/jupyter_collaboration
What am I supposed to be doing here?