Skip to content
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 column/row deletion in gr.DataFrame #10420

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Support column/row deletion in gr.DataFrame #10420

wants to merge 11 commits into from

Conversation

abidlabs
Copy link
Member

@abidlabs abidlabs commented Jan 23, 2025

Closes: #631, our oldest open issue! Test with any interactive dataframe demo like demo/matrix_transpose/run.py

@abidlabs abidlabs marked this pull request as draft January 23, 2025 18:50
@abidlabs abidlabs added the v: patch A change that requires a patch release label Jan 23, 2025
@gradio-pr-bot
Copy link
Collaborator

gradio-pr-bot commented Jan 23, 2025

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview
Website building...
Storybook ready! Storybook preview
🦄 Changes detected! Details

Install Gradio from this PR

pip install https://gradio-pypi-previews.s3.amazonaws.com/36412ecc09f1a0897c484665cc46e25633a24af8/gradio-5.13.1-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@36412ecc09f1a0897c484665cc46e25633a24af8#subdirectory=client/python"

Install Gradio JS Client from this PR

npm install https://gradio-npm-previews.s3.amazonaws.com/36412ecc09f1a0897c484665cc46e25633a24af8/gradio-client-1.10.0.tgz

Use Lite from this PR

<script type="module" src="https://gradio-lite-previews.s3.amazonaws.com/36412ecc09f1a0897c484665cc46e25633a24af8/dist/lite.js""></script>

@gradio-pr-bot
Copy link
Collaborator

gradio-pr-bot commented Jan 23, 2025

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
@gradio/core patch
@gradio/dataframe patch
gradio patch
  • Maintainers can select this checkbox to manually select packages to update.

With the following changelog entry.

Support column/row deletion in gr.DataFrame

Maintainers or the PR author can modify the PR title to modify this entry.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@@ -0,0 +1,113 @@
<script lang="ts">
Copy link
Member Author

@abidlabs abidlabs Jan 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clearer icons

@@ -16,6 +16,7 @@ def transpose(matrix):
[np.random.randint(0, 10, (10, 3)).tolist()],
[np.random.randint(0, 10, (10, 10)).tolist()],
],
live=True,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small change that makes this demo easier to use for testing

@abidlabs abidlabs marked this pull request as ready for review January 24, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v: patch A change that requires a patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support deleting rows and columns from the dataframe
2 participants