Skip to content

Fix docstring example for select_columns in IterableDatasetDict#8290

Open
albertvillanova wants to merge 1 commit into
huggingface:mainfrom
albertvillanova:fix-docs-select_columns
Open

Fix docstring example for select_columns in IterableDatasetDict#8290
albertvillanova wants to merge 1 commit into
huggingface:mainfrom
albertvillanova:fix-docs-select_columns

Conversation

@albertvillanova

Copy link
Copy Markdown
Member

Fix docstring example for select_columns in IterableDatasetDict.

This PR updates the usage example for selecting columns in a streaming dataset. The example now correctly uses the select_columns method instead of the outdated select method.

Changes

  • Documentation update:
    • Updated the example in the docstring of select_columns in dataset_dict.py to use select_columns("text") instead of the deprecated select("text").

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants