-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support deleting rows and columns from the dataframe #631
Comments
Quick followup (seems to small to create a separate issue): do we actually want to display "null" when the dataframe is instantiated? Just leave the cells blank would look cleaner |
I'm not entirely sure where the null is coming from, I'm assuming that data is being provided exactly like that from the backend, which is why it is displayed. The frontend does not insert nulls unless they are already there. I can convert any fasley value that isn't a number to an empty string if we think that makes the most sense.. |
Looks like it originates here: Lines 1421 to 1424 in 21e0bd1
Python's I think a better way would be to just have the default in the Python be the empty string? Cc @aliabid94 for his thoughts |
Assigning this to you @pngwn as it seems you are already working on it, feel free to drop it. |
We've decided we'll leave this for post 3.0 |
+1 I'd love to see this happen sometime soon. |
👍 on this feature - not sure if there's a way to work around? I potentially thought about adding a GR button but unsure of how Gradio can handle state changes like this. |
it is very useful to add delete row/column button .Hopefully. |
+1 looking forward to this feature |
+1 |
2 similar comments
+1 |
+1 |
+1 I have a strong need for this right now |
Would be cool to support this. I use a DataFrame to let users define dataset fields and types to generate in my dataset rewriter app, and being able to remove rows would be nice (also the ability to name the axis and make the name appear on the buttons would be a cool bonus) |
Could you elaborate on the last part @lhoestq? |
My last part is unrelated to the OP issue, I created #9394 instead Still, very interested in the ability to delete rows/columns :) |
+1 |
1 similar comment
+1 |
Is your feature request related to a problem? Please describe.
I would like to be able to delete rows and/or columns when suing the dataframe component.
Follow on from #588.
The text was updated successfully, but these errors were encountered: