xorbits icon indicating copy to clipboard operation
xorbits copied to clipboard

ENH: Support encoding in pd.read_csv

Open huboqiang opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe

encoding="GBK" not work in xorbits.pandas pd.read_csv(), but worked for pandas

Describe the solution you'd like

add **kwargs in https://github.com/xprobe-inc/xorbits/blob/039503be8f51bdf4977a0af4e7a1a8de346ee152/python/xorbits/_mars/dataframe/datasource/read_csv.py#L721 can fix this problem

Describe alternatives you've considered

it is because that **kwargs were not transfered to pandas.

Additional context

I tried to add it and it works.

huboqiang avatar May 10 '23 02:05 huboqiang