Comments (4)
@noeleont, thanks for reporting!
The code for how dataframes are formatted is here: https://github.com/marimo-team/marimo/blob/main/marimo/_output/formatters/pandas_formatters.py#L21-L27
You'll see we just call df.to_html()
.
I like your suggestion to truncate or show the head/tail only for sufficiently large dataframes. If you'd like you're more than welcome to make a PR, otherwise I'm happy to do it!
from marimo.
@akshayka, thanks for your fast response :)
from marimo.
@akshayka, thanks for your fast response :)
No problem! Really appreciate the bug report.
PR #341 implements showing just the first and last few rows of dataframes, similar to what Jupyter does. Will release it later today (unless you have any objections)!
from marimo.
@noeleont, v0.1.49
was just released including the fix. Feel free to re-open if you still have an issue!
from marimo.
Related Issues (20)
- Make `marimo` more like `Jupyter Lab` HOT 4
- Slider values get reset after changing another one
- Return to "home" from an open notebook HOT 2
- Slides Configuration: Show Code
- GUI Event Loop integration
- list repr should use columns HOT 1
- define __file__ HOT 5
- tutorial says "bottom-left" when it should say "bottom-right"
- New dataframe transform: explode a column HOT 2
- New dataframe transform: expanddict HOT 6
- Optimization of the update check action at startup HOT 4
- Possible incompatibility when using marimo_csv transformer with altair 5.4.0 HOT 2
- mo.ui.table()'s column summaries are not updated after changing search/filter criteria HOT 1
- Track database objects in dataflow graph HOT 4
- .marimo.toml frequently reset HOT 2
- Render URLs in tables as hyperlinks HOT 3
- mo.ui.dataframe transformations not applied when dataframe is modified HOT 1
- Add Cell button unclickable on tiling window HOT 1
- ANSI support in stderr HOT 1
- App configuration: show code HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marimo.