How to set the max columns to more than 20? #23
|
Hi!, I'm using the latest version of sketch and when I tried to process a dataset with more than 20 columns, I got an error - ValueError: Too many columns (57), max is 20 in current version (set SKETCH_MAX_COLUMNS to override) Where can I set this SKETCH_MAX_COLUMNS parameter please? But it is not working. Any help is greatly appreciated. Thanks much! |
Answered by
bluecoconut
May 19, 2023
Replies: 1 comment 1 reply
|
Hi @nvamsimohan , what you did should work. It might be the case you have to pass it as a string? eg. This is used by sketch/sketch/pandas_extension.py Line 147 in 8934845 |
1 reply
Answer selected by
bluecoconut
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nvamsimohan , what you did should work.
It might be the case you have to pass it as a string? eg.
os.environ['SKETCH_MAX_COLUMNS'] = '32'This is used by
sketch/sketch/pandas_extension.py
Line 147 in 8934845