From 5f03c2f753d060b8b27b33e459cec7848cce76d2 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Thu, 1 Dec 2022 11:14:49 -0800 Subject: [PATCH] Remove skiprows and num_rows from read_orc. --- python/cudf/cudf/io/orc.py | 12 ------------ python/cudf/cudf/utils/ioutils.py | 6 ------ 2 files changed, 18 deletions(-) diff --git a/python/cudf/cudf/io/orc.py b/python/cudf/cudf/io/orc.py index 8865bdd9d33..3502f536bdd 100644 --- a/python/cudf/cudf/io/orc.py +++ b/python/cudf/cudf/io/orc.py @@ -295,18 +295,6 @@ def read_orc( """{docstring}""" from cudf import DataFrame - if skiprows is not None: - warnings.warn( - "skiprows is deprecated and will be removed.", - FutureWarning, - ) - - if num_rows is not None: - warnings.warn( - "num_rows is deprecated and will be removed.", - FutureWarning, - ) - # Multiple sources are passed as a list. If a single source is passed, # wrap it in a list for unified processing downstream. if not is_list_like(filepath_or_buffer): diff --git a/python/cudf/cudf/utils/ioutils.py b/python/cudf/cudf/utils/ioutils.py index 004d40bf999..c58088b425a 100644 --- a/python/cudf/cudf/utils/ioutils.py +++ b/python/cudf/cudf/utils/ioutils.py @@ -423,12 +423,6 @@ stripes: list, default None If not None, only these stripe will be read from the file. Stripes are concatenated with index ignored. -skiprows : int, default None - If not None, the number of rows to skip from the start of the file. - This parameter is deprecated. -num_rows : int, default None - If not None, the total number of rows to read. - This parameter is deprecated. use_index : bool, default True If True, use row index if available for faster seeking. use_python_file_object : boolean, default True