(Data explorer) DatetimeIndex column not available in encodings selection
while trying to use data explorer with dataframe of DatetimeIndex, looking to do rolling on the DatetimeIndex column, but not seeing the index column in encodings dropdowns
Solution:
I think the problem might be with that, data explorer is for both pandas and polars dataframe, but their api of rolling is not exactly the same, so supporting such operations in data explorer is tricky
Documentation keeps popping up
1. The problem you're facing
Whenever I type something, annoying documentation keeps popping up which is very unhelpful.
2. What is currently happening
Someone thought it made sense to show live documentation based on text you're typing. So for example when I am typing the word
index
to declare a simple variable for a loop, I see a popup with documentation for input
by the time I've typed in
and IndexError
when I reach ind
. Not only is this terrible UX it's actually also slowing down the UI making the whole thing feel laggy and clunky....Automatically expanding the output of a cell
Can I add code to a cell that, when executed, is equivalent to clicking the "Expand output" button on the right side of the cell?
Change color of element programatically
I want to give a hint to the user, that they need to press a submit button, if they have made changes to some parts of the inputs. To do this, I want to nudge them by changing the color of the button to red. I tried with callout, but it seems a bit excessive as it just places a large box around my element. Instead I want to make it more subtle, but still visibly different from the standard button color
RuntimeContext was already initialized.
Did anyone run into this error when using
mo.Thread
? Any clue about it?Per-environment or global Marimo?
Do you recommend using a global marimo installation or a per-environment marimo installation?
[need help]The order of the columns in Marino's uitable is very confusing for me
I hope Marino's uitable can be displayed in the order of the columns I set, but he always puts the "1" column at the beginning
for example: I want the order of the columns is ["-1", "0", "1", "2"]...
Disable button after click
Hi, playing around with marimo the last few days and loving it! I was wondering if there is a way to disable a button after it's been clicked once? I tried to get the button's on_click function to set the 'disabled' param to True after the first click, but that doesn't seem to help.
displaymath weirdness
Is anyone seeing marimo change displaymath text? I type in one thing and it works,then when I re open the file I get another. Happens at least on 0.9.20 and 0.9.21
Does caching work for SQL cells?
https://docs.marimo.io/api/caching.html
Or would I need to turn it into a python cell then run it?...
Change app description, favicon
Hello. Is there a way to change the description and the favicon on the app today?
I'm actually considering putting it in a fast API app, so I guess I could override it there with a middleware potentially, but... I don't know if maybe there's a configuration option I can do, that would be a little simpler to start out with....
Rendering a Leafmap map with height, width=100%
My first use case for Marimo is for publishing maps created with Leafmap and I'm so close to what I need. I set the notebook width to full which gets me close, but I'd like to use the full extent of the webpage viewport. How might I accomplish this?
Turn off "download as HTML" in app
I couldn't find an answer to this in the docs, sorry if I missed it. Is there a way to turn off the "Download as HTML" option when you are running the notebook as an app?
I'd strongly prefer my users not be able to do that.
Turning off all the download options is OK too. I guess that I could add custom CSS that disables it. But if there's a configuration option, that would be nice....
Import function from local module
This may be a silly question, but can I add a module with my custom scripts/functions from my local working directory and then reference these python files in the marimo notebook? I currently get a "no module found" / "missing package" error when I add
from local_folder.my_python_script import my_function
What would be the best way to do this?...Solution:
So you guided me down the right path. I ended up converting my folder
local_folder
into a package using UV init and adding all dependencies in that folder environment. UV automatically added the package to my marimo environment as a workspace tool.
I then used `uv pip install -e local_folder/.' to add my created package to marimo.
I restarted marimo and it picked up all my functions. ...Confusion about uv - tangential
I know this isn't a
uv
community but the marimo one but I know there are a lot of big uv fans here. I am little confused about some elements of uv, can somebody enlighten me please?
https://github.com/astral-sh/uv/issues/9219...Table shows "string" or "number" below header
Not sure if this is a bug, or a feature, but suddenly tables show the datatype below the header of each column. This is also the case on the example in the documentation. Is there a way to disable this?
display output of all expressions in a single cell
Likely Issue
Can't get marimo to display multiple dataframes in a single cell by default.
Context:
- By default, jupyter prints only the output of the last evaluated expression in a single cell. Working with multiple data frames, its tiresome to only look at a single frame in one cell. ...