Skip to content

Conversation

@albertvillanova
Copy link
Member

@albertvillanova albertvillanova commented Sep 25, 2024

Support JSON lines with missing columns.

Fix #7169.

The implemented test raised:

datasets.table.CastError: Couldn't cast age: int64 to {'age': Value(dtype='int32', id=None), 'name': Value(dtype='string', id=None)} because column names don't match 

Related to:

@HuggingFaceDocBuilderDev

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.

@albertvillanova albertvillanova changed the title Support JSON lines with missing column Support JSON lines with missing columns Sep 25, 2024
@albertvillanova albertvillanova merged commit e450bd3 into main Sep 26, 2024
@albertvillanova albertvillanova deleted the fix-7169 branch September 26, 2024 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants