pygwalker
pygwalker copied to clipboard
Tab character (\t) in Dataframe causes JSON.parse error
Thanks for creating pygwalker, just starting playing with it, it looks great!
When trying the following snippet:
import pandas as pd
import pygwalker as pyg
df = pd.DataFrame([{"a":"\tb"}])
gwalker = pyg.walk(df)
I get this error:
Javascript error adding output!
SyntaxError: JSON.parse: bad control character in string literal at line 1 column 24 of the JSON data
See your browser Javascript console for more details.
It seems to have been fixed in #31 and pre-released in 0.1.4-alpha2
.
Could you please have a try with pip install "pygwalker>=0.1.4-alpha2"
and leave some feedback?
BTW: Welcome to join our discord to keep track of the latest progress.
Could you please have a try with pip install "pygwalker>=0.1.4-alpha2" and leave some feedback?
Yup, that fixed it!