Get help from the marimo community

Home
Members
JamesJohnson
J
JamesJohnson
Offline, last seen last week
Joined November 25, 2024
I use log messages to indicate where in the process the script is. Today, I've noticed that the more log messages get printed to one cell, the slower Marimo becomes. I don't think this affects when running from command line, but when in edit mode, if I allow all messages to be printed, then the notebook becomes completely unresponsive. Prior to Christmas I don't believe I had this issue and would be able to print all the messages without any issues, but I'm not completely sure about that.
2 comments
M
J
This morning I updated to Marimo 0.9.15 and now I'm receiving an "Error: Invalid time value" when trying to display an Ibis or a Polars dataframe that contains a timestamp column that is null.

Here's some simple code that replicates what I'm seeing:
Plain Text
df = (
    pl.date_range(date(2001, 1, 1), date(2001, 1, 3), eager=True)
    .alias("date")
    .to_frame()
)
df.with_columns(
    pl.col("date").dt.timestamp().alias("timestamp_us"),
    pl.col("date").dt.timestamp("ms").alias("timestamp_ms"),
    pl.lit(None).cast(pl.Datetime).alias("test")
)