Skip to content

Commit

Permalink
pass kwargs in cudf_read_csv
Browse files Browse the repository at this point in the history
  • Loading branch information
hekaisheng committed Dec 12, 2019
1 parent 61d9bfd commit a0372be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mars/dataframe/datasource/read_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,9 @@ def _pandas_read_csv(cls, f, op):

@classmethod
def _cudf_read_csv(cls, op):
csv_kwargs = op.extra_params
df = cudf.read_csv(op.path, byte_range=(op.offset, op.size), sep=op.sep, names=op.names,
dtype=cls._validate_dtypes(op.outputs[0].dtypes, op.gpu))
dtype=cls._validate_dtypes(op.outputs[0].dtypes, op.gpu), **csv_kwargs)
return df

@classmethod
Expand Down

0 comments on commit a0372be

Please sign in to comment.