cudf.read_feather#
- cudf.read_feather(path, *args, **kwargs)[source]#
Load an feather object from the file path, returning a DataFrame.
- Parameters:
- pathstring
File path
- columnslist, default=None
If not None, only these columns will be read from the file.
- Returns:
- DataFrame
See also
Examples
>>> import cudf >>> import warnings >>> df = cudf.DataFrame({'a': [1, 2, 3], 'b': ['x', 'y', 'z']}) >>> with warnings.catch_warnings(): ... warnings.simplefilter("ignore", UserWarning) ... df.to_feather('test.feather') >>> with warnings.catch_warnings(): ... warnings.simplefilter("ignore", UserWarning) ... result = cudf.read_feather('test.feather') >>> result a b 0 1 x 1 2 y 2 3 z