Skip to content
Discussion options

You must be logged in to vote

Hi! The length of the new columns (1) doesn't match the length of the existing ones (1000; in the batched mode), so you should either drop the existing column names as follows:

vocabs=urdata.map(extract_all_chars,batched=True, remove_columns=urdata.column_names)

Or expand the vocab and all_text columns to match their size (1000).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by talhaanwarch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants