Jinho Chung
10/17/2021, 11:17 PMpd.read_sql()
and so the text is then stored in a column in the pandas dataframe. I then decode the strings and use striprtf
to convert to plain text. I have never had a problem performing this step in Jupyter notebooks or on multiple machines, but when I run this in Prefect, for a portion of the text I get a UnicodeDecodeError
despite using text.decode(encoding='latin-1', errors='replace')
. I've tried using chardet
but have had no luck. Thanks in advance for the help.Jinho Chung
10/18/2021, 1:28 AMstriprtf
) and not with Prefect!