Myles Scolnick
Myles Scolnick
Mmarimo
Created by lovuikeng on 11/7/2024 in #help-support
0.9.15 doesn't render custom index column of dataframe
In the meantime, you can probably do ‘.drop_index’ before outputting which will move the index as a real column
8 replies
Mmarimo
Created by lovuikeng on 11/7/2024 in #help-support
0.9.15 doesn't render custom index column of dataframe
8 replies
Mmarimo
Created by lovuikeng on 11/7/2024 in #help-support
0.9.15 doesn't render custom index column of dataframe
Oh thanks for pointing this out. I can fix this today
8 replies
Mmarimo
Created by Haleshot on 11/6/2024 in #help-support
Pagination size (custom range set)
got it, your use-case makes sense. thanks for elaborating
12 replies
Mmarimo
Created by Haleshot on 11/6/2024 in #help-support
Pagination size (custom range set)
@tripleshot, would you want to configure the default dataframe size but still using the rich tables? and this configuratoin to apply to ALL tables? and on a per notebook basis? or as your own user? (just want to clarify to log the feature request)
12 replies
Mmarimo
Created by Lachlan on 11/5/2024 in #help-support
Reacting to external changes
We have thought about adding contents = mo.filename('path/to/file') which will watch and refresh with updates (currently in a old branch of mine). we don't have this yet, and ui.refresh might be your best bet at the moment.
3 replies
Mmarimo
Created by Haleshot on 11/6/2024 in #help-support
Pagination size (custom range set)
@tripleshot we default rendering rich dataframes using our table, since it supports pagination, filtering, sorting, etc. we found 10 to be a good default because of these navigation features (pagination, filtering, sorting). 1. you can however turn off "rich dataframes" in your User Configuration in the editor UI (let me know if you can't find this setting) 2. if you want to revert to the plain html ui without a rich datatable, you can use mo.plain
import marimo as mo
mo.plain(df) # This renders pandas as its plain html
import marimo as mo
mo.plain(df) # This renders pandas as its plain html
3. for the above, you don't need to include all the configuration, you can instead do
mo.ui.table(df, page_size=40)
mo.ui.table(df, page_size=40)
12 replies
Mmarimo
Created by bynomial on 11/1/2024 in #help-support
lonboard map display
Do you have a full runnable example?
7 replies
Mmarimo
Created by Owen on 11/3/2024 in #help-support
Issues with Leafmap widgets
Thanks for sharing - is the simpler example working ok? (In your second comment). I can investigate what is going on.
4 replies
Mmarimo
Created by Angel de Vicente on 11/2/2024 in #help-support
Serving Marimo app with Apache2 reverse proxy?
Ah yes we use websockets. Is there anything we can add to our docs for this? Could you share the minimal configuration needed to get it working?
6 replies
Mmarimo
Created by Angel de Vicente on 11/2/2024 in #help-support
Serving Marimo app with Apache2 reverse proxy?
Can you let me know if this works and if we could update our docs (with maybe a minimal example of your setup)
6 replies
Mmarimo
Created by Angel de Vicente on 11/2/2024 in #help-support
Serving Marimo app with Apache2 reverse proxy?
6 replies
Mmarimo
Created by bynomial on 11/1/2024 in #help-support
lonboard map display
if you have a code snippet or marimo notebook, thanks!
7 replies
Mmarimo
Created by +mala on 11/1/2024 in #help-support
Something went wrong on dashboard
if anything every goes wrong - feel free to tag me or ping me (apologies for missing this notification)
4 replies
Mmarimo
Created by +mala on 11/1/2024 in #help-support
Something went wrong on dashboard
ah sorry @+mala - i just had a bad releases, i rolled back , but apologies for not updating until now
4 replies
Mmarimo
Created by bynomial on 11/1/2024 in #help-support
lonboard map display
can you share a minimal example?
7 replies
Mmarimo
Created by simaiinox on 11/1/2024 in #help-support
register data source / dataframe?
i can see a few advanced tooling like mo.editor.register_dasource
10 replies
Mmarimo
Created by simaiinox on 11/1/2024 in #help-support
register data source / dataframe?
yea, i think we could add support for this, esepcially if you are open to contributing it. we would likely need a way to handle cleanup too (maybe just weakrefs)
10 replies
Mmarimo
Created by simaiinox on 11/1/2024 in #help-support
register data source / dataframe?
not currently. As a workaround: you may be able to put this in a dict in mo.state({}) and then have a dropdown selected_df = mo.ui.dropdown(get_state()) and build your own "data source explorer"
10 replies
Mmarimo
Created by svolt863 on 10/28/2024 in #help-support
pytest - best practices
@svolt863 we had a user use docstrings for testing - you can check out this half-example notebook: https://github.com/marimo-team/marimo/blob/9a2dee666e157677e2b768064628c3d3c18bd854/marimo/_smoke_tests/doctests.py#L58
5 replies