From d75df82a141c6f26b565106be73837a0b1c9a1b3 Mon Sep 17 00:00:00 2001 From: Matthew Murray Date: Sat, 21 Sep 2024 06:55:29 -0700 Subject: [PATCH] fix declaration, revert name change --- python/pylibcudf/pylibcudf/expressions.pyx | 4 ++-- python/pylibcudf/pylibcudf/filling.pxd | 2 +- python/pylibcudf/pylibcudf/filling.pyx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/pylibcudf/pylibcudf/expressions.pyx b/python/pylibcudf/pylibcudf/expressions.pyx index caf57128c86..a44c9e25987 100644 --- a/python/pylibcudf/pylibcudf/expressions.pyx +++ b/python/pylibcudf/pylibcudf/expressions.pyx @@ -198,8 +198,8 @@ cdef class ColumnNameReference(Expression): Name of this column in the table metadata (provided when the expression is evaluated). """ - def __cinit__(self, str colmun_name): + def __cinit__(self, str name): self.c_obj = \ move(make_unique[libcudf_exp.column_name_reference]( - (column_name.encode("utf-8")) + (name.encode("utf-8")) )) diff --git a/python/pylibcudf/pylibcudf/filling.pxd b/python/pylibcudf/pylibcudf/filling.pxd index b9345f8cd42..301b652b6ac 100644 --- a/python/pylibcudf/pylibcudf/filling.pxd +++ b/python/pylibcudf/pylibcudf/filling.pxd @@ -24,7 +24,7 @@ cpdef void fill_in_place( ) cpdef Column sequence( - size_type size, + int size, Scalar init, Scalar step, ) diff --git a/python/pylibcudf/pylibcudf/filling.pyx b/python/pylibcudf/pylibcudf/filling.pyx index b4623ee90a1..61b430e64aa 100644 --- a/python/pylibcudf/pylibcudf/filling.pyx +++ b/python/pylibcudf/pylibcudf/filling.pyx @@ -89,7 +89,7 @@ cpdef void fill_in_place( dereference(value.c_obj) ) -cpdef Column sequence(int size, Scalar init, Scalar step): +cpdef Column sequence(size_type size, Scalar init, Scalar step): """Create a sequence column of size ``size`` with initial value ``init`` and step ``step``.