datapane / datapane

Build and share data reports in 100% Python

Home Page:https://datapane.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change cell limit for Table

julian-belina opened this issue · comments

Hello,

is it possible to change the cell limit of the Table object? I understand that DataTable does not have a cell constraint but the layout of the Table object fits my needs better. I am using datapane 0.15.4.

Hi @julian-belina what kind of cell limit do you need? Are you looking for a cell limit like "m rows x n columns"?

Yes exactly. When I try to display a large dataframe using the table object, I get an error message saying that the cell number is limited to 100 cells. I would like to increase this number even if it takes longer to create the report.

Got it. Let me discuss this with the team and get back to you.

@julian-belina unfortunately, we do not have a way to bypass that 100-cell limit for dp.Table right now. I understand that you prefer the layout of dp.Table. Can we make dp.DataTable better so you can consider using dp.DataTable instead?

A feature to (automatically) increase the row height so that the whole content of each cell could be seen without scrolling sidewards would be neat. This would increase the readability of the table when inspecting the rows sequentially.

Hello @julian-belina!

We'll be upping the limit on dp.Table in an upcoming release - so we won't have to deal with the 100 cell limit for much longer. I'll leave this issue open with the release-pending tag for yourself and others to track until it's released.

A feature to (automatically) increase the row height so that the whole content of each cell could be seen without scrolling sidewards would be neat. This would increase the readability of the table when inspecting the rows sequentially.

The feature sounds interesting! Please post it over on our feature request board where you can track it and others can pitch in too 🚀

@julian-belina thanks for the feedback. As @shahinrostami said, please use our feature request board and make a suggestion. Out of interest, how many cells are you planning to show (200, 500, 1000, a lot more?)

I am using the table to display a debug log. Potentially there could be a lot of rows. In my test cases there are currently approximately 5000 cells. Having the filter features from the DataTable would great as well but the readability is the most important feature in the moment. I have created a post on the feature board.

Thanks for telling us about your debug log use-case. This is a great example. We will continue to look into this.

The cell limit has been removed @julian-belina , it's available in 0.15.5!