(11
(Choose 1 answer)
A. pd.read_csv("temp.csv", encoding='utf-8')
B. pd.write_csv("temp.csv", encoding='utf-8')
C. pd.read_csv("temp.csv", dialect='str')
Suppose you are trying to read a file "temp.csv" using pandas and you get the following error Traceback (most recent call last):File "<input>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character.Which of the following would likely correct this error?
Note: pandas has been imported as pd
D. pd.read_csv("temp.csv", compression='gzip')
FUO cute Stam