Skip to content

Commit

Permalink
Remove skiprows and num_rows from read_orc.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Dec 1, 2022
1 parent 93b8444 commit 5f03c2f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
12 changes: 0 additions & 12 deletions python/cudf/cudf/io/orc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
6 changes: 0 additions & 6 deletions python/cudf/cudf/utils/ioutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f03c2f

Please sign in to comment.