I want to convert the '.csv' files to the '.hyper' file using python. so I found pantab. but when I run it, I’ve got a unicode error message.
example
import pandas as pd
import pantab
df = pd.DataFrame([
["dog", 4],
["cat", 4],
], columns=["animal", "num_of_legs"])
pantab.frame_to_hyper(df, "example.hyper", table="animals")
error code
File "C:\python\lib\site-packages\tableauhyperapi\impl\dllutil.py", line 27, in char_p_to_string
return ffi.string(p).decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb4 in position 0: invalid start byte.
Could you please explain me how to fix this?