Skip to content

Commit

Permalink
cpdef read_csv
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt711 committed Nov 25, 2024
1 parent 739e61f commit 187a43f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion python/pylibcudf/pylibcudf/io/csv.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ from pylibcudf.libcudf.io.csv cimport (
csv_reader_options,
csv_reader_options_builder,
)
from pylibcudf.io.types cimport SinkInfo, SourceInfo
from pylibcudf.io.types cimport SinkInfo, SourceInfo, TableWithMetadata
from pylibcudf.table cimport Table

from pylibcudf.libcudf.io.types cimport (
Expand Down Expand Up @@ -61,6 +61,8 @@ cdef class CsvReaderOptionsBuilder:
cpdef CsvReaderOptionsBuilder dayfirst(self, bool dayfirst)
cpdef CsvReaderOptions build(self)

cpdef TableWithMetadata read_csv(CsvReaderOptions options)

cdef class CsvWriterOptions:
cdef csv_writer_options c_obj
cdef Table table
Expand Down
2 changes: 1 addition & 1 deletion python/pylibcudf/pylibcudf/io/csv.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ cdef class CsvReaderOptionsBuilder:
return csv_options


def read_csv(
cpdef TableWithMetadata read_csv(
CsvReaderOptions options
):
"""
Expand Down

0 comments on commit 187a43f

Please sign in to comment.