=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for py310-pandas-1.5.3 (cd /tmp/math/py-pandas/work/pandas-1.5.3/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= NPY_BLAS_LIBS=-lblas NPY_LAPACK_LIBS=-llapack\ -lblas NPY_CBLAS_LIBS=-lcblas\ -lblas PYTHON=/usr/pkg/bin/python3.10 CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.10\ -I/usr/pkg/include CPPFLAGS=-I/usr/pkg/include/netlib\ -I/usr/include\ -I/usr/pkg/include/python3.10\ -I/usr/pkg/include CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.10\ -I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.5.0\ -Wl,-R/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.5.0\ -Wl,-zrelro\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/math/py-pandas/work/.cwrapper/bin:/tmp/math/py-pandas/work/.buildlink/bin:/tmp/math/py-pandas/work/.gcc/bin:/tmp/math/py-pandas/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/math/py-pandas/work/.home CWRAPPERS_CONFIG_DIR=/tmp/math/py-pandas/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/math/py-pandas/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/math/py-pandas/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/math/py-pandas/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/math/py-pandas/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/math/py-pandas/work/.buildlink/lib/pkgconfig:/tmp/math/py-pandas/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/math/py-pandas/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/math/py-pandas/work/.cwrapper/config /usr/pkg/bin/python3.10 setup.py build -j4) Compiling pandas/_libs/algos.pyx because it changed. Compiling pandas/_libs/arrays.pyx because it changed. Compiling pandas/_libs/groupby.pyx because it changed. Compiling pandas/_libs/hashing.pyx because it changed. Compiling pandas/_libs/hashtable.pyx because it changed. Compiling pandas/_libs/index.pyx because it changed. Compiling pandas/_libs/indexing.pyx because it changed. Compiling pandas/_libs/internals.pyx because it changed. Compiling pandas/_libs/interval.pyx because it changed. Compiling pandas/_libs/join.pyx because it changed. Compiling pandas/_libs/lib.pyx because it changed. Compiling pandas/_libs/missing.pyx because it changed. Compiling pandas/_libs/parsers.pyx because it changed. Compiling pandas/_libs/reduction.pyx because it changed. Compiling pandas/_libs/ops.pyx because it changed. Compiling pandas/_libs/ops_dispatch.pyx because it changed. Compiling pandas/_libs/properties.pyx because it changed. Compiling pandas/_libs/reshape.pyx because it changed. Compiling pandas/_libs/sparse.pyx because it changed. Compiling pandas/_libs/tslib.pyx because it changed. Compiling pandas/_libs/tslibs/base.pyx because it changed. Compiling pandas/_libs/tslibs/ccalendar.pyx because it changed. Compiling pandas/_libs/tslibs/dtypes.pyx because it changed. Compiling pandas/_libs/tslibs/conversion.pyx because it changed. Compiling pandas/_libs/tslibs/fields.pyx because it changed. Compiling pandas/_libs/tslibs/nattype.pyx because it changed. Compiling pandas/_libs/tslibs/np_datetime.pyx because it changed. Compiling pandas/_libs/tslibs/offsets.pyx because it changed. Compiling pandas/_libs/tslibs/parsing.pyx because it changed. Compiling pandas/_libs/tslibs/period.pyx because it changed. Compiling pandas/_libs/tslibs/strptime.pyx because it changed. Compiling pandas/_libs/tslibs/timedeltas.pyx because it changed. Compiling pandas/_libs/tslibs/timestamps.pyx because it changed. Compiling pandas/_libs/tslibs/timezones.pyx because it changed. Compiling pandas/_libs/tslibs/tzconversion.pyx because it changed. Compiling pandas/_libs/tslibs/vectorized.pyx because it changed. Compiling pandas/_libs/testing.pyx because it changed. Compiling pandas/_libs/window/aggregations.pyx because it changed. Compiling pandas/_libs/window/indexers.pyx because it changed. Compiling pandas/_libs/writers.pyx because it changed. Compiling pandas/io/sas/sas.pyx because it changed. Error compiling Cython file: ------------------------------------------------------------ ... from operator import ( le, lt, ) from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:8:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from operator import ( le, lt, ) from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:8:0: 'cpython/datetime/PyDelta_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from operator import ( le, lt, ) from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:8:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) import_datetime() cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:16:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) import_datetime() cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:16:0: 'cpython/object/Py_EQ.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) import_datetime() cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:16:0: 'cpython/object/Py_GE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) import_datetime() cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:16:0: 'cpython/object/Py_GT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) import_datetime() cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:16:0: 'cpython/object/Py_LE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) import_datetime() cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:16:0: 'cpython/object/Py_LT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) import_datetime() cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:16:0: 'cpython/object/Py_NE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) import_datetime() cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:16:0: 'cpython/object/PyObject_RichCompare.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:29:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:30:0: 'numpy/NPY_QUICKSORT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:30:0: 'numpy/PyArray_ArgSort.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:30:0: 'numpy/PyArray_Take.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:30:0: 'numpy/float32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:30:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:30:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:30:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:30:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:30:0: 'numpy/uint64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from libc.stdint cimport ( ^ ------------------------------------------------------------ pandas/_libs/util.pxd:2:0: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 124, in analyse_declarations: ModuleNode(util.pxd:1:0, full_module_name = 'pandas._libs.util', is_pxd = True) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:1:0) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:2:0) File 'Nodes.py', line 7994, in analyse_declarations: FromCImportStatNode(util.pxd:2:0, imported_names = [...]/12, module_name = 'libc.stdint') Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 7994, in analyse_declarations File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1273, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 232, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 146, in process_pxd File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 43, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 365, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Includes/libc/stdint.pxd Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:1:0: 'numpy/intp_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:1:0: 'cpython/object/PyObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/complex64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/complex128_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/int8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/int16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/uint16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/uint32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": const int KHASH_TRACE_DOMAIN ctypedef uint32_t khuint_t ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:21:13: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_khcomplex64_t \ "kh_complex_hash_equal" (khcomplex64_t a, khcomplex64_t b) nogil bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:39:32: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_khcomplex64_t \ "kh_complex_hash_equal" (khcomplex64_t a, khcomplex64_t b) nogil bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:39:45: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil bint are_equivalent_float32_t \ "kh_floats_hash_equal" (float32_t a, float32_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:42:32: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil bint are_equivalent_float32_t \ "kh_floats_hash_equal" (float32_t a, float32_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:42:45: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... "kh_floats_hash_equal" (float64_t a, float64_t b) nogil bint are_equivalent_float32_t \ "kh_floats_hash_equal" (float32_t a, float32_t b) nogil uint32_t kh_python_hash_func(object key) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:44:4: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint32_t kh_python_hash_func(object key) bint kh_python_hash_equal(object a, object b) ctypedef struct kh_pymap_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:49:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_python_hash_equal(object a, object b) ctypedef struct kh_pymap_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags PyObject **keys ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:50:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... size_t *vals kh_pymap_t* kh_init_pymap() void kh_destroy_pymap(kh_pymap_t*) void kh_clear_pymap(kh_pymap_t*) khuint_t kh_get_pymap(kh_pymap_t*, PyObject*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:56:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... kh_pymap_t* kh_init_pymap() void kh_destroy_pymap(kh_pymap_t*) void kh_clear_pymap(kh_pymap_t*) khuint_t kh_get_pymap(kh_pymap_t*, PyObject*) void kh_resize_pymap(kh_pymap_t*, khuint_t) khuint_t kh_put_pymap(kh_pymap_t*, PyObject*, int*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:58:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_pymap(kh_pymap_t*, khiter_t) ctypedef struct kh_pyset_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:65:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_pymap(kh_pymap_t*, khiter_t) ctypedef struct kh_pyset_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags PyObject **keys ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:66:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... size_t *vals kh_pyset_t* kh_init_pyset() void kh_destroy_pyset(kh_pyset_t*) void kh_clear_pyset(kh_pyset_t*) khuint_t kh_get_pyset(kh_pyset_t*, PyObject*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:72:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... kh_pyset_t* kh_init_pyset() void kh_destroy_pyset(kh_pyset_t*) void kh_clear_pyset(kh_pyset_t*) khuint_t kh_get_pyset(kh_pyset_t*, PyObject*) void kh_resize_pyset(kh_pyset_t*, khuint_t) khuint_t kh_put_pyset(kh_pyset_t*, PyObject*, int*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:74:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef char* kh_cstr_t ctypedef struct kh_str_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:83:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # sweep factorize ctypedef struct kh_strbox_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:112:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef struct kh_strbox_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags kh_cstr_t *keys PyObject **vals ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:114:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef extern from "khash_python.h": ctypedef struct kh_int64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:10:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int64_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int64(kh_int64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:27:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint64_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:28:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint64(kh_uint64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_float64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:44:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_float64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags float64_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:45:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_float64(kh_float64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_int32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:61:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int32_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:62:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int32(kh_int32_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:78:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint32_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:79:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint32(kh_uint32_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_float32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:95:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_float32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags float32_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:96:8: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_float32(kh_float32_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_int16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:112:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int16_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:113:8: 'int16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int16(kh_int16_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:129:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint16_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:130:8: 'uint16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint16(kh_uint16_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_int8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:146:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int8_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:147:8: 'int8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int8(kh_int8_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:163:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint8_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:164:8: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint8(kh_uint8_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_complex64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:180:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_complex64(kh_complex64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_complex128_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:197:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pass cdef class UInt64HashTable(HashTable): cdef kh_uint64_t *table cpdef get_item(self, uint64_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:45:25: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class UInt64HashTable(HashTable): cdef kh_uint64_t *table cpdef get_item(self, uint64_t val) cpdef set_item(self, uint64_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:46:25: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, uint64_t key, Py_ssize_t val) cdef class Int64HashTable(HashTable): cdef kh_int64_t *table cpdef get_item(self, int64_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:51:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Int64HashTable(HashTable): cdef kh_int64_t *table cpdef get_item(self, int64_t val) cpdef set_item(self, int64_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:52:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, int64_t key, Py_ssize_t val) cdef class UInt32HashTable(HashTable): cdef kh_uint32_t *table cpdef get_item(self, uint32_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:57:25: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class UInt32HashTable(HashTable): cdef kh_uint32_t *table cpdef get_item(self, uint32_t val) cpdef set_item(self, uint32_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:58:25: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, uint32_t key, Py_ssize_t val) cdef class Int32HashTable(HashTable): cdef kh_int32_t *table cpdef get_item(self, int32_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:63:25: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Int32HashTable(HashTable): cdef kh_int32_t *table cpdef get_item(self, int32_t val) cpdef set_item(self, int32_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:64:25: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, int32_t key, Py_ssize_t val) cdef class UInt16HashTable(HashTable): cdef kh_uint16_t *table cpdef get_item(self, uint16_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:69:25: 'uint16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class UInt16HashTable(HashTable): cdef kh_uint16_t *table cpdef get_item(self, uint16_t val) cpdef set_item(self, uint16_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:70:25: 'uint16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, uint16_t key, Py_ssize_t val) cdef class Int16HashTable(HashTable): cdef kh_int16_t *table cpdef get_item(self, int16_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:75:25: 'int16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Int16HashTable(HashTable): cdef kh_int16_t *table cpdef get_item(self, int16_t val) cpdef set_item(self, int16_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:76:25: 'int16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, int16_t key, Py_ssize_t val) cdef class UInt8HashTable(HashTable): cdef kh_uint8_t *table cpdef get_item(self, uint8_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:81:25: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class UInt8HashTable(HashTable): cdef kh_uint8_t *table cpdef get_item(self, uint8_t val) cpdef set_item(self, uint8_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:82:25: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, uint8_t key, Py_ssize_t val) cdef class Int8HashTable(HashTable): cdef kh_int8_t *table cpdef get_item(self, int8_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:87:25: 'int8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Int8HashTable(HashTable): cdef kh_int8_t *table cpdef get_item(self, int8_t val) cpdef set_item(self, int8_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:88:25: 'int8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, int8_t key, Py_ssize_t val) cdef class Float64HashTable(HashTable): cdef kh_float64_t *table cpdef get_item(self, float64_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:93:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Float64HashTable(HashTable): cdef kh_float64_t *table cpdef get_item(self, float64_t val) cpdef set_item(self, float64_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:94:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, float64_t key, Py_ssize_t val) cdef class Float32HashTable(HashTable): cdef kh_float32_t *table cpdef get_item(self, float32_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:99:25: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Float32HashTable(HashTable): cdef kh_float32_t *table cpdef get_item(self, float32_t val) cpdef set_item(self, float32_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:100:25: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, float32_t key, Py_ssize_t val) cdef class Complex64HashTable(HashTable): cdef kh_complex64_t *table cpdef get_item(self, complex64_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:105:25: 'complex64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Complex64HashTable(HashTable): cdef kh_complex64_t *table cpdef get_item(self, complex64_t val) cpdef set_item(self, complex64_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:106:25: 'complex64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, complex64_t key, Py_ssize_t val) cdef class Complex128HashTable(HashTable): cdef kh_complex128_t *table cpdef get_item(self, complex128_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:111:25: 'complex128_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Complex128HashTable(HashTable): cdef kh_complex128_t *table cpdef get_item(self, complex128_t val) cpdef set_item(self, complex128_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:112:25: 'complex128_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef get_item(self, str val) cpdef set_item(self, str key, Py_ssize_t val) cdef struct Int64VectorData: int64_t *data ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:128:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Vector: cdef bint external_view_exists cdef class Int64Vector(Vector): cdef Int64VectorData *data cdef ndarray ao ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:136:9: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Int64Vector(Vector): cdef Int64VectorData *data cdef ndarray ao cdef resize(self) cpdef ndarray to_array(self) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:139:10: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef Int64VectorData *data cdef ndarray ao cdef resize(self) cpdef ndarray to_array(self) cdef inline void append(self, int64_t x) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:140:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef ndarray ao cdef resize(self) cpdef ndarray to_array(self) cdef inline void append(self, int64_t x) cdef extend(self, int64_t[:] x) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:141:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:1:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from .np_datetime cimport NPY_DATETIMEUNIT # Exposed for tslib, not intended for outside use. cpdef int64_t delta_to_nanoseconds( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:8:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef convert_to_timedelta64(object ts, str unit) cdef bint is_any_td_scalar(object obj) cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:16:22: First base of '_Timedelta' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:20: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:24: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:32: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:37: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:42: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns NPY_DATETIMEUNIT _reso cpdef timedelta to_pytimedelta(_Timedelta self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:23:10: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:1:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime cdef class ABCTimestamp(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pxd:4:24: First base of 'ABCTimestamp' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct, ) from pandas._libs.tslibs.offsets cimport BaseOffset cdef _Timestamp create_timestamp_from_ts(int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:15:41: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.offsets cimport BaseOffset cdef _Timestamp create_timestamp_from_ts(int64_t value, npy_datetimestruct dts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:17:41: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:23: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:35: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... BaseOffset _freq NPY_DATETIMEUNIT _reso cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:31:9: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT _reso cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:32:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) cpdef to_datetime64(self) cpdef datetime to_pydatetime(_Timestamp self, bint warn=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:34:10: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) cpdef to_datetime64(self) cpdef datetime to_pydatetime(_Timestamp self, bint warn=*) cdef bint _compare_outside_nanorange(_Timestamp self, datetime other, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:35:58: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... timedelta, tzinfo, ) cdef tzinfo utc_pytz ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:8:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:10:18: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:11:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:12:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:14:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:36: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:17:26: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:18:6: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:5: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:29: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:40: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:21:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) cdef object get_dst_info(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:23:25: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object/PyTypeObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyBool_Check(object obj) nogil bint PyFloat_Check(object obj) nogil bint PyComplex_Check(object obj) nogil bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:20:40: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ) cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:36:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:39:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:40:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:41:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type PyTypeObject PyBoolArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:42:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint PyArray_IsIntegerScalar(obj) nogil bint PyArray_Check(obj) nogil cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:48:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 cdef inline int64_t get_nat(): ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:51:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_nan : bool """ cdef float64_t fval ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:190:9: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return op1(self.left, other.right) and op2(other.left, self.right) @cython.wraparound(False) @cython.boundscheck(False) def intervals_to_interval_bounds(ndarray intervals, bint validate_closed=True): ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:538:33: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ from pandas._libs.algos import is_monotonic ctypedef fused int_scalar_t: int64_t ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:10:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.algos import is_monotonic ctypedef fused int_scalar_t: int64_t float64_t ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:11:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.algos import is_monotonic ctypedef fused int_scalar_t: int64_t float64_t ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:11:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... ctypedef fused int_scalar_t: int64_t float64_t ctypedef fused uint_scalar_t: uint64_t ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:14:4: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t float64_t ctypedef fused uint_scalar_t: uint64_t float64_t ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:15:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t float64_t ctypedef fused uint_scalar_t: uint64_t float64_t ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:15:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... https://en.wikipedia.org/wiki/Interval_tree we are emulating the IndexEngine interface """ cdef readonly: ndarray left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:34:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... https://en.wikipedia.org/wiki/Interval_tree we are emulating the IndexEngine interface """ cdef readonly: ndarray left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:34:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... https://en.wikipedia.org/wiki/Interval_tree we are emulating the IndexEngine interface """ cdef readonly: ndarray left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:34:22: C attribute of type '' cannot be accessed from Python /usr/pkg/lib/python3.10/site-packages/Cython/Utility/CMath.c Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1218, in cythonize_one File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 731, in compile_single File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 515, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 52, in generate_pyx_code_stage File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ModuleNode.py", line 143, in process_implementation File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ModuleNode.py", line 385, in generate_c_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 389, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 1986, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 1748, in generate_function_body File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 448, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 448, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 5159, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 5870, in generate_evaluation_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 767, in generate_evaluation_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 782, in generate_subexpr_evaluation_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 11581, in generate_evaluation_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 416, in load_cached File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 371, in load File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 295, in load_utilities_from_file File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Utility/CMath.c Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/hashtable.pyx Error compiling Cython file: ------------------------------------------------------------ ... # compat with IndexEngine interface def clear_mapping(self) -> None: pass cdef take(ndarray source, ndarray indices): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:193:10: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # compat with IndexEngine interface def clear_mapping(self) -> None: pass cdef take(ndarray source, ndarray indices): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:193:26: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- @cython.internal cdef class IntervalNode: cdef readonly: int64_t n_elements, n_center, leaf_size ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:215:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- @cython.internal cdef class IntervalNode: cdef readonly: int64_t n_elements, n_center, leaf_size ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:215:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- @cython.internal cdef class IntervalNode: cdef readonly: int64_t n_elements, n_center, leaf_size ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:215:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- @cython.internal cdef class IntervalNode: cdef readonly: int64_t n_elements, n_center, leaf_size ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:215:38: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:262:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:262:21: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:262:41: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:262:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:262:68: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:263:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:263:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:263:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:263:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:264:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:264:18: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:264:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:265:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Float64ClosedLeftIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:265:18: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:268:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t min_left, max_right float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:269:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:270:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:271:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, float64_t[:] left, float64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:320:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, float64_t[:] left, float64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:320:53: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:345:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:346:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:347:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:348:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:414:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:414:21: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:414:41: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:414:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:414:68: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:415:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:415:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:415:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:415:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:416:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:416:18: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:416:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:417:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Float64ClosedRightIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:417:18: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:420:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t min_left, max_right float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:421:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:422:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:423:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, float64_t[:] left, float64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:472:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, float64_t[:] left, float64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:472:53: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:497:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:498:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:499:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:500:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:566:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:566:21: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:566:41: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:566:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:566:68: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:567:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:567:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:567:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:567:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:568:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:568:18: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:568:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:569:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Float64ClosedBothIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:569:18: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:572:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t min_left, max_right float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:573:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:574:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:575:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, float64_t[:] left, float64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:624:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, float64_t[:] left, float64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:624:53: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:649:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:650:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:651:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:652:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:718:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:718:21: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:718:41: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:718:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:718:68: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:719:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:719:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:719:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:719:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:720:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:720:18: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:720:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:721:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Float64ClosedNeitherIntervalNode left_node, right_node float64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:721:18: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices float64_t min_left, max_right float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:724:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t min_left, max_right float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:725:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t pivot def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:726:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:727:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, float64_t[:] left, float64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:776:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, float64_t[:] left, float64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:776:53: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:801:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:802:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:803:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[float64_t, ndim=1] left, ndarray[float64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:804:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:870:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:870:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:870:39: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:870:60: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:870:66: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:871:8: 'int64_t' is not a type identifier /usr/pkg/lib/python3.10/site-packages/numpy/__init__.pxd Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1218, in cythonize_one File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 731, in compile_single File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 515, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 52, in generate_pyx_code_stage File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ModuleNode.py", line 143, in process_implementation File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ModuleNode.py", line 385, in generate_c_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 1793, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 1865, in putln File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 1891, in emit_marker File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 1900, in _build_marker File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 1623, in commented_file_contents File "Cython/Compiler/Scanning.py", line 236, in Cython.Compiler.Scanning.FileSourceDescriptor.get_lines File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/numpy/__init__.pxd Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/join.pyx:5:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:871:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:871:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:871:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:872:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:872:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:872:26: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/join.pyx:6:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:873:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Int64ClosedLeftIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:873:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:876:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t min_left, max_right int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:877:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:878:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/join.pyx:6:0: 'numpy/intp_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:879:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, int64_t[:] left, int64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:928:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, int64_t[:] left, int64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:928:51: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:953:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/join.pyx:6:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:954:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:955:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:956:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/join.pyx:6:0: 'numpy/uint64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1022:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1022:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1022:39: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1022:60: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1022:66: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1023:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1023:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1023:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1023:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1024:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1024:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1024:26: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1025:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Int64ClosedRightIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1025:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1028:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t min_left, max_right int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1029:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1030:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/float32_t.pxd' not found File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/groupby.pyx Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1031:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, int64_t[:] left, int64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1080:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, int64_t[:] left, int64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1080:51: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1105:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1106:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/int8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1107:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1108:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/int16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1174:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1174:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1174:39: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1174:60: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1174:66: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1175:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1175:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1175:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1175:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1176:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1176:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1176:26: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1177:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Int64ClosedBothIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1177:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1180:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/uint16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t min_left, max_right int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1181:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1182:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1183:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, int64_t[:] left, int64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1232:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/uint32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, int64_t[:] left, int64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1232:51: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t, ) # All numeric types except complex ctypedef fused numeric_t: int8_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:20:4: 'int8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1257:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:21:4: 'int16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:21:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1258:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:22:4: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1259:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:22:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1260:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t int64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:23:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t int64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:23:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... int8_t int16_t int32_t int64_t uint8_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:25:4: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int8_t int16_t int32_t int64_t uint8_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:25:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1326:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int16_t int32_t int64_t uint8_t uint16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:26:4: 'uint16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1326:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int16_t int32_t int64_t uint8_t uint16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:26:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1326:39: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int32_t int64_t uint8_t uint16_t uint32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:27:4: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1326:60: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int32_t int64_t uint8_t uint16_t uint32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:27:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1326:66: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t uint8_t uint16_t uint32_t uint64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:28:4: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1327:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t uint8_t uint16_t uint32_t uint64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:28:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1327:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... uint8_t uint16_t uint32_t uint64_t float32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:30:4: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1327:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... uint8_t uint16_t uint32_t uint64_t float32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:30:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1327:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... uint16_t uint32_t uint64_t float32_t float64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:31:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1328:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint16_t uint32_t uint64_t float32_t float64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:31:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1328:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1328:26: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1329:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Int64ClosedNeitherIntervalNode left_node, right_node int64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1329:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... ) @cython.wraparound(False) @cython.boundscheck(False) def inner_join(const intp_t[:] left, const intp_t[:] right, ^ ------------------------------------------------------------ pandas/_libs/join.pyx:25:21: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices int64_t min_left, max_right int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1332:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) @cython.wraparound(False) @cython.boundscheck(False) def inner_join(const intp_t[:] left, const intp_t[:] right, ^ ------------------------------------------------------------ pandas/_libs/join.pyx:25:43: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t min_left, max_right int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1333:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(left_indexer), np.asarray(right_indexer) @cython.wraparound(False) @cython.boundscheck(False) def left_outer_join(const intp_t[:] left, const intp_t[:] right, ^ ------------------------------------------------------------ pandas/_libs/join.pyx:78:26: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t pivot def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1334:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ndarray ^ ------------------------------------------------------------ pandas/_libs/lib.pxd:1:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1335:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, int64_t[:] left, int64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1384:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, int64_t[:] left, int64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1384:51: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1409:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1410:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ndarray ^ ------------------------------------------------------------ pandas/_libs/lib.pxd:1:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1411:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[int64_t, ndim=1] left, ndarray[int64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1412:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ndarray cdef bint c_is_list_like(object, bint) except -1 cpdef ndarray eq_NA_compat(ndarray[object] arr, object key) ^ ------------------------------------------------------------ pandas/_libs/lib.pxd:6:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ndarray cdef bint c_is_list_like(object, bint) except -1 cpdef ndarray eq_NA_compat(ndarray[object] arr, object key) ^ ------------------------------------------------------------ pandas/_libs/lib.pxd:6:27: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1478:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1478:20: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1478:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1478:61: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1478:67: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1479:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1479:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1479:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1479:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1480:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1480:17: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1480:27: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1481:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Uint64ClosedLeftIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1481:17: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1484:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t min_left, max_right uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1485:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1486:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1487:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, uint64_t[:] left, uint64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1536:34: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, uint64_t[:] left, uint64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1536:52: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1561:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1562:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1563:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1564:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1630:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1630:20: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1630:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1630:61: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1630:67: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1631:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1631:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1631:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1631:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1632:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1632:17: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1632:27: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1633:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Uint64ClosedRightIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1633:17: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1636:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t min_left, max_right uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1637:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1638:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1639:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, uint64_t[:] left, uint64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1688:34: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, uint64_t[:] left, uint64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1688:52: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1713:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1714:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1715:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1716:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1782:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1782:20: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(left_indexer), np.asarray(right_indexer) @cython.wraparound(False) @cython.boundscheck(False) def left_outer_join(const intp_t[:] left, const intp_t[:] right, ^ ------------------------------------------------------------ pandas/_libs/join.pyx:78:48: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1782:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(left_indexer), np.asarray(right_indexer) @cython.wraparound(False) @cython.boundscheck(False) def full_outer_join(const intp_t[:] left, const intp_t[:] right, ^ ------------------------------------------------------------ pandas/_libs/join.pyx:151:26: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1782:61: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(left_indexer), np.asarray(right_indexer) @cython.wraparound(False) @cython.boundscheck(False) def full_outer_join(const intp_t[:] left, const intp_t[:] right, ^ ------------------------------------------------------------ pandas/_libs/join.pyx:151:48: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1782:67: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1783:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(left_indexer), np.asarray(right_indexer) @cython.wraparound(False) @cython.boundscheck(False) cdef void _get_result_indexer(intp_t[::1] sorter, intp_t[::1] indexer) nogil: ^ ------------------------------------------------------------ pandas/_libs/join.pyx:216:30: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1783:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(left_indexer), np.asarray(right_indexer) @cython.wraparound(False) @cython.boundscheck(False) cdef void _get_result_indexer(intp_t[::1] sorter, intp_t[::1] indexer) nogil: ^ ------------------------------------------------------------ pandas/_libs/join.pyx:216:50: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1783:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... indexer[:] = -1 @cython.wraparound(False) @cython.boundscheck(False) def ffill_indexer(const intp_t[:] indexer) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/join.pyx:238:24: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1783:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1784:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # right might contain non-unique values @cython.wraparound(False) @cython.boundscheck(False) def left_join_indexer_unique( ndarray[numeric_object_t] left, ^ ------------------------------------------------------------ pandas/_libs/join.pyx:269:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1784:17: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def left_join_indexer_unique( ndarray[numeric_object_t] left, ndarray[numeric_object_t] right ^ ------------------------------------------------------------ pandas/_libs/join.pyx:270:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1784:27: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... return indexer @cython.wraparound(False) @cython.boundscheck(False) def left_join_indexer(ndarray[numeric_object_t] left, ndarray[numeric_object_t] right): ^ ------------------------------------------------------------ pandas/_libs/join.pyx:319:22: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1785:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return indexer @cython.wraparound(False) @cython.boundscheck(False) def left_join_indexer(ndarray[numeric_object_t] left, ndarray[numeric_object_t] right): ^ ------------------------------------------------------------ pandas/_libs/join.pyx:319:54: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Uint64ClosedBothIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1785:17: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... return result, lindexer, rindexer @cython.wraparound(False) @cython.boundscheck(False) def inner_join_indexer(ndarray[numeric_object_t] left, ndarray[numeric_object_t] right): ^ ------------------------------------------------------------ pandas/_libs/join.pyx:430:23: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1788:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result, lindexer, rindexer @cython.wraparound(False) @cython.boundscheck(False) def inner_join_indexer(ndarray[numeric_object_t] left, ndarray[numeric_object_t] right): ^ ------------------------------------------------------------ pandas/_libs/join.pyx:430:55: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t min_left, max_right uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1789:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result, lindexer, rindexer @cython.wraparound(False) @cython.boundscheck(False) def outer_join_indexer(ndarray[numeric_object_t] left, ndarray[numeric_object_t] right): ^ ------------------------------------------------------------ pandas/_libs/join.pyx:530:23: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1790:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result, lindexer, rindexer @cython.wraparound(False) @cython.boundscheck(False) def outer_join_indexer(ndarray[numeric_object_t] left, ndarray[numeric_object_t] right): ^ ------------------------------------------------------------ pandas/_libs/join.pyx:530:55: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1791:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, uint64_t[:] left, uint64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1840:34: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, uint64_t[:] left, uint64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1840:52: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1865:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1866:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1867:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1868:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1934:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1934:20: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1934:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1934:61: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... Categorizes intervals by those that fall to the left, those that fall to the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1934:67: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1935:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1935:19: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1935:40: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... the right, and those that overlap with the pivot. """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1935:62: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1936:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1936:17: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1936:27: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1937:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef readonly: Uint64ClosedNeitherIntervalNode left_node, right_node uint64_t[:] center_left_values, center_right_values, left, right int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1937:17: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t[:] center_left_indices, center_right_indices, indices uint64_t min_left, max_right uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1940:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t min_left, max_right uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1941:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t pivot def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1942:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, int64_t leaf_size): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1943:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, uint64_t[:] left, uint64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1992:34: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sort_values_and_indices(right, indices, center_set) self.n_center = len(self.center_left_indices) @cython.wraparound(False) @cython.boundscheck(False) cdef classify_intervals(self, uint64_t[:] left, uint64_t[:] right): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:1992:52: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (left_ind.to_array(), right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:2017:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right_ind.to_array(), overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:2018:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... overlapping_ind.to_array()) cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:2019:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef new_child_node(self, ndarray[uint64_t, ndim=1] left, ndarray[uint64_t, ndim=1] right, ndarray[int64_t, ndim=1] indices, ndarray[int64_t, ndim=1] subset): ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:2020:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... closed: str """ cdef: object closed = None, interval Py_ssize_t i, n = len(intervals) ndarray left, right ^ ------------------------------------------------------------ pandas/_libs/interval.pyx:559:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... values = [self.right, self.left] sort_order = np.lexsort(values) return is_monotonic(sort_order, False)[0] def get_indexer(self, scalar_t[:] target) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/intervaltree.pxi:128:4: Compiler crash in AnalyseDeclarationsTransform ModuleNode.body = StatListNode(interval.pyx:1:0) StatListNode.stats[23] = StatListNode(intervaltree.pxi:1:0) StatListNode.stats[4] = CClassDefNode(intervaltree.pxi:25:5, as_name = 'IntervalTree', class_name = 'IntervalTree', doc = 'A centered interval tree\n\n Based off the algorithm described on Wikipedia:\n https://en.wikipedia.org/wiki/Interval_tree\n\n we are emulating the IndexEngine interface\n ', module_name = '', visibility = 'private') CClassDefNode.body = StatListNode(intervaltree.pxi:26:4) StatListNode.stats[6] = StatListNode(intervaltree.pxi:128:4) StatListNode.stats[0] = DefNode(intervaltree.pxi:128:4, doc = 'Return the positions corresponding to unique intervals that overlap\n with the given array of scalar targets.\n ', has_fused_arguments = True, modifiers = [...]/0, name = 'get_indexer', np_args_idx = [...]/0, num_required_args = 2, outer_attrs = [...]/2, py_wrapper_required = True, reqd_kw_flags_cname = '0') Compiler crash traceback from this point on: File "Cython/Compiler/Visitor.py", line 180, in Cython.Compiler.Visitor.TreeVisitor._visit File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ParseTreeTransforms.py", line 1909, in visit_DefNode File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ParseTreeTransforms.py", line 1899, in visit_FuncDefNode File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ParseTreeTransforms.py", line 1821, in _create_fused_function ImportError: cannot import name 'FusedNode' from 'Cython.Compiler' (/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/__init__.py) Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/interval.pyx Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:1:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:1:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:1:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:31: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:1:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:1:0: 'cpython/object/PyObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/complex64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/complex128_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": const int KHASH_TRACE_DOMAIN ctypedef uint32_t khuint_t ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:21:13: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_khcomplex64_t \ "kh_complex_hash_equal" (khcomplex64_t a, khcomplex64_t b) nogil bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:39:32: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_khcomplex64_t \ "kh_complex_hash_equal" (khcomplex64_t a, khcomplex64_t b) nogil bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:39:45: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil bint are_equivalent_float32_t \ "kh_floats_hash_equal" (float32_t a, float32_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:42:32: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil bint are_equivalent_float32_t \ "kh_floats_hash_equal" (float32_t a, float32_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:42:45: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... "kh_floats_hash_equal" (float64_t a, float64_t b) nogil bint are_equivalent_float32_t \ "kh_floats_hash_equal" (float32_t a, float32_t b) nogil uint32_t kh_python_hash_func(object key) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:44:4: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint32_t kh_python_hash_func(object key) bint kh_python_hash_equal(object a, object b) ctypedef struct kh_pymap_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:49:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_python_hash_equal(object a, object b) ctypedef struct kh_pymap_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags PyObject **keys ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:50:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... size_t *vals kh_pymap_t* kh_init_pymap() void kh_destroy_pymap(kh_pymap_t*) void kh_clear_pymap(kh_pymap_t*) khuint_t kh_get_pymap(kh_pymap_t*, PyObject*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:56:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... kh_pymap_t* kh_init_pymap() void kh_destroy_pymap(kh_pymap_t*) void kh_clear_pymap(kh_pymap_t*) khuint_t kh_get_pymap(kh_pymap_t*, PyObject*) void kh_resize_pymap(kh_pymap_t*, khuint_t) khuint_t kh_put_pymap(kh_pymap_t*, PyObject*, int*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:58:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_pymap(kh_pymap_t*, khiter_t) ctypedef struct kh_pyset_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:65:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_pymap(kh_pymap_t*, khiter_t) ctypedef struct kh_pyset_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags PyObject **keys ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:66:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... size_t *vals kh_pyset_t* kh_init_pyset() void kh_destroy_pyset(kh_pyset_t*) void kh_clear_pyset(kh_pyset_t*) khuint_t kh_get_pyset(kh_pyset_t*, PyObject*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:72:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... kh_pyset_t* kh_init_pyset() void kh_destroy_pyset(kh_pyset_t*) void kh_clear_pyset(kh_pyset_t*) khuint_t kh_get_pyset(kh_pyset_t*, PyObject*) void kh_resize_pyset(kh_pyset_t*, khuint_t) khuint_t kh_put_pyset(kh_pyset_t*, PyObject*, int*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:74:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef char* kh_cstr_t ctypedef struct kh_str_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:83:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # sweep factorize ctypedef struct kh_strbox_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:112:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef struct kh_strbox_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags kh_cstr_t *keys PyObject **vals ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:114:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef extern from "khash_python.h": ctypedef struct kh_int64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:10:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int64_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int64(kh_int64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:27:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint64_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:28:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint64(kh_uint64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_float64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:44:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_float64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags float64_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:45:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_float64(kh_float64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_int32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:61:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int32_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:62:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int32(kh_int32_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:78:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint32_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:79:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint32(kh_uint32_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_float32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:95:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_float32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags float32_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:96:8: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_float32(kh_float32_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_int16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:112:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int16_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:113:8: 'int16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int16(kh_int16_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:129:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint16_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:130:8: 'uint16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint16(kh_uint16_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_int8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:146:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int8_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:147:8: 'int8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int8(kh_int8_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:163:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint8_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:164:8: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint8(kh_uint8_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_complex64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:180:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_complex64(kh_complex64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_complex128_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:197:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pass cdef class UInt64HashTable(HashTable): cdef kh_uint64_t *table cpdef get_item(self, uint64_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:45:25: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class UInt64HashTable(HashTable): cdef kh_uint64_t *table cpdef get_item(self, uint64_t val) cpdef set_item(self, uint64_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:46:25: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, uint64_t key, Py_ssize_t val) cdef class Int64HashTable(HashTable): cdef kh_int64_t *table cpdef get_item(self, int64_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:51:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Int64HashTable(HashTable): cdef kh_int64_t *table cpdef get_item(self, int64_t val) cpdef set_item(self, int64_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:52:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, int64_t key, Py_ssize_t val) cdef class UInt32HashTable(HashTable): cdef kh_uint32_t *table cpdef get_item(self, uint32_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:57:25: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class UInt32HashTable(HashTable): cdef kh_uint32_t *table cpdef get_item(self, uint32_t val) cpdef set_item(self, uint32_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:58:25: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, uint32_t key, Py_ssize_t val) cdef class Int32HashTable(HashTable): cdef kh_int32_t *table cpdef get_item(self, int32_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:63:25: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Int32HashTable(HashTable): cdef kh_int32_t *table cpdef get_item(self, int32_t val) cpdef set_item(self, int32_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:64:25: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, int32_t key, Py_ssize_t val) cdef class UInt16HashTable(HashTable): cdef kh_uint16_t *table cpdef get_item(self, uint16_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:69:25: 'uint16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class UInt16HashTable(HashTable): cdef kh_uint16_t *table cpdef get_item(self, uint16_t val) cpdef set_item(self, uint16_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:70:25: 'uint16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, uint16_t key, Py_ssize_t val) cdef class Int16HashTable(HashTable): cdef kh_int16_t *table cpdef get_item(self, int16_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:75:25: 'int16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Int16HashTable(HashTable): cdef kh_int16_t *table cpdef get_item(self, int16_t val) cpdef set_item(self, int16_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:76:25: 'int16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, int16_t key, Py_ssize_t val) cdef class UInt8HashTable(HashTable): cdef kh_uint8_t *table cpdef get_item(self, uint8_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:81:25: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class UInt8HashTable(HashTable): cdef kh_uint8_t *table cpdef get_item(self, uint8_t val) cpdef set_item(self, uint8_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:82:25: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, uint8_t key, Py_ssize_t val) cdef class Int8HashTable(HashTable): cdef kh_int8_t *table cpdef get_item(self, int8_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:87:25: 'int8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Int8HashTable(HashTable): cdef kh_int8_t *table cpdef get_item(self, int8_t val) cpdef set_item(self, int8_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:88:25: 'int8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, int8_t key, Py_ssize_t val) cdef class Float64HashTable(HashTable): cdef kh_float64_t *table cpdef get_item(self, float64_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:93:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Float64HashTable(HashTable): cdef kh_float64_t *table cpdef get_item(self, float64_t val) cpdef set_item(self, float64_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:94:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, float64_t key, Py_ssize_t val) cdef class Float32HashTable(HashTable): cdef kh_float32_t *table cpdef get_item(self, float32_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:99:25: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Float32HashTable(HashTable): cdef kh_float32_t *table cpdef get_item(self, float32_t val) cpdef set_item(self, float32_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:100:25: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, float32_t key, Py_ssize_t val) cdef class Complex64HashTable(HashTable): cdef kh_complex64_t *table cpdef get_item(self, complex64_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:105:25: 'complex64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Complex64HashTable(HashTable): cdef kh_complex64_t *table cpdef get_item(self, complex64_t val) cpdef set_item(self, complex64_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:106:25: 'complex64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef set_item(self, complex64_t key, Py_ssize_t val) cdef class Complex128HashTable(HashTable): cdef kh_complex128_t *table cpdef get_item(self, complex128_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:111:25: 'complex128_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Complex128HashTable(HashTable): cdef kh_complex128_t *table cpdef get_item(self, complex128_t val) cpdef set_item(self, complex128_t key, Py_ssize_t val) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:112:25: 'complex128_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef get_item(self, str val) cpdef set_item(self, str key, Py_ssize_t val) cdef struct Int64VectorData: int64_t *data ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:128:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Vector: cdef bint external_view_exists cdef class Int64Vector(Vector): cdef Int64VectorData *data cdef ndarray ao ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:136:9: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Int64Vector(Vector): cdef Int64VectorData *data cdef ndarray ao cdef resize(self) cpdef ndarray to_array(self) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:139:10: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef Int64VectorData *data cdef ndarray ao cdef resize(self) cpdef ndarray to_array(self) cdef inline void append(self, int64_t x) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:140:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:10:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef ndarray ao cdef resize(self) cpdef ndarray to_array(self) cdef inline void append(self, int64_t x) cdef extend(self, int64_t[:] x) ^ ------------------------------------------------------------ pandas/_libs/hashtable.pxd:141:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:10:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... UInt64HashTable, ) ctypedef fused by_t: object int64_t ^ ------------------------------------------------------------ pandas/_libs/join.pyx:678:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) ctypedef fused by_t: object int64_t uint64_t ^ ------------------------------------------------------------ pandas/_libs/join.pyx:679:4: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) ctypedef fused by_t: object int64_t uint64_t ^ ------------------------------------------------------------ pandas/_libs/join.pyx:679:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from libc.stdint cimport ( ^ ------------------------------------------------------------ pandas/_libs/util.pxd:2:0: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 124, in analyse_declarations: ModuleNode(util.pxd:1:0, full_module_name = 'pandas._libs.util', is_pxd = True) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:1:0) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:2:0) File 'Nodes.py', line 7994, in analyse_declarations: FromCImportStatNode(util.pxd:2:0, imported_names = [...]/12, module_name = 'libc.stdint') Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 7994, in analyse_declarations File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1273, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 232, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 146, in process_pxd File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 43, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 365, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Includes/libc/stdint.pxd Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:1:0: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 124, in analyse_declarations: ModuleNode(nattype.pxd:1:0, full_module_name = 'pandas._libs.tslibs.nattype', is_pxd = True) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(nattype.pxd:1:0) File 'Nodes.py', line 7994, in analyse_declarations: FromCImportStatNode(nattype.pxd:1:0, imported_names = [...]/1, module_name = 'cpython.datetime') Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 7994, in analyse_declarations File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1273, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 232, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 146, in process_pxd File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 43, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 365, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Includes/cpython/datetime.pxd Error compiling Cython file: ------------------------------------------------------------ ... ) cnp.import_array() from pandas._libs cimport util from pandas._libs.tslibs.nattype cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:20:0: 'pandas/_libs/tslibs/nattype/c_NaT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) cnp.import_array() from pandas._libs cimport util from pandas._libs.tslibs.nattype cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:20:0: 'pandas/_libs/tslibs/nattype/checknull_with_nat.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) cnp.import_array() from pandas._libs cimport util from pandas._libs.tslibs.nattype cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:20:0: 'pandas/_libs/tslibs/nattype/is_dt64nat.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) cnp.import_array() from pandas._libs cimport util from pandas._libs.tslibs.nattype cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:20:0: 'pandas/_libs/tslibs/nattype/is_td64nat.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from pandas._libs.ops_dispatch import maybe_dispatch_ufunc_to_dunder_op cdef: float64_t INF = np.inf ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:35:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.ops_dispatch import maybe_dispatch_ufunc_to_dunder_op cdef: float64_t INF = np.inf float64_t NEGINF = -INF ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:36:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: float64_t INF = np.inf float64_t NEGINF = -INF int64_t NPY_NAT = util.get_nat() ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:38:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return isinstance(val, cDecimal) and val != val @cython.wraparound(False) @cython.boundscheck(False) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=False): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:148:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return isinstance(val, cDecimal) and val != val @cython.wraparound(False) @cython.boundscheck(False) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=False): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:148:31: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result : ndarray (dtype=np.bool_) """ cdef: Py_ssize_t i, n object val ndarray[uint8_t] result ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:171:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result : ndarray (dtype=np.bool_) """ cdef: Py_ssize_t i, j, n, m object val ndarray[uint8_t, ndim=2] result ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:208:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- ndarray[bool] """ cdef: ndarray[uint8_t] result ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:262:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- ndarray[bool] """ cdef: ndarray[uint8_t] result ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:289:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ndarray, uint8_t, ) cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:17:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... ) from pandas._libs.ops_dispatch import maybe_dispatch_ufunc_to_dunder_op cdef: float64_t INF = np.inf ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:35:21: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: float64_t INF = np.inf float64_t NEGINF = -INF int64_t NPY_NAT = util.get_nat() ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:38:26: cimported module has no attribute 'get_nat' Error compiling Cython file: ------------------------------------------------------------ ... return result.view(np.bool_) @cython.wraparound(False) @cython.boundscheck(False) def isnaobj2d(arr: ndarray, inf_as_na: bool = False) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:185:19: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return result.view(np.bool_) @cython.wraparound(False) @cython.boundscheck(False) def isnaobj2d(arr: ndarray, inf_as_na: bool = False) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:185:56: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return checknull_with_nat(obj) or obj is C_NA @cython.wraparound(False) @cython.boundscheck(False) def is_float_nan(values: ndarray) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:253:25: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return checknull_with_nat(obj) or obj is C_NA @cython.wraparound(False) @cython.boundscheck(False) def is_float_nan(values: ndarray) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:253:37: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return result.view(bool) @cython.wraparound(False) @cython.boundscheck(False) def is_numeric_na(values: ndarray) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:278:26: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return result.view(bool) @cython.wraparound(False) @cython.boundscheck(False) def is_numeric_na(values: ndarray) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:278:38: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- bool """ if left is None: if nan_matches_none and util.is_nan(right): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:61:36: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... if nan_matches_none and util.is_nan(right): return True return right is None elif left is C_NA: return right is C_NA elif left is NaT: ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:66:17: 'NaT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return True return right is None elif left is C_NA: return right is C_NA elif left is NaT: return right is NaT ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:67:24: 'NaT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return right is None elif left is C_NA: return right is C_NA elif left is NaT: return right is NaT elif util.is_float_object(left): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:68:13: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... elif left is C_NA: return right is C_NA elif left is NaT: return right is NaT elif util.is_float_object(left): if nan_matches_none and right is None and util.is_nan(left): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:69:54: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... return right is NaT elif util.is_float_object(left): if nan_matches_none and right is None and util.is_nan(left): return True return ( util.is_nan(left) ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:72:16: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... elif util.is_float_object(left): if nan_matches_none and right is None and util.is_nan(left): return True return ( util.is_nan(left) and util.is_float_object(right) ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:73:20: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... if nan_matches_none and right is None and util.is_nan(left): return True return ( util.is_nan(left) and util.is_float_object(right) and util.is_nan(right) ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:74:20: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... return ( util.is_nan(left) and util.is_float_object(right) and util.is_nan(right) ) elif util.is_complex_object(left): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:76:13: cimported module has no attribute 'is_complex_object' Error compiling Cython file: ------------------------------------------------------------ ... and util.is_float_object(right) and util.is_nan(right) ) elif util.is_complex_object(left): return ( util.is_nan(left) ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:78:16: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... and util.is_nan(right) ) elif util.is_complex_object(left): return ( util.is_nan(left) and util.is_complex_object(right) ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:79:20: cimported module has no attribute 'is_complex_object' Error compiling Cython file: ------------------------------------------------------------ ... ) elif util.is_complex_object(left): return ( util.is_nan(left) and util.is_complex_object(right) and util.is_nan(right) ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:80:20: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... return ( util.is_nan(left) and util.is_complex_object(right) and util.is_nan(right) ) elif util.is_datetime64_object(left): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:82:13: cimported module has no attribute 'is_datetime64_object' Error compiling Cython file: ------------------------------------------------------------ ... and util.is_nan(right) ) elif util.is_datetime64_object(left): return ( get_datetime64_value(left) == NPY_NAT and util.is_datetime64_object(right) ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:85:20: cimported module has no attribute 'is_datetime64_object' Error compiling Cython file: ------------------------------------------------------------ ... get_datetime64_value(left) == NPY_NAT and util.is_datetime64_object(right) and get_datetime64_value(right) == NPY_NAT and get_datetime64_unit(left) == get_datetime64_unit(right) ) elif util.is_timedelta64_object(left): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:89:13: cimported module has no attribute 'is_timedelta64_object' Error compiling Cython file: ------------------------------------------------------------ ... and get_datetime64_unit(left) == get_datetime64_unit(right) ) elif util.is_timedelta64_object(left): return ( get_timedelta64_value(left) == NPY_NAT and util.is_timedelta64_object(right) ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:92:20: cimported module has no attribute 'is_timedelta64_object' Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- bool """ if val is None or val is NaT or val is C_NA: ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:123:29: 'NaT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- bool """ if val is None or val is NaT or val is C_NA: return True elif util.is_float_object(val) or util.is_complex_object(val): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:125:13: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... ------- bool """ if val is None or val is NaT or val is C_NA: return True elif util.is_float_object(val) or util.is_complex_object(val): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:125:42: cimported module has no attribute 'is_complex_object' Error compiling Cython file: ------------------------------------------------------------ ... if val != val: return True elif inf_as_na: return val == INF or val == NEGINF return False elif util.is_timedelta64_object(val): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:131:13: cimported module has no attribute 'is_timedelta64_object' Error compiling Cython file: ------------------------------------------------------------ ... elif inf_as_na: return val == INF or val == NEGINF return False elif util.is_timedelta64_object(val): return get_timedelta64_value(val) == NPY_NAT elif util.is_datetime64_object(val): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:133:13: cimported module has no attribute 'is_datetime64_object' Error compiling Cython file: ------------------------------------------------------------ ... result[i, j] = 1 return result.view(np.bool_) def isposinf_scalar(val: object) -> bool: return util.is_float_object(val) and val == INF ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:223:15: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... def isposinf_scalar(val: object) -> bool: return util.is_float_object(val) and val == INF def isneginf_scalar(val: object) -> bool: return util.is_float_object(val) and val == NEGINF ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:227:15: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_null_datetime64(v): # determine if we have a null for a datetime (or integer versions), # excluding np.timedelta64('nat') if checknull_with_nat(v) or is_dt64nat(v): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:233:7: 'checknull_with_nat' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_null_datetime64(v): # determine if we have a null for a datetime (or integer versions), # excluding np.timedelta64('nat') if checknull_with_nat(v) or is_dt64nat(v): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:233:32: 'is_dt64nat' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_null_timedelta64(v): # determine if we have a null for a timedelta (or integer versions), # excluding np.datetime64('nat') if checknull_with_nat(v) or is_td64nat(v): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:241:7: 'checknull_with_nat' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_null_timedelta64(v): # determine if we have a null for a timedelta (or integer versions), # excluding np.datetime64('nat') if checknull_with_nat(v) or is_td64nat(v): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:241:32: 'is_td64nat' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return False cdef bint checknull_with_nat_and_na(object obj): # See GH#32214 return checknull_with_nat(obj) or obj is C_NA ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:248:11: 'checknull_with_nat' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... N = len(values) result = np.zeros(N, dtype=np.uint8) for i in range(N): val = values[i] if util.is_nan(val): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:271:15: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... result = np.zeros(N, dtype=np.uint8) for i in range(N): val = values[i] if checknull(val): if val is None or val is C_NA or util.is_nan(val) or is_decimal_na(val): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:299:49: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... def _create_binary_propagating_op(name, is_divmod=False): def method(self, other): if (other is C_NA or isinstance(other, str) or isinstance(other, (numbers.Number, np.bool_)) or util.is_array(other) and not other.shape): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:315:23: cimported module has no attribute 'is_array' Error compiling Cython file: ------------------------------------------------------------ ... if is_divmod: return NA, NA else: return NA elif util.is_array(other): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:324:17: cimported module has no attribute 'is_array' Error compiling Cython file: ------------------------------------------------------------ ... if other == 0: # returning positive is correct for +/- 0. return type(other)(1) else: return NA elif util.is_array(other): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:436:17: cimported module has no attribute 'is_array' Error compiling Cython file: ------------------------------------------------------------ ... elif isinstance(other, (numbers.Number, np.bool_)): if other == 1: return other else: return NA elif util.is_array(other): ^ ------------------------------------------------------------ pandas/_libs/missing.pyx:449:17: cimported module has no attribute 'is_array' Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/missing.pyx Error compiling Cython file: ------------------------------------------------------------ ... import operator cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:4:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import operator cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:4:0: 'cpython/object/Py_EQ.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import operator cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:4:0: 'cpython/object/Py_GE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import operator cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:4:0: 'cpython/object/Py_GT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import operator cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:4:0: 'cpython/object/Py_LE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import operator cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:4:0: 'cpython/object/Py_LT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import operator cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:4:0: 'cpython/object/Py_NE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import operator cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:4:0: 'cpython/object/PyObject_RichCompareBool.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) from cython cimport Py_ssize_t import numpy as np from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:17:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) from cython cimport Py_ssize_t import numpy as np from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:17:0: 'numpy/import_array.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) from cython cimport Py_ssize_t import numpy as np from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:17:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) from cython cimport Py_ssize_t import numpy as np from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:17:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:31: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from libc.stdint cimport ( ^ ------------------------------------------------------------ pandas/_libs/util.pxd:2:0: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 124, in analyse_declarations: ModuleNode(util.pxd:1:0, full_module_name = 'pandas._libs.util', is_pxd = True) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:1:0) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:2:0) File 'Nodes.py', line 7994, in analyse_declarations: FromCImportStatNode(util.pxd:2:0, imported_names = [...]/12, module_name = 'libc.stdint') Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 7994, in analyse_declarations File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1273, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 232, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 146, in process_pxd File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 43, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 365, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Includes/libc/stdint.pxd Error compiling Cython file: ------------------------------------------------------------ ... import_array() from pandas._libs.missing cimport checknull from pandas._libs.util cimport is_nan ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:27:0: 'pandas/_libs/util/is_nan.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... _GenericAlias, ) import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:11:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... _GenericAlias, ) import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:11:0: 'cpython/datetime/PyDate_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... _GenericAlias, ) import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:11:0: 'cpython/datetime/PyDateTime_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... _GenericAlias, ) import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:11:0: 'cpython/datetime/PyDelta_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... _GenericAlias, ) import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:11:0: 'cpython/datetime/PyTime_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... _GenericAlias, ) import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:11:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_Check, PyDelta_Check, PyTime_Check, import_datetime, ) from cpython.iterator cimport PyIter_Check ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:18:0: 'cpython/iterator.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_Check, PyDelta_Check, PyTime_Check, import_datetime, ) from cpython.iterator cimport PyIter_Check ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:18:0: 'cpython/iterator/PyIter_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyDelta_Check, PyTime_Check, import_datetime, ) from cpython.iterator cimport PyIter_Check from cpython.number cimport PyNumber_Check ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:19:0: 'cpython/number.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyDelta_Check, PyTime_Check, import_datetime, ) from cpython.iterator cimport PyIter_Check from cpython.number cimport PyNumber_Check ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:19:0: 'cpython/number/PyNumber_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyTime_Check, import_datetime, ) from cpython.iterator cimport PyIter_Check from cpython.number cimport PyNumber_Check from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:20:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyTime_Check, import_datetime, ) from cpython.iterator cimport PyIter_Check from cpython.number cimport PyNumber_Check from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:20:0: 'cpython/object/Py_EQ.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyTime_Check, import_datetime, ) from cpython.iterator cimport PyIter_Check from cpython.number cimport PyNumber_Check from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:20:0: 'cpython/object/PyObject_RichCompareBool.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyTime_Check, import_datetime, ) from cpython.iterator cimport PyIter_Check from cpython.number cimport PyNumber_Check from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:20:0: 'cpython/object/PyTypeObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport ( Py_EQ, PyObject_RichCompareBool, PyTypeObject, ) from cpython.ref cimport Py_INCREF ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:25:0: 'cpython/ref.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport ( Py_EQ, PyObject_RichCompareBool, PyTypeObject, ) from cpython.ref cimport Py_INCREF ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:25:0: 'cpython/ref/Py_INCREF.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Py_EQ, PyObject_RichCompareBool, PyTypeObject, ) from cpython.ref cimport Py_INCREF from cpython.sequence cimport PySequence_Check ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:26:0: 'cpython/sequence.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Py_EQ, PyObject_RichCompareBool, PyTypeObject, ) from cpython.ref cimport Py_INCREF from cpython.sequence cimport PySequence_Check ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:26:0: 'cpython/sequence/PySequence_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyObject_RichCompareBool, PyTypeObject, ) from cpython.ref cimport Py_INCREF from cpython.sequence cimport PySequence_Check from cpython.tuple cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:27:0: 'cpython/tuple.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyObject_RichCompareBool, PyTypeObject, ) from cpython.ref cimport Py_INCREF from cpython.sequence cimport PySequence_Check from cpython.tuple cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:27:0: 'cpython/tuple/PyTuple_New.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyObject_RichCompareBool, PyTypeObject, ) from cpython.ref cimport Py_INCREF from cpython.sequence cimport PySequence_Check from cpython.tuple cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:27:0: 'cpython/tuple/PyTuple_SET_ITEM.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/NPY_OBJECT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/PyArray_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/PyArray_GETITEM.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/PyArray_ITER_DATA.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/PyArray_ITER_NEXT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/PyArray_IterNew.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/complex128_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/flatiter.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/float32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/intp_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:43:0: 'numpy/uint64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cnp.import_array() cdef extern from "Python.h": # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:66:40: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int itemsize "elsize" char byteorder object fields tuple names PyTypeObject PySignedIntegerArrType_Type ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:85:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... char byteorder object fields tuple names PyTypeObject PySignedIntegerArrType_Type PyTypeObject PyUnsignedIntegerArrType_Type ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:86:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": bint PyArray_CheckScalar(obj) nogil cdef extern from "src/parse_helper.h": int floatify(object, float64_t *result, int *maybe_int) except -1 ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:93:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from libc.stdint cimport ( ^ ------------------------------------------------------------ pandas/_libs/util.pxd:2:0: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 124, in analyse_declarations: ModuleNode(util.pxd:1:0, full_module_name = 'pandas._libs.util', is_pxd = True) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:1:0) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:2:0) File 'Nodes.py', line 7994, in analyse_declarations: FromCImportStatNode(util.pxd:2:0, imported_names = [...]/12, module_name = 'libc.stdint') Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 7994, in analyse_declarations File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1273, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 232, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 146, in process_pxd File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 43, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 365, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Includes/libc/stdint.pxd Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "src/parse_helper.h": int floatify(object, float64_t *result, int *maybe_int) except -1 from pandas._libs cimport util from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:96:0: 'pandas/_libs/util/INT64_MAX.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "src/parse_helper.h": int floatify(object, float64_t *result, int *maybe_int) except -1 from pandas._libs cimport util from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:96:0: 'pandas/_libs/util/INT64_MIN.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "src/parse_helper.h": int floatify(object, float64_t *result, int *maybe_int) except -1 from pandas._libs cimport util from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:96:0: 'pandas/_libs/util/UINT64_MAX.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "src/parse_helper.h": int floatify(object, float64_t *result, int *maybe_int) except -1 from pandas._libs cimport util from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:96:0: 'pandas/_libs/util/is_nan.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:31: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:1:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:1:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( datetime, tzinfo, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:5:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:19:27: C attribute of type 'npy_datetimestruct' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:15: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # numpy dt64 tzinfo tzinfo bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:25:46: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:27:35: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:44: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:57: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:30:44: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:33:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:6: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:35: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:48: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:36:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:37:7: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) cdef maybe_localize_tso(_TSObject obj, tzinfo tz, NPY_DATETIMEUNIT reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:39:39: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... from .np_datetime cimport npy_datetimestruct cdef bint is_period_object(object obj) cdef int64_t get_period_ordinal(npy_datetimestruct *dts, int freq) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pxd:7:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:1:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from .np_datetime cimport NPY_DATETIMEUNIT # Exposed for tslib, not intended for outside use. cpdef int64_t delta_to_nanoseconds( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:8:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef convert_to_timedelta64(object ts, str unit) cdef bint is_any_td_scalar(object obj) cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:16:22: First base of '_Timedelta' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:20: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:24: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:32: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:37: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:42: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns NPY_DATETIMEUNIT _reso cpdef timedelta to_pytimedelta(_Timedelta self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:23:10: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... timedelta, tzinfo, ) cdef tzinfo utc_pytz ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:8:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:10:18: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:11:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:12:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:14:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:36: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:17:26: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:18:6: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:5: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:29: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:40: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:21:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) cdef object get_dst_info(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:23:25: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: object oINT64_MAX = INT64_MAX object oINT64_MIN = INT64_MIN object oUINT64_MAX = UINT64_MAX float64_t NaN = np.NaN ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:135:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... or is_period_object(val) or is_interval(val) or is_offset_object(val)) cdef inline int64_t get_itemsize(object val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:240:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_ITER_NEXT(it) return result def get_reverse_indexer(const intp_t[:] indexer, Py_ssize_t length) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:503:30: 'intp_t' is not a type identifier /usr/pkg/lib/python3.10/site-packages/Cython/Utility/FunctionArguments.c Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1218, in cythonize_one File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 731, in compile_single File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 515, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 52, in generate_pyx_code_stage File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ModuleNode.py", line 143, in process_implementation File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ModuleNode.py", line 385, in generate_c_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 4600, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 416, in generate_lambda_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3181, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3368, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3515, in generate_argument_parsing_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3683, in generate_tuple_and_keyword_parsing_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3920, in generate_keyword_unpacking_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 416, in load_cached File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 371, in load File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 295, in load_utilities_from_file File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Utility/FunctionArguments.c Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/algos.pyx /usr/pkg/lib/python3.10/site-packages/Cython/Utility/FunctionArguments.c Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1218, in cythonize_one File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 731, in compile_single File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 515, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 52, in generate_pyx_code_stage File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ModuleNode.py", line 143, in process_implementation File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ModuleNode.py", line 385, in generate_c_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3181, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3368, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3515, in generate_argument_parsing_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3683, in generate_tuple_and_keyword_parsing_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3920, in generate_keyword_unpacking_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 416, in load_cached File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 371, in load File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 295, in load_utilities_from_file File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Utility/FunctionArguments.c Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/ops_dispatch.pyx Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) def inner_join(const intp_t[:] left, const intp_t[:] right, Py_ssize_t max_groups): cdef: Py_ssize_t i, j, k, count = 0 intp_t[::1] left_sorter, right_sorter ^ ------------------------------------------------------------ pandas/_libs/join.pyx:29:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def inner_join(const intp_t[:] left, const intp_t[:] right, Py_ssize_t max_groups): cdef: Py_ssize_t i, j, k, count = 0 intp_t[::1] left_sorter, right_sorter intp_t[::1] left_count, right_count ^ ------------------------------------------------------------ pandas/_libs/join.pyx:30:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t max_groups): cdef: Py_ssize_t i, j, k, count = 0 intp_t[::1] left_sorter, right_sorter intp_t[::1] left_count, right_count intp_t[::1] left_indexer, right_indexer ^ ------------------------------------------------------------ pandas/_libs/join.pyx:31:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j, k, count = 0 intp_t[::1] left_sorter, right_sorter intp_t[::1] left_count, right_count intp_t[::1] left_indexer, right_indexer intp_t lc, rc ^ ------------------------------------------------------------ pandas/_libs/join.pyx:32:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) def left_outer_join(const intp_t[:] left, const intp_t[:] right, Py_ssize_t max_groups, bint sort=True): cdef: Py_ssize_t i, j, k, count = 0 ndarray[intp_t] rev ^ ------------------------------------------------------------ pandas/_libs/join.pyx:82:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def left_outer_join(const intp_t[:] left, const intp_t[:] right, Py_ssize_t max_groups, bint sort=True): cdef: Py_ssize_t i, j, k, count = 0 ndarray[intp_t] rev intp_t[::1] left_count, right_count ^ ------------------------------------------------------------ pandas/_libs/join.pyx:83:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t max_groups, bint sort=True): cdef: Py_ssize_t i, j, k, count = 0 ndarray[intp_t] rev intp_t[::1] left_count, right_count intp_t[::1] left_sorter, right_sorter ^ ------------------------------------------------------------ pandas/_libs/join.pyx:84:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j, k, count = 0 ndarray[intp_t] rev intp_t[::1] left_count, right_count intp_t[::1] left_sorter, right_sorter intp_t[::1] left_indexer, right_indexer ^ ------------------------------------------------------------ pandas/_libs/join.pyx:85:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, j, k, count = 0 ndarray[intp_t] rev intp_t[::1] left_count, right_count intp_t[::1] left_sorter, right_sorter intp_t[::1] left_indexer, right_indexer intp_t lc, rc ^ ------------------------------------------------------------ pandas/_libs/join.pyx:86:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) def full_outer_join(const intp_t[:] left, const intp_t[:] right, Py_ssize_t max_groups): cdef: Py_ssize_t i, j, k, count = 0 intp_t[::1] left_sorter, right_sorter ^ ------------------------------------------------------------ pandas/_libs/join.pyx:155:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def full_outer_join(const intp_t[:] left, const intp_t[:] right, Py_ssize_t max_groups): cdef: Py_ssize_t i, j, k, count = 0 intp_t[::1] left_sorter, right_sorter intp_t[::1] left_count, right_count ^ ------------------------------------------------------------ pandas/_libs/join.pyx:156:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t max_groups): cdef: Py_ssize_t i, j, k, count = 0 intp_t[::1] left_sorter, right_sorter intp_t[::1] left_count, right_count intp_t[::1] left_indexer, right_indexer ^ ------------------------------------------------------------ pandas/_libs/join.pyx:157:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j, k, count = 0 intp_t[::1] left_sorter, right_sorter intp_t[::1] left_count, right_count intp_t[::1] left_indexer, right_indexer intp_t lc, rc ^ ------------------------------------------------------------ pandas/_libs/join.pyx:158:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, j, k, count = 0 intp_t[::1] left_sorter, right_sorter intp_t[::1] left_count, right_count intp_t[::1] left_indexer, right_indexer intp_t lc, rc intp_t left_pos = 0, right_pos = 0 ^ ------------------------------------------------------------ pandas/_libs/join.pyx:159:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def ffill_indexer(const intp_t[:] indexer) -> np.ndarray: cdef: Py_ssize_t i, n = len(indexer) ndarray[intp_t] result ^ ------------------------------------------------------------ pandas/_libs/join.pyx:241:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) def ffill_indexer(const intp_t[:] indexer) -> np.ndarray: cdef: Py_ssize_t i, n = len(indexer) ndarray[intp_t] result intp_t val, last_obs ^ ------------------------------------------------------------ pandas/_libs/join.pyx:242:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Both left and right are strictly monotonic increasing. """ cdef: Py_ssize_t i, j, nleft, nright ndarray[intp_t] indexer ^ ------------------------------------------------------------ pandas/_libs/join.pyx:277:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... is non-unique (if both were unique we'd use left_join_indexer_unique). """ cdef: Py_ssize_t i, j, k, nright, nleft, count numeric_object_t lval, rval ndarray[intp_t] lindexer, rindexer ^ ------------------------------------------------------------ pandas/_libs/join.pyx:329:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, j, k, nright, nleft, count numeric_object_t lval, rval ndarray[intp_t] lindexer, rindexer ndarray[numeric_object_t] result ^ ------------------------------------------------------------ pandas/_libs/join.pyx:330:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Both left and right are monotonic increasing but not necessarily unique. """ cdef: Py_ssize_t i, j, k, nright, nleft, count numeric_object_t lval, rval ndarray[intp_t] lindexer, rindexer ^ ------------------------------------------------------------ pandas/_libs/join.pyx:439:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, j, k, nright, nleft, count numeric_object_t lval, rval ndarray[intp_t] lindexer, rindexer ndarray[numeric_object_t] result ^ ------------------------------------------------------------ pandas/_libs/join.pyx:440:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Both left and right are monotonic increasing but not necessarily unique. """ cdef: Py_ssize_t i, j, nright, nleft, count numeric_object_t lval, rval ndarray[intp_t] lindexer, rindexer ^ ------------------------------------------------------------ pandas/_libs/join.pyx:537:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, j, nright, nleft, count numeric_object_t lval, rval ndarray[intp_t] lindexer, rindexer ndarray[numeric_object_t] result ^ ------------------------------------------------------------ pandas/_libs/join.pyx:538:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif kind == b'c': pass elif kind == b'O': pass # try if itemsize == -1 or itemsize == sizeof(): ^ ------------------------------------------------------------ (tree fragment):50:55: Expected an identifier or literal Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/join.pyx Error compiling Cython file: ------------------------------------------------------------ ... return result.view(bool) @cython.wraparound(False) @cython.boundscheck(False) def vec_compare(ndarray[object] left, ndarray[object] right, object op) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:114:16: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result.view(bool) @cython.wraparound(False) @cython.boundscheck(False) def vec_compare(ndarray[object] left, ndarray[object] right, object op) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:114:38: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise return maybe_convert_bool(result.base)[0] # `.base` to access np.ndarray def maybe_convert_bool(ndarray[object] arr, ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:257:23: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- result : ndarray[bool] """ cdef: Py_ssize_t i, n = len(values) ndarray[uint8_t, cast=True] result ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:51:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- result : ndarray[bool] """ cdef: Py_ssize_t i, n = len(left) ndarray[uint8_t, cast=True] result ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:133:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... false_values=None, convert_to_masked_nullable=False ) -> tuple[np.ndarray, np.ndarray | None]: cdef: Py_ssize_t i, n ndarray[uint8_t] result ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:264:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... convert_to_masked_nullable=False ) -> tuple[np.ndarray, np.ndarray | None]: cdef: Py_ssize_t i, n ndarray[uint8_t] result ndarray[uint8_t] mask ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:265:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.dict cimport ( ^ ------------------------------------------------------------ pandas/_libs/properties.pyx:1:0: 'cpython/dict.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.dict cimport ( ^ ------------------------------------------------------------ pandas/_libs/properties.pyx:1:0: 'cpython/dict/PyDict_Contains.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.dict cimport ( ^ ------------------------------------------------------------ pandas/_libs/properties.pyx:1:0: 'cpython/dict/PyDict_GetItem.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.dict cimport ( ^ ------------------------------------------------------------ pandas/_libs/properties.pyx:1:0: 'cpython/dict/PyDict_SetItem.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_array, ndarray, uint8_t, ) import_array() ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:23:0: 'import_array' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.util cimport is_nan @cython.wraparound(False) @cython.boundscheck(False) def scalar_compare(object[:] values, object val, object op) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:32:63: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return result.view(bool) @cython.wraparound(False) @cython.boundscheck(False) def vec_compare(ndarray[object] left, ndarray[object] right, object op) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:114:75: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return result.view(bool) @cython.wraparound(False) @cython.boundscheck(False) def scalar_binop(object[:] values, object val, object op) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:180:61: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return maybe_convert_bool(result.base)[0] @cython.wraparound(False) @cython.boundscheck(False) def vec_binop(object[:] left, object[:] right, object op) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:217:61: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... bint isnull_val int flag object x if op is operator.lt: flag = Py_LT ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:57:15: 'Py_LT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... object x if op is operator.lt: flag = Py_LT elif op is operator.le: flag = Py_LE ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:59:15: 'Py_LE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if op is operator.lt: flag = Py_LT elif op is operator.le: flag = Py_LE elif op is operator.gt: flag = Py_GT ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:61:15: 'Py_GT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... elif op is operator.le: flag = Py_LE elif op is operator.gt: flag = Py_GT elif op is operator.ge: flag = Py_GE ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:63:15: 'Py_GE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... elif op is operator.gt: flag = Py_GT elif op is operator.ge: flag = Py_GE elif op is operator.eq: flag = Py_EQ ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:65:15: 'Py_EQ' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... elif op is operator.ge: flag = Py_GE elif op is operator.eq: flag = Py_EQ elif op is operator.ne: flag = Py_NE ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:67:15: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError('Unrecognized operator') result = np.empty(n, dtype=bool).view(np.uint8) isnull_val = checknull(val) if flag == Py_NE: ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:74:15: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = True elif isnull_val: result[i] = True else: try: result[i] = PyObject_RichCompareBool(x, val, flag) ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:83:32: 'PyObject_RichCompareBool' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... else: try: result[i] = PyObject_RichCompareBool(x, val, flag) except TypeError: result[i] = True elif flag == Py_EQ: ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:86:17: 'Py_EQ' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = False elif isnull_val: result[i] = False else: try: result[i] = PyObject_RichCompareBool(x, val, flag) ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:95:32: 'PyObject_RichCompareBool' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if checknull(x): result[i] = False elif isnull_val: result[i] = False else: result[i] = PyObject_RichCompareBool(x, val, flag) ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:107:28: 'PyObject_RichCompareBool' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if n != len(right): raise ValueError(f'Arrays were different lengths: {n} vs {len(right)}') if op is operator.lt: flag = Py_LT ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:140:15: 'Py_LT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError(f'Arrays were different lengths: {n} vs {len(right)}') if op is operator.lt: flag = Py_LT elif op is operator.le: flag = Py_LE ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:142:15: 'Py_LE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if op is operator.lt: flag = Py_LT elif op is operator.le: flag = Py_LE elif op is operator.gt: flag = Py_GT ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:144:15: 'Py_GT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... elif op is operator.le: flag = Py_LE elif op is operator.gt: flag = Py_GT elif op is operator.ge: flag = Py_GE ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:146:15: 'Py_GE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... elif op is operator.gt: flag = Py_GT elif op is operator.ge: flag = Py_GE elif op is operator.eq: flag = Py_EQ ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:148:15: 'Py_EQ' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... elif op is operator.ge: flag = Py_GE elif op is operator.eq: flag = Py_EQ elif op is operator.ne: flag = Py_NE ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:150:15: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise ValueError('Unrecognized operator') result = np.empty(n, dtype=bool).view(np.uint8) if flag == Py_NE: ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:156:15: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... y = right[i] if checknull(x) or checknull(y): result[i] = True else: result[i] = PyObject_RichCompareBool(x, y, flag) ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:164:28: 'PyObject_RichCompareBool' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... y = right[i] if checknull(x) or checknull(y): result[i] = False else: result[i] = PyObject_RichCompareBool(x, y, flag) ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:173:28: 'PyObject_RichCompareBool' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n = len(values) object[::1] result object x result = np.empty(n, dtype=object) if val is None or is_nan(val): ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:201:22: 'is_nan' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... result[:] = val return result.base # `.base` to access underlying np.ndarray for i in range(n): x = values[i] if x is None or is_nan(x): ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:207:24: 'is_nan' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... x = left[i] y = right[i] try: result[i] = op(x, y) except TypeError: if x is None or is_nan(x): ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:247:28: 'is_nan' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... try: result[i] = op(x, y) except TypeError: if x is None or is_nan(x): result[i] = x elif y is None or is_nan(y): ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:249:30: 'is_nan' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = 0 elif val in true_vals: result[i] = 1 elif val in false_vals: result[i] = 0 elif is_nan(val): ^ ------------------------------------------------------------ pandas/_libs/ops.pyx:295:13: 'is_nan' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... try: cache = obj._cache = {} except (AttributeError): return self if PyDict_Contains(cache, self.name): ^ ------------------------------------------------------------ pandas/_libs/properties.pyx:32:11: 'PyDict_Contains' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... except (AttributeError): return self if PyDict_Contains(cache, self.name): # not necessary to Py_INCREF val = PyDict_GetItem(cache, self.name) ^ ------------------------------------------------------------ pandas/_libs/properties.pyx:34:26: 'PyDict_GetItem' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if PyDict_Contains(cache, self.name): # not necessary to Py_INCREF val = PyDict_GetItem(cache, self.name) else: val = self.fget(obj) PyDict_SetItem(cache, self.name, val) ^ ------------------------------------------------------------ pandas/_libs/properties.pyx:37:12: 'PyDict_SetItem' is not a constant, variable or function identifier Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/properties.pyx Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/reduction.pyx:3:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from libc.stdint cimport ( ^ ------------------------------------------------------------ pandas/_libs/util.pxd:2:0: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 124, in analyse_declarations: ModuleNode(util.pxd:1:0, full_module_name = 'pandas._libs.util', is_pxd = True) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:1:0) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:2:0) File 'Nodes.py', line 7994, in analyse_declarations: FromCImportStatNode(util.pxd:2:0, imported_names = [...]/12, module_name = 'libc.stdint') Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 7994, in analyse_declarations File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1273, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 232, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 146, in process_pxd File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 43, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 365, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Includes/libc/stdint.pxd Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp cnp.import_array() from pandas._libs.util cimport is_array ^ ------------------------------------------------------------ pandas/_libs/reduction.pyx:7:0: 'pandas/_libs/util/is_array.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cnp.import_array() from pandas._libs.util cimport is_array cdef cnp.dtype _dtype_obj = np.dtype("object") ^ ------------------------------------------------------------ pandas/_libs/reduction.pyx:10:5: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/reduction.pyx:5:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... cpdef check_result_array(object obj, object dtype): # Our operation is supposed to be an aggregation/reduction. If # it returns an ndarray, this likely means an invalid operation has # been passed. See test_apply_without_aggregation, test_agg_must_agg if is_array(obj): ^ ------------------------------------------------------------ pandas/_libs/reduction.pyx:17:7: 'is_array' is not a constant, variable or function identifier Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/reduction.pyx Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/reshape.pyx:3:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/reshape.pyx:3:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/reshape.pyx:3:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/reshape.pyx:3:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/float32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/int8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ret = True break return ret def maybe_indices_to_slice(ndarray[intp_t, ndim=1] indices, int max_len): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:559:27: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/int16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return slice(vstart, (vlast - 1), k) @cython.wraparound(False) @cython.boundscheck(False) def maybe_booleans_to_slice(ndarray[uint8_t, ndim=1] mask): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:598:28: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... raise return True ctypedef fused ndarr_object: ndarray[object, ndim=1] ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:669:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return True ctypedef fused ndarr_object: ndarray[object, ndim=1] ndarray[object, ndim=2] ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:670:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/uint16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return True ctypedef fused ndarr_object: ndarray[object, ndim=1] ndarray[object, ndim=2] ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:670:12: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/uint32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return result @cython.wraparound(False) @cython.boundscheck(False) cpdef ndarray[object] ensure_string_array( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:705:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/uint64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # TODO: could do even better if we know something about the data. eg, index has # 1-min data, binner has 5-min data, then bins are just strides in index. This # is a general, O(max(len(values), len(binner))) method. @cython.boundscheck(False) @cython.wraparound(False) def generate_bins_dt64(ndarray[int64_t, ndim=1] values, const int64_t[:] binner, ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:808:23: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t, ) # All numeric types except complex ctypedef fused numeric_t: int8_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:20:4: 'int8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO: could do even better if we know something about the data. eg, index has # 1-min data, binner has 5-min data, then bins are just strides in index. This # is a general, O(max(len(values), len(binner))) method. @cython.boundscheck(False) @cython.wraparound(False) def generate_bins_dt64(ndarray[int64_t, ndim=1] values, const int64_t[:] binner, ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:808:62: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:21:4: 'int16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:21:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def get_level_sorter( ndarray[int64_t, ndim=1] codes, const intp_t[:] starts ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:872:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:22:4: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def get_level_sorter( ndarray[int64_t, ndim=1] codes, const intp_t[:] starts ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:872:42: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:22:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... return out @cython.boundscheck(False) @cython.wraparound(False) def count_level_2d(ndarray[uint8_t, ndim=2, cast=True] mask, ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:903:19: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def count_level_2d(ndarray[uint8_t, ndim=2, cast=True] mask, const intp_t[:] labels, ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:904:25: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return counts @cython.wraparound(False) @cython.boundscheck(False) def generate_slices(const intp_t[:] labels, Py_ssize_t ngroups): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:935:26: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... group_size = 0 return np.asarray(starts), np.asarray(ends) def indices_fast(ndarray[intp_t, ndim=1] index, const int64_t[:] labels, list keys, ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:964:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... group_size = 0 return np.asarray(starts), np.asarray(ends) def indices_fast(ndarray[intp_t, ndim=1] index, const int64_t[:] labels, list keys, ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:964:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t int64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:23:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t int64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:23:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... int8_t int16_t int32_t int64_t uint8_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:25:4: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int8_t int16_t int32_t int64_t uint8_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:25:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... int16_t int32_t int64_t uint8_t uint16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:26:4: 'uint16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int16_t int32_t int64_t uint8_t uint16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:26:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... int32_t int64_t uint8_t uint16_t uint32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:27:4: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t int64_t uint8_t uint16_t uint32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:27:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... int64_t uint8_t uint16_t uint32_t uint64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:28:4: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t uint8_t uint16_t uint32_t uint64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:28:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... uint8_t uint16_t uint32_t uint64_t float32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:30:4: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint8_t uint16_t uint32_t uint64_t float32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:30:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... uint16_t uint32_t uint64_t float32_t float64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:31:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint16_t uint32_t uint64_t float32_t float64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:31:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ndarray cdef bint c_is_list_like(object, bint) except -1 cpdef ndarray eq_NA_compat(ndarray[object] arr, object key) ^ ------------------------------------------------------------ pandas/_libs/lib.pxd:6:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ndarray cdef bint c_is_list_like(object, bint) except -1 cpdef ndarray eq_NA_compat(ndarray[object] arr, object key) ^ ------------------------------------------------------------ pandas/_libs/lib.pxd:6:27: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.bytes cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:19:0: 'cpython/bytes.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.bytes cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:19:0: 'cpython/bytes/PyBytes_AsString.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.bytes cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:19:0: 'cpython/bytes/PyBytes_FromString.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.bytes cimport ( PyBytes_AsString, PyBytes_FromString, ) from cpython.exc cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:23:0: 'cpython/exc.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.bytes cimport ( PyBytes_AsString, PyBytes_FromString, ) from cpython.exc cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:23:0: 'cpython/exc/PyErr_Fetch.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.bytes cimport ( PyBytes_AsString, PyBytes_FromString, ) from cpython.exc cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:23:0: 'cpython/exc/PyErr_Occurred.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) from cpython.exc cimport ( PyErr_Fetch, PyErr_Occurred, ) from cpython.object cimport PyObject ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:27:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) from cpython.exc cimport ( PyErr_Fetch, PyErr_Occurred, ) from cpython.object cimport PyObject ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:27:0: 'cpython/object/PyObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.exc cimport ( PyErr_Fetch, PyErr_Occurred, ) from cpython.object cimport PyObject from cpython.ref cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:28:0: 'cpython/ref.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.exc cimport ( PyErr_Fetch, PyErr_Occurred, ) from cpython.object cimport PyObject from cpython.ref cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:28:0: 'cpython/ref/Py_INCREF.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.exc cimport ( PyErr_Fetch, PyErr_Occurred, ) from cpython.object cimport PyObject from cpython.ref cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:28:0: 'cpython/ref/Py_XDECREF.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from cpython.ref cimport ( Py_INCREF, Py_XDECREF, ) from cpython.unicode cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:32:0: 'cpython/unicode.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from cpython.ref cimport ( Py_INCREF, Py_XDECREF, ) from cpython.unicode cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:32:0: 'cpython/unicode/PyUnicode_AsUTF8String.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from cpython.ref cimport ( Py_INCREF, Py_XDECREF, ) from cpython.unicode cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:32:0: 'cpython/unicode/PyUnicode_Decode.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from cpython.ref cimport ( Py_INCREF, Py_XDECREF, ) from cpython.unicode cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:32:0: 'cpython/unicode/PyUnicode_DecodeUTF8.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyUnicode_AsUTF8String, PyUnicode_Decode, PyUnicode_DecodeUTF8, ) from cython cimport Py_ssize_t from libc.stdlib cimport free ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:38:0: 'libc/stdlib.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyUnicode_AsUTF8String, PyUnicode_Decode, PyUnicode_DecodeUTF8, ) from cython cimport Py_ssize_t from libc.stdlib cimport free ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:38:0: 'libc/stdlib/free.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyUnicode_Decode, PyUnicode_DecodeUTF8, ) from cython cimport Py_ssize_t from libc.stdlib cimport free from libc.string cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:39:0: 'libc/string.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyUnicode_Decode, PyUnicode_DecodeUTF8, ) from cython cimport Py_ssize_t from libc.stdlib cimport free from libc.string cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:39:0: 'libc/string/strcasecmp.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyUnicode_Decode, PyUnicode_DecodeUTF8, ) from cython cimport Py_ssize_t from libc.stdlib cimport free from libc.string cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:39:0: 'libc/string/strlen.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyUnicode_Decode, PyUnicode_DecodeUTF8, ) from cython cimport Py_ssize_t from libc.stdlib cimport free from libc.string cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:39:0: 'libc/string/strncpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... object PyUnicode_FromString(char *v) import numpy as np cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:52:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:53:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:53:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:53:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:53:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:53:0: 'numpy/uint64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from libc.stdint cimport ( ^ ------------------------------------------------------------ pandas/_libs/util.pxd:2:0: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 124, in analyse_declarations: ModuleNode(util.pxd:1:0, full_module_name = 'pandas._libs.util', is_pxd = True) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:1:0) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:2:0) File 'Nodes.py', line 7994, in analyse_declarations: FromCImportStatNode(util.pxd:2:0, imported_names = [...]/12, module_name = 'libc.stdint') Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 7994, in analyse_declarations File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1273, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 232, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 146, in process_pxd File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 43, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 365, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Includes/libc/stdint.pxd Error compiling Cython file: ------------------------------------------------------------ ... ) cnp.import_array() from pandas._libs cimport util from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:64:0: 'pandas/_libs/util/INT64_MAX.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) cnp.import_array() from pandas._libs cimport util from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:64:0: 'pandas/_libs/util/INT64_MIN.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) cnp.import_array() from pandas._libs cimport util from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:64:0: 'pandas/_libs/util/UINT64_MAX.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/complex64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/complex128_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/float32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/int8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/int16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/uint16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:2:0: 'numpy/uint32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": const int KHASH_TRACE_DOMAIN ctypedef uint32_t khuint_t ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:21:13: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_khcomplex64_t \ "kh_complex_hash_equal" (khcomplex64_t a, khcomplex64_t b) nogil bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:39:32: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_khcomplex64_t \ "kh_complex_hash_equal" (khcomplex64_t a, khcomplex64_t b) nogil bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:39:45: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil bint are_equivalent_float32_t \ "kh_floats_hash_equal" (float32_t a, float32_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:42:32: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint are_equivalent_float64_t \ "kh_floats_hash_equal" (float64_t a, float64_t b) nogil bint are_equivalent_float32_t \ "kh_floats_hash_equal" (float32_t a, float32_t b) nogil ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:42:45: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... "kh_floats_hash_equal" (float64_t a, float64_t b) nogil bint are_equivalent_float32_t \ "kh_floats_hash_equal" (float32_t a, float32_t b) nogil uint32_t kh_python_hash_func(object key) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:44:4: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint32_t kh_python_hash_func(object key) bint kh_python_hash_equal(object a, object b) ctypedef struct kh_pymap_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:49:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_python_hash_equal(object a, object b) ctypedef struct kh_pymap_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags PyObject **keys ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:50:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... size_t *vals kh_pymap_t* kh_init_pymap() void kh_destroy_pymap(kh_pymap_t*) void kh_clear_pymap(kh_pymap_t*) khuint_t kh_get_pymap(kh_pymap_t*, PyObject*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:56:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... kh_pymap_t* kh_init_pymap() void kh_destroy_pymap(kh_pymap_t*) void kh_clear_pymap(kh_pymap_t*) khuint_t kh_get_pymap(kh_pymap_t*, PyObject*) void kh_resize_pymap(kh_pymap_t*, khuint_t) khuint_t kh_put_pymap(kh_pymap_t*, PyObject*, int*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:58:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_pymap(kh_pymap_t*, khiter_t) ctypedef struct kh_pyset_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:65:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_pymap(kh_pymap_t*, khiter_t) ctypedef struct kh_pyset_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags PyObject **keys ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:66:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... size_t *vals kh_pyset_t* kh_init_pyset() void kh_destroy_pyset(kh_pyset_t*) void kh_clear_pyset(kh_pyset_t*) khuint_t kh_get_pyset(kh_pyset_t*, PyObject*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:72:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... kh_pyset_t* kh_init_pyset() void kh_destroy_pyset(kh_pyset_t*) void kh_clear_pyset(kh_pyset_t*) khuint_t kh_get_pyset(kh_pyset_t*, PyObject*) void kh_resize_pyset(kh_pyset_t*, khuint_t) khuint_t kh_put_pyset(kh_pyset_t*, PyObject*, int*) ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:74:39: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef char* kh_cstr_t ctypedef struct kh_str_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:83:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # sweep factorize ctypedef struct kh_strbox_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:112:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef struct kh_strbox_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags kh_cstr_t *keys PyObject **vals ^ ------------------------------------------------------------ pandas/_libs/khash.pxd:114:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef extern from "khash_python.h": ctypedef struct kh_int64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:10:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int64_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int64(kh_int64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:27:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint64_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:28:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint64(kh_uint64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_float64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:44:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_float64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags float64_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:45:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_float64(kh_float64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_int32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:61:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int32_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:62:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int32(kh_int32_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:78:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint32_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:79:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint32(kh_uint32_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_float32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:95:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_float32_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags float32_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:96:8: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_float32(kh_float32_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_int16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:112:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int16_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:113:8: 'int16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int16(kh_int16_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:129:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint16_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint16_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:130:8: 'uint16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint16(kh_uint16_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_int8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:146:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_int8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags int8_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:147:8: 'int8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_int8(kh_int8_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_uint8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:163:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "khash_python.h": ctypedef struct kh_uint8_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags uint8_t *keys ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:164:8: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_uint8(kh_uint8_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_complex64_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:180:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint kh_exist_complex64(kh_complex64_t*, khiter_t) nogil cdef extern from "khash_python.h": ctypedef struct kh_complex128_t: khuint_t n_buckets, size, n_occupied, upper_bound uint32_t *flags ^ ------------------------------------------------------------ pandas/_libs/khash_for_primitive_helper.pxi:197:8: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from pandas.core.dtypes.dtypes import CategoricalDtype from pandas.core.dtypes.inference import is_dict_like cdef: float64_t INF = np.inf ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:117:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas.core.dtypes.dtypes import CategoricalDtype from pandas.core.dtypes.inference import is_dict_like cdef: float64_t INF = np.inf float64_t NEGINF = -INF ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:118:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas.core.dtypes.inference import is_dict_like cdef: float64_t INF = np.inf float64_t NEGINF = -INF int64_t DEFAULT_CHUNKSIZE = 256 * 1024 ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:119:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef struct parser_t: void *source io_callback cb_io io_cleanup cb_cleanup int64_t chunksize # Number of bytes to prepare for each chunk ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:167:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... io_callback cb_io io_cleanup cb_cleanup int64_t chunksize # Number of bytes to prepare for each chunk char *data # pointer to data to be processed int64_t datalen # amount of data available ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:169:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... io_cleanup cb_cleanup int64_t chunksize # Number of bytes to prepare for each chunk char *data # pointer to data to be processed int64_t datalen # amount of data available int64_t datapos ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:170:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t datalen # amount of data available int64_t datapos # where to write out tokenized data char *stream uint64_t stream_len ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:174:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t datapos # where to write out tokenized data char *stream uint64_t stream_len uint64_t stream_cap ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:175:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t stream_len uint64_t stream_cap # Store words in (potentially ragged) matrix for now, hmm char **words int64_t *word_starts # where we are in the stream ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:179:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t stream_cap # Store words in (potentially ragged) matrix for now, hmm char **words int64_t *word_starts # where we are in the stream uint64_t words_len ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:180:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Store words in (potentially ragged) matrix for now, hmm char **words int64_t *word_starts # where we are in the stream uint64_t words_len uint64_t words_cap ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:181:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Store words in (potentially ragged) matrix for now, hmm char **words int64_t *word_starts # where we are in the stream uint64_t words_len uint64_t words_cap uint64_t max_words_cap # maximum word cap encountered ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:182:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t words_len uint64_t words_cap uint64_t max_words_cap # maximum word cap encountered char *pword_start # pointer to stream start of current field int64_t word_start # position start of current field ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:185:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t max_words_cap # maximum word cap encountered char *pword_start # pointer to stream start of current field int64_t word_start # position start of current field int64_t *line_start # position in words for start of line ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:187:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... char *pword_start # pointer to stream start of current field int64_t word_start # position start of current field int64_t *line_start # position in words for start of line int64_t *line_fields # Number of fields in each line ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:188:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... char *pword_start # pointer to stream start of current field int64_t word_start # position start of current field int64_t *line_start # position in words for start of line int64_t *line_fields # Number of fields in each line uint64_t lines # Number of lines observed ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:189:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t word_start # position start of current field int64_t *line_start # position in words for start of line int64_t *line_fields # Number of fields in each line uint64_t lines # Number of lines observed uint64_t file_lines # Number of lines observed (with bad/skipped) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:190:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t *line_start # position in words for start of line int64_t *line_fields # Number of fields in each line uint64_t lines # Number of lines observed uint64_t file_lines # Number of lines observed (with bad/skipped) uint64_t lines_cap # Vector capacity ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:191:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # thousands separator (comma, period) char thousands int header # Boolean: 1: has header, 0: no header int64_t header_start # header row start ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:220:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # thousands separator (comma, period) char thousands int header # Boolean: 1: has header, 0: no header int64_t header_start # header row start uint64_t header_end # header row end ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:221:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int header # Boolean: 1: has header, 0: no header int64_t header_start # header row start uint64_t header_end # header row end void *skipset PyObject *skipfunc ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:224:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t header_start # header row start uint64_t header_end # header row end void *skipset PyObject *skipfunc int64_t skip_first_N_rows ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:225:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t header_end # header row end void *skipset PyObject *skipfunc int64_t skip_first_N_rows int64_t skipfooter ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:226:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void *skipset PyObject *skipfunc int64_t skip_first_N_rows int64_t skipfooter # pick one, depending on whether the converter requires GIL float64_t (*double_converter)(const char *, char **, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:228:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # error handling char *warn_msg char *error_msg int64_t skip_empty_lines ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:236:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t skip_empty_lines ctypedef struct coliter_t: char **words int64_t *line_start ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:240:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t skip_empty_lines ctypedef struct coliter_t: char **words int64_t *line_start int64_t col ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:241:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void uint_state_init(uint_state *self) int uint64_conflict(uint_state *self) void coliter_setup(coliter_t *it, parser_t *parser, int64_t i, int64_t start) nogil ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:252:23: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void uint_state_init(uint_state *self) int uint64_conflict(uint_state *self) void coliter_setup(coliter_t *it, parser_t *parser, int64_t i, int64_t start) nogil ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:252:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... parser_t* parser_new() int parser_init(parser_t *self) nogil void parser_free(parser_t *self) nogil void parser_del(parser_t *self) nogil int parser_add_skiprow(parser_t *self, int64_t row) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:260:43: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int parser_init(parser_t *self) nogil void parser_free(parser_t *self) nogil void parser_del(parser_t *self) nogil int parser_add_skiprow(parser_t *self, int64_t row) int parser_set_skipfirstnrows(parser_t *self, int64_t nrows) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:262:50: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int parser_trim_buffers(parser_t *self) int tokenize_all_rows(parser_t *self, const char *encoding_errors) nogil int tokenize_nrows(parser_t *self, size_t nrows, const char *encoding_errors) nogil int64_t str_to_int64(char *p_item, int64_t int_min, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:273:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int parser_trim_buffers(parser_t *self) int tokenize_all_rows(parser_t *self, const char *encoding_errors) nogil int tokenize_nrows(parser_t *self, size_t nrows, const char *encoding_errors) nogil int64_t str_to_int64(char *p_item, int64_t int_min, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:273:39: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int tokenize_all_rows(parser_t *self, const char *encoding_errors) nogil int tokenize_nrows(parser_t *self, size_t nrows, const char *encoding_errors) nogil int64_t str_to_int64(char *p_item, int64_t int_min, int64_t int_max, int *error, char tsep) nogil ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:274:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int tokenize_all_rows(parser_t *self, const char *encoding_errors) nogil int tokenize_nrows(parser_t *self, size_t nrows, const char *encoding_errors) nogil int64_t str_to_int64(char *p_item, int64_t int_min, int64_t int_max, int *error, char tsep) nogil uint64_t str_to_uint64(uint_state *state, char *p_item, int64_t int_max, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:275:4: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int tokenize_all_rows(parser_t *self, const char *encoding_errors) nogil int tokenize_nrows(parser_t *self, size_t nrows, const char *encoding_errors) nogil int64_t str_to_int64(char *p_item, int64_t int_min, int64_t int_max, int *error, char tsep) nogil uint64_t str_to_uint64(uint_state *state, char *p_item, int64_t int_max, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:275:60: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int tokenize_nrows(parser_t *self, size_t nrows, const char *encoding_errors) nogil int64_t str_to_int64(char *p_item, int64_t int_min, int64_t int_max, int *error, char tsep) nogil uint64_t str_to_uint64(uint_state *state, char *p_item, int64_t int_max, uint64_t uint_max, int *error, char tsep) nogil ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:276:27: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t str_to_int64(char *p_item, int64_t int_min, int64_t int_max, int *error, char tsep) nogil uint64_t str_to_uint64(uint_state *state, char *p_item, int64_t int_max, uint64_t uint_max, int *error, char tsep) nogil float64_t xstrtod(const char *p, char **q, char decimal, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:278:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t uint_max, int *error, char tsep) nogil float64_t xstrtod(const char *p, char **q, char decimal, char sci, char tsep, int skip_trailing, int *error, int *maybe_int) nogil float64_t precise_xstrtod(const char *p, char **q, char decimal, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:281:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... char sci, char tsep, int skip_trailing, int *error, int *maybe_int) nogil float64_t precise_xstrtod(const char *p, char **q, char decimal, char sci, char tsep, int skip_trailing, int *error, int *maybe_int) nogil float64_t round_trip(const char *p, char **q, char decimal, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:284:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int *error, int *maybe_int) nogil float64_t round_trip(const char *p, char **q, char decimal, char sci, char tsep, int skip_trailing, int *error, int *maybe_int) nogil int to_boolean(const char *item, uint8_t *val) nogil ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:288:37: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... object true_values, false_values object handle object orig_header bint na_filter, keep_default_na, verbose, has_usecols, has_mi_columns bint mangle_dupe_cols, allow_leading_cols uint64_t parser_start # this is modified after __init__ ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:319:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint64_t parser_start # this is modified after __init__ list clocks const char *encoding_errors kh_str_starts_t *false_set kh_str_starts_t *true_set int64_t buffer_lines, skipfooter ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:324:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... list dtype_cast_order # list[np.dtype] list names # can be None set noconvert # set[int] cdef public: int64_t leading_cols, table_width ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:330:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... list dtype_cast_order # list[np.dtype] list names # can be None set noconvert # set[int] cdef public: int64_t leading_cols, table_width ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:330:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... list dtype_cast_order # list[np.dtype] list names # can be None set noconvert # set[int] cdef public: int64_t leading_cols, table_width ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:330:30: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... set unnamed_cols # set[str] def __cinit__(self, source, delimiter=b',', # bytes | str header=0, int64_t header_start=0, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:344:18: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __cinit__(self, source, delimiter=b',', # bytes | str header=0, int64_t header_start=0, uint64_t header_end=0, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:345:18: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... self.parser_start += end - start return results # -> tuple["ArrayLike", int]: cdef inline _convert_tokens(self, Py_ssize_t i, int64_t start, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1062:52: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return results # -> tuple["ArrayLike", int]: cdef inline _convert_tokens(self, Py_ssize_t i, int64_t start, int64_t end, object name, bint na_filter, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1063:32: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... f"column {i}") return col_res, na_count cdef _convert_with_dtype(self, object dtype, Py_ssize_t i, int64_t start, int64_t end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1140:29: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... f"column {i}") return col_res, na_count cdef _convert_with_dtype(self, object dtype, Py_ssize_t i, int64_t start, int64_t end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1140:44: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... f"using parse_dates instead") else: raise TypeError(f"the dtype {dtype} is not supported for parsing") # -> tuple[ndarray[object], int] cdef _string_convert(self, Py_ssize_t i, int64_t start, int64_t end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1243:45: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... f"using parse_dates instead") else: raise TypeError(f"the dtype {dtype} is not supported for parsing") # -> tuple[ndarray[object], int] cdef _string_convert(self, Py_ssize_t i, int64_t start, int64_t end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1243:60: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Type conversions / inference support code # -> tuple[ndarray[object], int] cdef _string_box_utf8(parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1402:40: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Type conversions / inference support code # -> tuple[ndarray[object], int] cdef _string_box_utf8(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1403:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Type conversions / inference support code # -> tuple[ndarray[object], int] cdef _string_box_utf8(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1403:42: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result, na_count @cython.boundscheck(False) cdef _categorical_convert(parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1457:44: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result, na_count @cython.boundscheck(False) cdef _categorical_convert(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1458:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result, na_count @cython.boundscheck(False) cdef _categorical_convert(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1458:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... kh_destroy_str(table) return np.asarray(codes), result, na_count # -> ndarray[f'|S{width}'] cdef _to_fw_string(parser_t *parser, int64_t col, int64_t line_start, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1516:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... kh_destroy_str(table) return np.asarray(codes), result, na_count # -> ndarray[f'|S{width}'] cdef _to_fw_string(parser_t *parser, int64_t col, int64_t line_start, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1516:50: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(codes), result, na_count # -> ndarray[f'|S{width}'] cdef _to_fw_string(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, int64_t width): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1517:19: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(codes), result, na_count # -> ndarray[f'|S{width}'] cdef _to_fw_string(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, int64_t width): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1517:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... _to_fw_string_nogil(parser, col, line_start, line_end, width, data) return result cdef inline void _to_fw_string_nogil(parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1531:55: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void _to_fw_string_nogil(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1532:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void _to_fw_string_nogil(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1532:57: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... char* cposinfty = b'+Infinity' char* cneginfty = b'-Infinity' # -> tuple[ndarray[float64_t], int] | tuple[None, None] cdef _try_double(parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1558:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... char* cneginfty = b'-Infinity' # -> tuple[ndarray[float64_t], int] | tuple[None, None] cdef _try_double(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1559:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint skipna=False): self.n = n self.dtype = dtype self.skipna = skipna cdef bint validate(self, ndarray values) except -1: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1743:29: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... char* cneginfty = b'-Infinity' # -> tuple[ndarray[float64_t], int] | tuple[None, None] cdef _try_double(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1559:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: return False @cython.wraparound(False) @cython.boundscheck(False) cdef bint _validate(self, ndarray values) except -1: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1760:30: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return None, None return result, na_count cdef inline int _try_double_nogil(parser_t *parser, float64_t (*double_converter)( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1587:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return True @cython.wraparound(False) @cython.boundscheck(False) cdef bint _validate_skipna(self, ndarray values) except -1: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1778:37: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int _try_double_nogil(parser_t *parser, float64_t (*double_converter)( const char *, char **, char, char, char, int, int *, int *) nogil, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1590:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_array_typed(self) except -1: return issubclass(self.dtype.type, np.bool_) cpdef bint is_bool_array(ndarray values, bint skipna=False): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1820:25: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int _try_double_nogil(parser_t *parser, float64_t (*double_converter)( const char *, char **, char, char, char, int, int *, int *) nogil, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1590:47: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_array_typed(self) except -1: return issubclass(self.dtype.type, np.integer) # Note: only python-exposed for tests cpdef bint is_integer_array(ndarray values, bint skipna=True): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1838:28: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int _try_double_nogil(parser_t *parser, float64_t (*double_converter)( const char *, char **, char, char, char, int, int *, int *) nogil, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1590:67: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_value_typed(self, object value) except -1: return (util.is_integer_object(value) or (util.is_nan(value) and util.is_float_object(value))) cdef bint is_integer_na_array(ndarray values, bint skipna=True): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1853:30: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... char, char, int, int *, int *) nogil, int64_t col, int64_t line_start, int64_t line_end, bint na_filter, kh_str_starts_t *na_hashset, bint use_na_flist, const kh_float64_t *na_flist, float64_t NA, float64_t *data, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1594:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_array_typed(self) except -1: return issubclass(self.dtype.type, np.integer) cdef bint is_integer_float_array(ndarray values, bint skipna=True): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1869:33: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... char, char, int, int *, int *) nogil, int64_t col, int64_t line_start, int64_t line_end, bint na_filter, kh_str_starts_t *na_hashset, bint use_na_flist, const kh_float64_t *na_flist, float64_t NA, float64_t *data, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1594:48: 'float64_t' is not a type identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_array_typed(self) except -1: return issubclass(self.dtype.type, np.floating) # Note: only python-exposed for tests cpdef bint is_float_array(ndarray values): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1887:26: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... data += 1 return 0 cdef _try_uint64(parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1660:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_array_typed(self) except -1: return issubclass(self.dtype.type, np.complexfloating) cdef bint is_complex_array(ndarray values): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1905:27: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return 0 cdef _try_uint64(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1661:17: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... cdef class DecimalValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return is_decimal(value) cdef bint is_decimal_array(ndarray values, bint skipna=False): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1917:27: 'ndarray' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... return 0 cdef _try_uint64(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1661:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_array_typed(self) except -1: return issubclass(self.dtype.type, np.str_) cpdef bint is_string_array(ndarray values, bint skipna=False): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1934:27: 'ndarray' is not a type identifier Cython.Compiler.Errors.CompileError: pandas/_libs/ops.pyx Error compiling Cython file: ------------------------------------------------------------ ... raise OverflowError('Overflow') return result cdef inline int _try_uint64_nogil(parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1695:52: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_array_typed(self) except -1: return issubclass(self.dtype.type, np.bytes_) cdef bint is_bytes_array(ndarray values, bint skipna=False): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1951:25: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline int _try_uint64_nogil(parser_t *parser, int64_t col, int64_t line_start, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1696:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline int _try_uint64_nogil(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, bint na_filter, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1697:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int _try_uint64_nogil(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, bint na_filter, const kh_str_starts_t *na_hashset, uint64_t *data, uint_state *state) nogil: ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1699:34: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint is_generic_null = value is None or util.is_nan(value) if not is_generic_null: self.all_generic_na = False return self.is_value_typed(value) or is_typed_null or is_generic_null cdef bint _validate_skipna(self, ndarray values) except -1: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1985:37: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return error return 0 cdef _try_int64(parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1732:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return 0 cdef _try_int64(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1733:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_valid_null(self, object value) except -1: return is_null_datetime64(value) cpdef bint is_datetime_array(ndarray values, bint skipna=True): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2002:29: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return 0 cdef _try_int64(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1733:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return None, None return result, na_count cdef inline int _try_int64_nogil(parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1759:51: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result, na_count cdef inline int _try_int64_nogil(parser_t *parser, int64_t col, int64_t line_start, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1760:33: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result, na_count cdef inline int _try_int64_nogil(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, bint na_filter, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1761:33: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_value_typed(self, object value) except -1: return util.is_datetime64_object(value) # Note: only python-exposed for tests cpdef bint is_datetime64_array(ndarray values, bint skipna=True): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2016:31: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int _try_int64_nogil(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, bint na_filter, const kh_str_starts_t *na_hashset, int64_t NA, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1762:68: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int _try_int64_nogil(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, bint na_filter, const kh_str_starts_t *na_hashset, int64_t NA, int64_t *data, int *na_count) nogil: ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1763:33: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return util.is_datetime64_object(value) or ( PyDateTime_Check(value) and value.tzinfo is None ) cdef bint is_datetime_or_datetime64_array(ndarray values, bint skipna=True): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2031:42: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return 0 # -> tuple[ndarray[bool], int] cdef _try_bool_flex(parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1798:38: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_value_typed(self, object value) except -1: return is_timedelta(value) # Note: only python-exposed for tests cpdef bint is_timedelta_or_timedelta64_array(ndarray values, bint skipna=True): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2088:45: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return 0 # -> tuple[ndarray[bool], int] cdef _try_bool_flex(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1799:20: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_value_typed(self, object value) except -1: return PyDate_Check(value) # Note: only python-exposed for tests cpdef bint is_date_array(ndarray values, bint skipna=False): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2105:25: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return 0 # -> tuple[ndarray[bool], int] cdef _try_bool_flex(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1799:40: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_value_typed(self, object value) except -1: return PyTime_Check(value) # Note: only python-exposed for tests cpdef bint is_time_array(ndarray values, bint skipna=False): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2118:25: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return None, None return result.view(np.bool_), na_count cdef inline int _try_bool_flex_nogil(parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1822:55: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... TimeValidator validator = TimeValidator(len(values), skipna=skipna) return validator.validate(values) # FIXME: actually use skipna cdef bint is_period_array(ndarray values, bint skipna=True): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2125:26: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return None, None return result.view(np.bool_), na_count cdef inline int _try_bool_flex_nogil(parser_t *parser, int64_t col, int64_t line_start, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1823:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return False return True # Note: only python-exposed for tests cpdef bint is_interval_array(ndarray values): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2166:29: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result.view(np.bool_), na_count cdef inline int _try_bool_flex_nogil(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, bint na_filter, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1824:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def maybe_convert_numeric( ndarray[object, ndim=1] values, ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2225:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t line_start, int64_t line_end, bint na_filter, const kh_str_starts_t *na_hashset, const kh_str_starts_t *true_hashset, const kh_str_starts_t *false_hashset, uint8_t NA, uint8_t *data, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1828:37: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (ints, None) @cython.boundscheck(False) @cython.wraparound(False) def maybe_convert_objects(ndarray[object] objects, ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2449:26: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t line_start, int64_t line_end, bint na_filter, const kh_str_starts_t *na_hashset, const kh_str_starts_t *true_hashset, const kh_str_starts_t *false_hashset, uint8_t NA, uint8_t *data, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1828:49: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result return objects cdef _infer_all_nats(dtype, ndarray datetimes, ndarray timedeltas): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2800:28: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... for k in list(na_values): na_values[np.dtype(k)] = na_values[k] # -> ArrayLike cdef _apply_converter(object f, parser_t *parser, int64_t col, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:2010:50: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result return objects cdef _infer_all_nats(dtype, ndarray datetimes, ndarray timedeltas): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2800:47: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... na_values[np.dtype(k)] = na_values[k] # -> ArrayLike cdef _apply_converter(object f, parser_t *parser, int64_t col, int64_t line_start, int64_t line_end): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:2011:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... na_values[np.dtype(k)] = na_values[k] # -> ArrayLike cdef _apply_converter(object f, parser_t *parser, int64_t col, int64_t line_start, int64_t line_end): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:2011:42: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NoDefault = Literal[_NoDefault.no_default] @cython.boundscheck(False) @cython.wraparound(False) def map_infer_mask(ndarray arr, object f, const uint8_t[:] mask, bint convert=True, ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2838:19: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if values is None: return [] return [x.encode('utf-8') if isinstance(x, str) else x for x in values] def sanitize_objects(ndarray[object] values, set na_values) -> int: ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:2038:21: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NoDefault = Literal[_NoDefault.no_default] @cython.boundscheck(False) @cython.wraparound(False) def map_infer_mask(ndarray arr, object f, const uint8_t[:] mask, bint convert=True, ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2838:48: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def map_infer_mask(ndarray arr, object f, const uint8_t[:] mask, bint convert=True, object na_value=no_default, cnp.dtype dtype=np.dtype(object) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2839:47: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def map_infer( ndarray arr, object f, bint convert=True, bint ignore_na=False ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2896:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i, j] = row[j] return result def tuples_to_object_array(ndarray[object] tuples): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2984:27: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result @cython.wraparound(False) @cython.boundscheck(False) def fast_multiget(dict mapping, ndarray keys, default=np.nan) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:3049:32: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Note: we return True for empty list return True cpdef ndarray eq_NA_compat(ndarray[object] arr, object key): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:3107:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Note: we return True for empty list return True cpdef ndarray eq_NA_compat(ndarray[object] arr, object key): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:3107:27: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, start, field_count, passed_count, unnamed_count, level char *word str name, old_name uint64_t hr, data_line = 0 ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:624:12: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- list of unique values """ cdef: ndarray[object] buf ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:336:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise_parser_error('Error tokenizing data', self.parser) # -> dict[int, "ArrayLike"] cdef _read_rows(self, rows, bint trim): cdef: int64_t buffered_lines ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:857:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -> dict[int, "ArrayLike"] cdef _read_rows(self, rows, bint trim): cdef: int64_t buffered_lines int64_t irows ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:858:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def remove_noconvert(self, i: int) -> None: self.noconvert.remove(i) def _convert_column_data(self, rows: int | None) -> dict[int, "ArrayLike"]: cdef: int64_t i ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:921:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def _convert_column_data(self, rows: int | None) -> dict[int, "ArrayLike"]: cdef: int64_t i int nused kh_str_starts_t *na_hashset = NULL int64_t start, end ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:924:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int nused kh_str_starts_t *na_hashset = NULL int64_t start, end object name, na_flist, col_dtype = None bint na_filter = 0 int64_t num_cols ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:927:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _free_na_set(self, kh_str_starts_t *table): kh_destroy_str_starts(table) cdef _get_column_name(self, Py_ssize_t i, Py_ssize_t nused): cdef int64_t j ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1299:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def dicts_to_array(dicts: list, columns: list): cdef: Py_ssize_t i, j, k, n ndarray[object, ndim=2] result ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:440:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ For zipping multiple ndarrays into an ndarray of tuples. """ cdef: Py_ssize_t i, j, k, n ndarray[object, ndim=1] result ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:467:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... For zipping multiple ndarrays into an ndarray of tuples. """ cdef: Py_ssize_t i, j, k, n ndarray[object, ndim=1] result flatiter it ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:468:8: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ----- If indexer is not unique, only first occurrence is accounted. """ cdef: Py_ssize_t i, n = len(indexer) ndarray[intp_t, ndim=1] rev_indexer ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:526:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... If indexer is not unique, only first occurrence is accounted. """ cdef: Py_ssize_t i, n = len(indexer) ndarray[intp_t, ndim=1] rev_indexer intp_t idx ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:527:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: int error, na_count = 0 Py_ssize_t i, lines coliter_t it const char *word = NULL ndarray[object] result ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1411:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int na_count = 0 Py_ssize_t i, size, lines coliter_t it const char *word = NULL int64_t NA = -1 ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1467:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, size, lines coliter_t it const char *word = NULL int64_t NA = -1 int64_t[::1] codes ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1468:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... coliter_t it const char *word = NULL int64_t NA = -1 int64_t[::1] codes int64_t current_category = 0 ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1469:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -> ndarray[f'|S{width}'] cdef _to_fw_string(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, int64_t width): cdef: char *data ndarray result ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1520:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void _to_fw_string_nogil(parser_t *parser, int64_t col, int64_t line_start, int64_t line_end, size_t width, char *data) nogil: cdef: int64_t i ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1535:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t line_start, int64_t line_end, bint na_filter, kh_str_starts_t *na_hashset, object na_flist): cdef: int error, na_count = 0 Py_ssize_t lines float64_t *data ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1564:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint na_filter, kh_str_starts_t *na_hashset, object na_flist): cdef: int error, na_count = 0 Py_ssize_t lines float64_t *data float64_t NA = na_values[np.float64] ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1565:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int error, na_count = 0 Py_ssize_t lines float64_t *data float64_t NA = na_values[np.float64] kh_float64_t *na_fset ndarray[float64_t] result ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1567:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def maybe_indices_to_slice(ndarray[intp_t, ndim=1] indices, int max_len): cdef: Py_ssize_t i, n = len(indices) intp_t k, vstart, vlast, v ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:562:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint na_filter, kh_str_starts_t *na_hashset): cdef: int error Py_ssize_t lines coliter_t it uint64_t *data ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1667:8: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: int error Py_ssize_t lines coliter_t it uint64_t *data ndarray result ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1668:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint na_filter, kh_str_starts_t *na_hashset): cdef: int error, na_count = 0 Py_ssize_t lines coliter_t it int64_t *data ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1739:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: int error, na_count = 0 Py_ssize_t lines coliter_t it int64_t *data ndarray result ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1740:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int error, na_count = 0 Py_ssize_t lines coliter_t it int64_t *data ndarray result int64_t NA = na_values[np.int64] ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1741:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.lib cimport c_is_list_like @cython.wraparound(False) @cython.boundscheck(False) def unstack(numeric_object_t[:, :] values, const uint8_t[:] mask, ^ ------------------------------------------------------------ pandas/_libs/reshape.pyx:21:49: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... const kh_str_starts_t *true_hashset, const kh_str_starts_t *false_hashset): cdef: int error, na_count = 0 Py_ssize_t lines uint8_t *data ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1806:8: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def unstack(numeric_object_t[:, :] values, const uint8_t[:] mask, Py_ssize_t stride, Py_ssize_t length, Py_ssize_t width, numeric_object_t[:, :] new_values, uint8_t[:, :] new_mask) -> None: ^ ------------------------------------------------------------ pandas/_libs/reshape.pyx:23:47: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... const kh_str_starts_t *false_hashset): cdef: int error, na_count = 0 Py_ssize_t lines uint8_t *data ndarray result ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1807:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... nulls += 1 @cython.wraparound(False) @cython.boundscheck(False) def explode(ndarray[object] values): ^ ------------------------------------------------------------ pandas/_libs/reshape.pyx:82:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Int64 (datetime64) version of generic python version in ``groupby.py``. """ cdef: Py_ssize_t lenidx, lenbin, i, j, bc, vc ndarray[int64_t, ndim=1] bins ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:815:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: int error, na_count = 0 Py_ssize_t lines uint8_t *data ndarray result uint8_t NA = na_values[np.bool_] ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1808:8: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Int64 (datetime64) version of generic python version in ``groupby.py``. """ cdef: Py_ssize_t lenidx, lenbin, i, j, bc, vc ndarray[int64_t, ndim=1] bins int64_t l_bin, r_bin, nat_count ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:816:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # caller takes responsibility for freeing the hash table cdef: khiter_t k kh_float64_t *table int ret = 0 float64_t val ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1921:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- np.ndarray[np.int, ndim=1] """ cdef: Py_ssize_t i, l, r ndarray[intp_t, ndim=1] out = cnp.PyArray_EMPTY(1, codes.shape, cnp.NPY_INTP, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:892:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef raise_parser_error(object base, parser_t *parser): cdef: object old_exc object exc_type PyObject *type ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1941:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... const intp_t[:] labels, Py_ssize_t max_bin, int axis): cdef: Py_ssize_t i, j, k, n ndarray[int64_t, ndim=2] counts ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:909:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef raise_parser_error(object base, parser_t *parser): cdef: object old_exc object exc_type PyObject *type PyObject *value ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1942:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def generate_slices(const intp_t[:] labels, Py_ssize_t ngroups): cdef: Py_ssize_t i, group_size, n, start intp_t lab ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:938:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: object old_exc object exc_type PyObject *type PyObject *value PyObject *traceback ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1943:8: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) def generate_slices(const intp_t[:] labels, Py_ssize_t ngroups): cdef: Py_ssize_t i, group_size, n, start intp_t lab int64_t[::1] starts, ends ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:939:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t line_start, int64_t line_end): cdef: Py_ssize_t i, lines coliter_t it const char *word = NULL ndarray[object] result ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:2016:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 'categorical' """ cdef: Py_ssize_t i, n object val ndarray values ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1460:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n object val ndarray values bint seen_pdnat = False bint seen_val = False flatiter it ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1463:8: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) cdef bint _validate(self, ndarray values) except -1: cdef: Py_ssize_t i Py_ssize_t n = values.size flatiter it = PyArray_IterNew(values) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1764:12: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif kind == b'c': pass elif kind == b'O': pass # try if itemsize == -1 or itemsize == sizeof(): ^ ------------------------------------------------------------ (tree fragment):50:55: Expected an identifier or literal Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) cdef bint _validate_skipna(self, ndarray values) except -1: cdef: Py_ssize_t i Py_ssize_t n = values.size flatiter it = PyArray_IterNew(values) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1782:12: 'flatiter' is not a type identifier Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/reshape.pyx Error compiling Cython file: ------------------------------------------------------------ ... import cmath import math import numpy as np from numpy cimport import_array ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:6:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import cmath import math import numpy as np from numpy cimport import_array ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:6:0: 'numpy/import_array.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # this _may_ be 2D. cdef: Py_ssize_t i, N = values.size int dtype_code = -10000 # i.e. c_FreqGroup.FR_UND object val flatiter it ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2135:8: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Otherwise, iterate and do full inference. cdef: int status, maybe_int Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2286:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: int status, maybe_int Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2287:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from libc.stdint cimport ( ^ ------------------------------------------------------------ pandas/_libs/util.pxd:2:0: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 124, in analyse_declarations: ModuleNode(util.pxd:1:0, full_module_name = 'pandas._libs.util', is_pxd = True) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:1:0) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:2:0) File 'Nodes.py', line 7994, in analyse_declarations: FromCImportStatNode(util.pxd:2:0, imported_names = [...]/12, module_name = 'libc.stdint') Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 7994, in analyse_declarations File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1273, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 232, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 146, in process_pxd File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 43, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 365, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Includes/libc/stdint.pxd Error compiling Cython file: ------------------------------------------------------------ ... int status, maybe_int Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2288:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport import_array import_array() from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:10:0: 'pandas/_libs/util/is_array.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ndarray[uint64_t, ndim=1] uints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2289:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport import_array import_array() from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:10:0: 'pandas/_libs/util/is_complex_object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ndarray[uint64_t, ndim=1] uints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT64, 0) ndarray[uint8_t, ndim=1] bools = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT8, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2290:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport import_array import_array() from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:10:0: 'pandas/_libs/util/is_real_number_object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ndarray[uint64_t, ndim=1] uints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT64, 0) ndarray[uint8_t, ndim=1] bools = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT8, 0) ndarray[uint8_t, ndim=1] mask = np.zeros(n, dtype="u1") ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2291:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ndarray[uint64_t, ndim=1] uints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT64, 0) ndarray[uint8_t, ndim=1] bools = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT8, 0) ndarray[uint8_t, ndim=1] mask = np.zeros(n, dtype="u1") float64_t fval ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2292:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... np.ndarray or ExtensionArray Array of converted object values to more specific dtypes if applicable. """ cdef: Py_ssize_t i, n, itemsize_max = 0 ndarray[float64_t] floats ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2497:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Array of converted object values to more specific dtypes if applicable. """ cdef: Py_ssize_t i, n, itemsize_max = 0 ndarray[float64_t] floats ndarray[complex128_t] complexes ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2498:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, n, itemsize_max = 0 ndarray[float64_t] floats ndarray[complex128_t] complexes ndarray[int64_t] ints ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2499:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray, uint8_t, uint64_t, ) cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:61:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, n, itemsize_max = 0 ndarray[float64_t] floats ndarray[complex128_t] complexes ndarray[int64_t] ints ndarray[uint64_t] uints ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2500:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from pandas.core.dtypes.dtypes import CategoricalDtype from pandas.core.dtypes.inference import is_dict_like cdef: float64_t INF = np.inf ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:117:21: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n, itemsize_max = 0 ndarray[float64_t] floats ndarray[complex128_t] complexes ndarray[int64_t] ints ndarray[uint64_t] uints ndarray[uint8_t] bools ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2501:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[float64_t] floats ndarray[complex128_t] complexes ndarray[int64_t] ints ndarray[uint64_t] uints ndarray[uint8_t] bools int64_t[::1] idatetimes ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2502:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[complex128_t] complexes ndarray[int64_t] ints ndarray[uint64_t] uints ndarray[uint8_t] bools int64_t[::1] idatetimes int64_t[::1] itimedeltas ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2503:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # set encoding for native Python and C library if isinstance(encoding_errors, str): encoding_errors = encoding_errors.encode("utf-8") elif encoding_errors is None: encoding_errors = b"strict" Py_INCREF(encoding_errors) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:383:8: 'Py_INCREF' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[uint8_t] bools int64_t[::1] idatetimes int64_t[::1] itimedeltas Seen seen = Seen() object val float64_t fval, fnan = np.nan ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2506:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if isinstance(encoding_errors, str): encoding_errors = encoding_errors.encode("utf-8") elif encoding_errors is None: encoding_errors = b"strict" Py_INCREF(encoding_errors) self.encoding_errors = PyBytes_AsString(encoding_errors) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:384:31: 'PyBytes_AsString' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if isinstance(encoding_errors, str): encoding_errors = encoding_errors.encode("utf-8") elif encoding_errors is None: encoding_errors = b"strict" Py_INCREF(encoding_errors) self.encoding_errors = PyBytes_AsString(encoding_errors) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:384:47: Storing unsafe C derivative of temporary Python reference Error compiling Cython file: ------------------------------------------------------------ ... ------- np.ndarray """ cdef: Py_ssize_t i, n ndarray result ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2864:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- np.ndarray """ cdef: Py_ssize_t i, n ndarray[object] result ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2915:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- np.ndarray[object, ndim=2] """ cdef: Py_ssize_t i, j, n, k, tmp ndarray[object, ndim=2] result ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2961:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def tuples_to_object_array(ndarray[object] tuples): cdef: Py_ssize_t i, j, n, k, tmp ndarray[object, ndim=2] result ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2987:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- np.ndarray[object, ndim=2] """ cdef: Py_ssize_t i, j, n, k, tmp ndarray[object, ndim=2] result ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:3017:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) def fast_multiget(dict mapping, ndarray keys, default=np.nan) -> np.ndarray: cdef: Py_ssize_t i, n = len(keys) object val ndarray[object] output = np.empty(n, dtype='O') ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:3053:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Check for `arr == key`, treating all values as not-equal to pd.NA. key is assumed to have `not isna(key)` """ cdef: ndarray[uint8_t, cast=True] result = cnp.PyArray_EMPTY(arr.ndim, arr.shape, cnp.NPY_BOOL, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:3114:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: self.parser.quoting = quoting self.parser.quotechar = ord(quote_char) cdef _make_skiprow_set(self): if util.is_integer_object(self.skiprows): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:595:15: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... parser_set_skipfirstnrows(self.parser, self.skiprows) elif not callable(self.skiprows): for i in self.skiprows: parser_add_skiprow(self.parser, i) else: self.parser.skipfunc = self.skiprows ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:601:36: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... unnamed_col_indices = [] for i in range(field_count): word = self.parser.words[start + i] name = PyUnicode_DecodeUTF8(word, strlen(word), ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:664:27: 'PyUnicode_DecodeUTF8' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... unnamed_col_indices = [] for i in range(field_count): word = self.parser.words[start + i] name = PyUnicode_DecodeUTF8(word, strlen(word), ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:664:54: 'strlen' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... with nogil: status = tokenize_nrows(self.parser, nrows, self.encoding_errors) if self.parser.warn_msg != NULL: print(PyUnicode_DecodeUTF8( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:845:18: 'PyUnicode_DecodeUTF8' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... with nogil: status = tokenize_nrows(self.parser, nrows, self.encoding_errors) if self.parser.warn_msg != NULL: print(PyUnicode_DecodeUTF8( self.parser.warn_msg, strlen(self.parser.warn_msg), ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:846:38: 'strlen' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if self.parser.warn_msg != NULL: print(PyUnicode_DecodeUTF8( self.parser.warn_msg, strlen(self.parser.warn_msg), self.encoding_errors), file=sys.stderr) free(self.parser.warn_msg) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:848:12: 'free' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... else: with nogil: status = tokenize_all_rows(self.parser, self.encoding_errors) if self.parser.warn_msg != NULL: print(PyUnicode_DecodeUTF8( ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:876:22: 'PyUnicode_DecodeUTF8' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... with nogil: status = tokenize_all_rows(self.parser, self.encoding_errors) if self.parser.warn_msg != NULL: print(PyUnicode_DecodeUTF8( self.parser.warn_msg, strlen(self.parser.warn_msg), ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:877:42: 'strlen' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if self.parser.warn_msg != NULL: print(PyUnicode_DecodeUTF8( self.parser.warn_msg, strlen(self.parser.warn_msg), self.encoding_errors), file=sys.stderr) free(self.parser.warn_msg) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:879:16: 'free' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... def _ensure_encoded(list lst): cdef: list result = [] for x in lst: if isinstance(x, str): x = PyUnicode_AsUTF8String(x) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1347:16: 'PyUnicode_AsUTF8String' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if k != table.n_buckets: # this increments the refcount, but need to test pyval = table.vals[k] else: # box it. new ref? pyval = PyUnicode_Decode(word, strlen(word), "utf-8", encoding_errors) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1444:20: 'PyUnicode_Decode' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if k != table.n_buckets: # this increments the refcount, but need to test pyval = table.vals[k] else: # box it. new ref? pyval = PyUnicode_Decode(word, strlen(word), "utf-8", encoding_errors) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1444:43: 'strlen' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... floating, ) from pandas.util._exceptions import find_stack_level import_datetime() ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:38:0: 'import_datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray, uint8_t, uint64_t, ) cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:61:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.timezones cimport tz_compare # constants that will be compared to potentially arbitrarily large # python int cdef: object oINT64_MAX = INT64_MAX ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:131:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.timezones cimport tz_compare # constants that will be compared to potentially arbitrarily large # python int cdef: object oINT64_MAX = INT64_MAX ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:131:33: 'INT64_MAX' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # constants that will be compared to potentially arbitrarily large # python int cdef: object oINT64_MAX = INT64_MAX object oINT64_MIN = INT64_MIN ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:132:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # constants that will be compared to potentially arbitrarily large # python int cdef: object oINT64_MAX = INT64_MAX object oINT64_MIN = INT64_MIN ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:132:33: 'INT64_MIN' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # constants that will be compared to potentially arbitrarily large # python int cdef: object oINT64_MAX = INT64_MAX object oINT64_MIN = INT64_MIN object oUINT64_MAX = UINT64_MAX ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:133:26: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # constants that will be compared to potentially arbitrarily large # python int cdef: object oINT64_MAX = INT64_MAX object oINT64_MIN = INT64_MIN object oUINT64_MAX = UINT64_MAX ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:133:35: 'UINT64_MAX' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np from numpy cimport import_array import_array() ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:8:0: 'import_array' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: object oINT64_MAX = INT64_MAX object oINT64_MIN = INT64_MIN object oUINT64_MAX = UINT64_MAX float64_t NaN = np.NaN ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:135:21: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... object oUINT64_MAX = UINT64_MAX float64_t NaN = np.NaN # python-visible i8max = INT64_MAX ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:138:9: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if isinstance(a, str) or isinstance(b, str): assert a == b, f"{a} != {b}" return True a_is_ndarray = is_array(a) ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:107:19: 'is_array' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... object oUINT64_MAX = UINT64_MAX float64_t NaN = np.NaN # python-visible i8max = INT64_MAX ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:138:17: 'INT64_MAX' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if isinstance(a, str) or isinstance(b, str): assert a == b, f"{a} != {b}" return True a_is_ndarray = is_array(a) b_is_ndarray = is_array(b) ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:108:19: 'is_array' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... else: # box it. new ref? pyval = PyUnicode_Decode(word, strlen(word), "utf-8", encoding_errors) k = kh_put_strbox(table, word, &ret) table.vals[k] = pyval ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1447:29: 'PyObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t NaN = np.NaN # python-visible i8max = INT64_MAX u8max = UINT64_MAX ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:139:9: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t NaN = np.NaN # python-visible i8max = INT64_MAX u8max = UINT64_MAX ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:139:18: 'UINT64_MAX' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... k = kh_get_str(table, word) # not in the hash table if k == table.n_buckets: k = kh_put_str(table, word, &ret) table.vals[k] = current_category ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1500:26: Invalid index type 'khiter_t' Error compiling Cython file: ------------------------------------------------------------ ... u8max = UINT64_MAX @cython.wraparound(False) @cython.boundscheck(False) def memory_usage_of_objects(arr: object[:]) -> int64_t: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:144:47: 'int64_t' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if a == b: # object comparison return True if is_real_number_object(a) and is_real_number_object(b): ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:190:7: 'is_real_number_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i, j] = onan return result def fast_zip(list ndarrays) -> ndarray[object]: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:461:31: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if a == b: # object comparison return True if is_real_number_object(a) and is_real_number_object(b): ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:190:36: 'is_real_number_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if k == table.n_buckets: k = kh_put_str(table, word, &ret) table.vals[k] = current_category current_category += 1 codes[i] = table.vals[k] ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1503:33: Invalid index type 'khiter_t' Error compiling Cython file: ------------------------------------------------------------ ... if not math.isclose(fa, fb, rel_tol=rtol, abs_tol=atol): assert False, (f"expected {fb:.5f} but got {fa:.5f}, " f"with rtol={rtol}, atol={atol}") return True if is_complex_object(a) and is_complex_object(b): ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:202:7: 'is_complex_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_ITER_NEXT(it) return result def get_reverse_indexer(const intp_t[:] indexer, Py_ssize_t length) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:503:71: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if not math.isclose(fa, fb, rel_tol=rtol, abs_tol=atol): assert False, (f"expected {fb:.5f} but got {fa:.5f}, " f"with rtol={rtol}, atol={atol}") return True if is_complex_object(a) and is_complex_object(b): ^ ------------------------------------------------------------ pandas/_libs/testing.pyx:202:32: 'is_complex_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # parse and box categories to python strings result = np.empty(table.n_occupied, dtype=np.object_) for k in range(table.n_buckets): if kh_exist_str(table, k): result[table.vals[k]] = PyUnicode_FromString(table.keys[k]) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1509:67: Invalid index type 'khiter_t' Error compiling Cython file: ------------------------------------------------------------ ... # TODO: get rid of this in StringArray and modify # and go through ensure_string_array instead @cython.wraparound(False) @cython.boundscheck(False) def convert_nans_to_NA(ndarr_object arr) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:676:44: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # parse and box categories to python strings result = np.empty(table.n_occupied, dtype=np.object_) for k in range(table.n_buckets): if kh_exist_str(table, k): result[table.vals[k]] = PyUnicode_FromString(table.keys[k]) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1509:29: Invalid index type 'khiter_t' Error compiling Cython file: ------------------------------------------------------------ ... # TODO: get rid of this in StringArray and modify # and go through ensure_string_array instead @cython.wraparound(False) @cython.boundscheck(False) def convert_nans_to_NA(ndarr_object arr) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:676:44: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): COLITER_NEXT(it, word) strncpy(data, word, width) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1543:8: 'strncpy' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def get_level_sorter( ndarray[int64_t, ndim=1] codes, const intp_t[:] starts ) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:873:5: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[float64_t] result bint use_na_flist = len(na_flist) > 0 lines = line_end - line_start result = np.empty(lines, dtype=np.float64) data = result.data ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1572:12: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return "mixed-integer" return "mixed" def infer_datetimelike_array(arr: ndarray[object]) -> tuple[str, bool]: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1616:34: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... skipna=skipna) return validator.validate(values) # Note: only python-exposed for tests def is_datetime_with_singletz_array(values: ndarray) -> bool: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2039:44: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1621:24: 'strcasecmp' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1622:28: 'strcasecmp' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... convert_timedelta=False) return result def to_object_array(rows: object, min_width: int = 0) -> ndarray: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2941:57: 'ndarray' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1623:28: 'strcasecmp' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1624:28: 'strcasecmp' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1626:26: 'strcasecmp' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... >>> pd.api.types.is_scalar(Fraction(3, 5)) True """ # Start with C-optimized checks if (cnp.PyArray_IsAnyScalar(val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:215:11: cimported module has no attribute 'PyArray_IsAnyScalar' Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1627:28: 'strcasecmp' is not a constant, variable or function identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1645:20: 'strcasecmp' is not a constant, variable or function identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1646:24: 'strcasecmp' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... """ # Start with C-optimized checks if (cnp.PyArray_IsAnyScalar(val) # PyArray_IsAnyScalar is always False for bytearrays on Py3 or PyDate_Check(val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:217:15: 'PyDate_Check' is not a constant, variable or function identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1647:24: 'strcasecmp' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # Start with C-optimized checks if (cnp.PyArray_IsAnyScalar(val) # PyArray_IsAnyScalar is always False for bytearrays on Py3 or PyDate_Check(val) or PyDelta_Check(val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:218:15: 'PyDelta_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1648:24: 'strcasecmp' is not a constant, variable or function identifier Cython.Compiler.Errors.CompileError: pandas/_libs/testing.pyx Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1650:22: 'strcasecmp' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # Start with C-optimized checks if (cnp.PyArray_IsAnyScalar(val) # PyArray_IsAnyScalar is always False for bytearrays on Py3 or PyDate_Check(val) or PyDelta_Check(val) or PyTime_Check(val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:219:15: 'PyTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1651:24: 'strcasecmp' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... or val is None): return True # Next use C-optimized checks to exclude common non-scalars before falling # back to non-optimized checks. if PySequence_Check(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:228:7: 'PySequence_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray result uint_state state lines = line_end - line_start result = np.empty(lines, dtype=np.uint64) data = result.data ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1673:12: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # e.g. list, tuple # includes np.ndarray, Series which PyNumber_Check can return True for return False # Note: PyNumber_Check check includes Decimal, Fraction, numbers.Number return (PyNumber_Check(val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:234:12: 'PyNumber_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table state.seen_null = 1 data[i] = 0 continue data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1717:49: 'INT64_MAX' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_ndarray : bool """ if PyArray_CheckScalar(val): return cnp.PyArray_DescrFromScalar(val).itemsize ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:253:18: cimported module has no attribute 'PyArray_DescrFromScalar' Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table state.seen_null = 1 data[i] = 0 continue data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1717:60: 'UINT64_MAX' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... >>> is_iterator("foo") False >>> is_iterator(1) False """ return PyIter_Check(obj) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:287:11: 'PyIter_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1724:49: 'INT64_MAX' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... >>> item_from_zerodim(np.array(1)) 1 >>> item_from_zerodim(np.array([1])) array([1]) """ if cnp.PyArray_IsZeroDim(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:313:10: cimported module has no attribute 'PyArray_IsZeroDim' Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1724:60: 'UINT64_MAX' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... 1 >>> item_from_zerodim(np.array([1])) array([1]) """ if cnp.PyArray_IsZeroDim(val): return cnp.PyArray_ToScalar(cnp.PyArray_DATA(val), val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:314:18: cimported module has no attribute 'PyArray_ToScalar' Error compiling Cython file: ------------------------------------------------------------ ... ndarray result int64_t NA = na_values[np.int64] lines = line_end - line_start result = np.empty(lines, dtype=np.int64) data = result.data ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1745:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 1 >>> item_from_zerodim(np.array([1])) array([1]) """ if cnp.PyArray_IsZeroDim(val): return cnp.PyArray_ToScalar(cnp.PyArray_DATA(val), val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:314:39: cimported module has no attribute 'PyArray_DATA' Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table na_count[0] += 1 data[i] = NA continue data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1782:41: 'INT64_MIN' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table na_count[0] += 1 data[i] = NA continue data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1782:52: 'INT64_MAX' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1789:41: 'INT64_MIN' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1789:52: 'INT64_MAX' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray result uint8_t NA = na_values[np.bool_] lines = line_end - line_start result = np.empty(lines, dtype=np.uint8) data = result.data ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1812:12: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # None creeps in sometimes, which isn't possible here if not isinstance(val, bytes): kh_destroy_str_starts(table) raise ValueError('Must be all encoded bytes') kh_put_str_starts_item(table, PyBytes_AsString(val), &ret) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1903:38: 'PyBytes_AsString' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... object exc_type PyObject *type PyObject *value PyObject *traceback if PyErr_Occurred(): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1945:7: 'PyErr_Occurred' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... PyObject *type PyObject *value PyObject *traceback if PyErr_Occurred(): PyErr_Fetch(&type, &value, &traceback) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1946:8: 'PyErr_Fetch' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... PyObject *value PyObject *traceback if PyErr_Occurred(): PyErr_Fetch(&type, &value, &traceback) Py_XDECREF(traceback) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1947:8: 'Py_XDECREF' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... PyErr_Fetch(&type, &value, &traceback) Py_XDECREF(traceback) if value != NULL: old_exc = value Py_XDECREF(value) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1951:12: 'Py_XDECREF' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if type != NULL: exc_type = type else: exc_type = ParserError Py_XDECREF(type) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1961:16: 'Py_XDECREF' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... exc_type = ParserError Py_XDECREF(type) raise exc_type(old_exc) else: Py_XDECREF(type) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1964:16: 'Py_XDECREF' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... result = np.empty(n, dtype=object) # initialize tuples on first pass arr = ndarrays[0] it = PyArray_IterNew(arr) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:478:10: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = np.empty(n, dtype=object) # initialize tuples on first pass arr = ndarrays[0] it = PyArray_IterNew(arr) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:478:19: 'PyArray_IterNew' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... result = np.empty(n, dtype=object) # initialize tuples on first pass arr = ndarrays[0] it = PyArray_IterNew(arr) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:478:9: Casting temporary Python object to non-numeric non-Python type Error compiling Cython file: ------------------------------------------------------------ ... # initialize tuples on first pass arr = ndarrays[0] it = PyArray_IterNew(arr) for i in range(n): val = PyArray_GETITEM(arr, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:480:14: 'PyArray_GETITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # initialize tuples on first pass arr = ndarrays[0] it = PyArray_IterNew(arr) for i in range(n): val = PyArray_GETITEM(arr, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:480:35: 'PyArray_ITER_DATA' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # initialize tuples on first pass arr = ndarrays[0] it = PyArray_IterNew(arr) for i in range(n): val = PyArray_GETITEM(arr, PyArray_ITER_DATA(it)) tup = PyTuple_New(k) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:481:14: 'PyTuple_New' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... it = PyArray_IterNew(arr) for i in range(n): val = PyArray_GETITEM(arr, PyArray_ITER_DATA(it)) tup = PyTuple_New(k) PyTuple_SET_ITEM(tup, 0, val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:483:8: 'PyTuple_SET_ITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... for i in range(n): val = PyArray_GETITEM(arr, PyArray_ITER_DATA(it)) tup = PyTuple_New(k) PyTuple_SET_ITEM(tup, 0, val) Py_INCREF(val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:484:8: 'Py_INCREF' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... tup = PyTuple_New(k) PyTuple_SET_ITEM(tup, 0, val) Py_INCREF(val) result[i] = tup PyArray_ITER_NEXT(it) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:486:8: 'PyArray_ITER_NEXT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = tup PyArray_ITER_NEXT(it) for j in range(1, k): arr = ndarrays[j] it = PyArray_IterNew(arr) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:490:14: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = tup PyArray_ITER_NEXT(it) for j in range(1, k): arr = ndarrays[j] it = PyArray_IterNew(arr) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:490:23: 'PyArray_IterNew' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = tup PyArray_ITER_NEXT(it) for j in range(1, k): arr = ndarrays[j] it = PyArray_IterNew(arr) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:490:13: Casting temporary Python object to non-numeric non-Python type Error compiling Cython file: ------------------------------------------------------------ ... it = PyArray_IterNew(arr) if len(arr) != n: raise ValueError("all arrays must be same length") for i in range(n): val = PyArray_GETITEM(arr, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:495:18: 'PyArray_GETITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... it = PyArray_IterNew(arr) if len(arr) != n: raise ValueError("all arrays must be same length") for i in range(n): val = PyArray_GETITEM(arr, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:495:39: 'PyArray_ITER_DATA' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if len(arr) != n: raise ValueError("all arrays must be same length") for i in range(n): val = PyArray_GETITEM(arr, PyArray_ITER_DATA(it)) PyTuple_SET_ITEM(result[i], j, val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:496:12: 'PyTuple_SET_ITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError("all arrays must be same length") for i in range(n): val = PyArray_GETITEM(arr, PyArray_ITER_DATA(it)) PyTuple_SET_ITEM(result[i], j, val) Py_INCREF(val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:497:12: 'Py_INCREF' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:4:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... for i in range(n): val = PyArray_GETITEM(arr, PyArray_ITER_DATA(it)) PyTuple_SET_ITEM(result[i], j, val) Py_INCREF(val) PyArray_ITER_NEXT(it) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:498:12: 'PyArray_ITER_NEXT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:4:0: 'cpython/datetime/PyDate_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:4:0: 'cpython/datetime/PyDateTime_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:4:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:4:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:4:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... vstart = indices[0] if vstart < 0 or max_len <= vstart: return indices if n == 1: return slice(vstart, (vstart + 1)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:572:30: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # import datetime C API import_datetime() cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:18:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... v = indices[i] if v - indices[i - 1] != k: return indices if k > 0: return slice(vstart, (vlast + 1), k) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:588:34: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # import datetime C API import_datetime() cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:19:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return slice(vstart, (vlast + 1), k) else: if vlast == 0: return slice(vstart, None, k) else: return slice(vstart, (vlast - 1), k) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:593:38: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # import datetime C API import_datetime() cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:19:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... y = right[i] # we are either not equal or both nan # I think None == None will be true here try: if PyArray_Check(x) and PyArray_Check(y): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:645:15: 'PyArray_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # import datetime C API import_datetime() cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:19:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... y = right[i] # we are either not equal or both nan # I think None == None will be true here try: if PyArray_Check(x) and PyArray_Check(y): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:645:36: 'PyArray_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if not array_equivalent_object(x, y): return False elif (x is C_NA) ^ (y is C_NA): return False elif not ( PyObject_RichCompareBool(x, y, Py_EQ) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:651:16: 'PyObject_RichCompareBool' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if not array_equivalent_object(x, y): return False elif (x is C_NA) ^ (y is C_NA): return False elif not ( PyObject_RichCompareBool(x, y, Py_EQ) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:651:47: 'Py_EQ' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... or is_matching_na(x, y, nan_matches_none=True) ): return False except ValueError: # Avoid raising ValueError when comparing Numpy arrays to other types if cnp.PyArray_IsAnyScalar(x) != cnp.PyArray_IsAnyScalar(y): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:657:18: cimported module has no attribute 'PyArray_IsAnyScalar' Error compiling Cython file: ------------------------------------------------------------ ... or is_matching_na(x, y, nan_matches_none=True) ): return False except ValueError: # Avoid raising ValueError when comparing Numpy arrays to other types if cnp.PyArray_IsAnyScalar(x) != cnp.PyArray_IsAnyScalar(y): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:657:48: cimported module has no attribute 'PyArray_IsAnyScalar' Error compiling Cython file: ------------------------------------------------------------ ... except ValueError: # Avoid raising ValueError when comparing Numpy arrays to other types if cnp.PyArray_IsAnyScalar(x) != cnp.PyArray_IsAnyScalar(y): # Only compare scalars to scalars and non-scalars to non-scalars return False elif (not (cnp.PyArray_IsPythonScalar(x) or cnp.PyArray_IsPythonScalar(y)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:660:26: cimported module has no attribute 'PyArray_IsPythonScalar' Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... except ValueError: # Avoid raising ValueError when comparing Numpy arrays to other types if cnp.PyArray_IsAnyScalar(x) != cnp.PyArray_IsAnyScalar(y): # Only compare scalars to scalars and non-scalars to non-scalars return False elif (not (cnp.PyArray_IsPythonScalar(x) or cnp.PyArray_IsPythonScalar(y)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:660:59: cimported module has no attribute 'PyArray_IsPythonScalar' Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... out = arr.astype(str).astype(object) out[arr.isna()] = na_value return out arr = arr.to_numpy() elif not util.is_array(arr): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:747:17: cimported module has no attribute 'is_array' Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if isinstance(val, str): continue if not checknull(val): if not util.is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:762:23: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint all_arrays = True for i in range(n): val = obj[i] if not (isinstance(val, list) or util.is_array(val) or hasattr(val, '_data')): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:791:20: cimported module has no attribute 'is_array' Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- np.ndarray[np.int, ndim=1] """ cdef: Py_ssize_t i, l, r ndarray[intp_t, ndim=1] out = cnp.PyArray_EMPTY(1, codes.shape, cnp.NPY_INTP, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:892:41: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- np.ndarray[np.int, ndim=1] """ cdef: Py_ssize_t i, l, r ndarray[intp_t, ndim=1] out = cnp.PyArray_EMPTY(1, codes.shape, cnp.NPY_INTP, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:892:75: cimported module has no attribute 'NPY_INTP' Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if lab != -1: if k == 1: # When k = 1 we do not want to return a tuple as key tup = keys[0][sorted_labels[0][i - 1]] else: tup = PyTuple_New(k) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1000:26: 'PyTuple_New' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... tup = keys[0][sorted_labels[0][i - 1]] else: tup = PyTuple_New(k) for j in range(k): val = keys[j][sorted_labels[j][i - 1]] PyTuple_SET_ITEM(tup, j, val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1003:24: 'PyTuple_SET_ITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: tup = PyTuple_New(k) for j in range(k): val = keys[j][sorted_labels[j][i - 1]] PyTuple_SET_ITEM(tup, j, val) Py_INCREF(val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1004:24: 'Py_INCREF' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if k == 1: # When k = 1 we do not want to return a tuple as key tup = keys[0][sorted_labels[0][n - 1]] else: tup = PyTuple_New(k) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1013:14: 'PyTuple_New' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... tup = keys[0][sorted_labels[0][n - 1]] else: tup = PyTuple_New(k) for j in range(k): val = keys[j][sorted_labels[j][n - 1]] PyTuple_SET_ITEM(tup, j, val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1016:12: 'PyTuple_SET_ITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... else: tup = PyTuple_New(k) for j in range(k): val = keys[j][sorted_labels[j][n - 1]] PyTuple_SET_ITEM(tup, j, val) Py_INCREF(val) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1017:12: 'Py_INCREF' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- bool """ return util.is_float_object(obj) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1033:15: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- bool """ return util.is_integer_object(obj) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1044:15: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from libc.stdint cimport ( ^ ------------------------------------------------------------ pandas/_libs/util.pxd:2:0: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 124, in analyse_declarations: ModuleNode(util.pxd:1:0, full_module_name = 'pandas._libs.util', is_pxd = True) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:1:0) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(util.pxd:2:0) File 'Nodes.py', line 7994, in analyse_declarations: FromCImportStatNode(util.pxd:2:0, imported_names = [...]/12, module_name = 'libc.stdint') Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 7994, in analyse_declarations File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1273, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 232, in find_module File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 146, in process_pxd File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 43, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 365, in parse File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Includes/libc/stdint.pxd Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- bool """ return util.is_bool_object(obj) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1055:15: cimported module has no attribute 'is_bool_object' Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct, pydate_to_dt64, pydatetime_to_dt64, string_to_dts, ) from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:43:0: 'pandas/_libs/util/is_datetime64_object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- bool """ return util.is_complex_object(obj) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1066:15: cimported module has no attribute 'is_complex_object' Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct, pydate_to_dt64, pydatetime_to_dt64, string_to_dts, ) from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:43:0: 'pandas/_libs/util/is_float_object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return c_is_list_like(obj, allow_sets) cdef inline bint c_is_list_like(object obj, bint allow_sets) except -1: # first, performance short-cuts for the most common cases if util.is_array(obj): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1132:11: cimported module has no attribute 'is_array' Error compiling Cython file: ------------------------------------------------------------ ... coliter_t it const char *word = NULL coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1541:13: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct, pydate_to_dt64, pydatetime_to_dt64, string_to_dts, ) from pandas._libs.util cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:43:0: 'pandas/_libs/util/is_integer_object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... coliter_t it const char *word = NULL coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1541:13: Iterating over Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint c_is_list_like(object obj, bint allow_sets) except -1: # first, performance short-cuts for the most common cases if util.is_array(obj): # exclude zero-dimensional numpy arrays, effectively scalars return not cnp.PyArray_IsZeroDim(obj) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1134:22: cimported module has no attribute 'PyArray_IsZeroDim' Error compiling Cython file: ------------------------------------------------------------ ... coliter_t it const char *word = NULL coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1541:18: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... coliter_t it const char *word = NULL coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1541:18: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... ) cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:19:27: C attribute of type 'npy_datetimestruct' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... coliter_t it const char *word = NULL coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1541:28: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... ndarray values bint seen_pdnat = False bint seen_val = False flatiter it if util.is_array(value): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1465:11: cimported module has no attribute 'is_array' Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): COLITER_NEXT(it, word) strncpy(data, word, width) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1543:15: Discarding owned Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return value.inferred_type elif hasattr(value, "dtype"): # this will handle ndarray-like # e.g. categoricals dtype = value.dtype if not cnp.PyArray_DescrCheck(dtype): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1474:18: cimported module has no attribute 'PyArray_DescrCheck' Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... val = _try_infer_map(values.dtype) if val is not None: # Anything other than object-dtype should return here. return val if values.descr.type_num != NPY_OBJECT: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1498:32: 'NPY_OBJECT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if values.descr.type_num != NPY_OBJECT: # i.e. values.dtype != np.object # This should not be reached values = values.astype(object) n = cnp.PyArray_SIZE(values) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1503:11: cimported module has no attribute 'PyArray_SIZE' Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:15: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... if n == 0: return "empty" # Iterate until we find our first valid value. We will use this # value to decide which of the is_foo_array functions to call. it = PyArray_IterNew(values) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1509:9: 'PyArray_IterNew' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # numpy dt64 tzinfo tzinfo bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:25:46: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # value to decide which of the is_foo_array functions to call. it = PyArray_IterNew(values) for i in range(n): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1513:14: 'PyArray_GETITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:27:35: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # value to decide which of the is_foo_array functions to call. it = PyArray_IterNew(values) for i in range(n): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1513:38: 'PyArray_ITER_DATA' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:44: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... it = PyArray_IterNew(values) for i in range(n): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) PyArray_ITER_NEXT(it) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1514:8: 'PyArray_ITER_NEXT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:57: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) PyArray_ITER_NEXT(it) # do not use checknull to keep # np.datetime64('nat') and np.timedelta64('nat') if val is None or util.is_nan(val) or val is C_NA: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1518:30: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:30:44: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return "datetime" # float/object nan is handled in latter logic if seen_val is False and skipna: return "empty" if util.is_datetime64_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1533:11: cimported module has no attribute 'is_datetime64_object' Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:33:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif is_timedelta(val): if is_timedelta_or_timedelta64_array(values, skipna=skipna): return "timedelta" elif util.is_integer_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1541:13: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:6: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return "integer-na" else: return "mixed-integer-float" return "mixed-integer" elif PyDateTime_Check(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1554:9: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:35: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): COLITER_NEXT(it, word) strncpy(data, word, width) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1543:15: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if is_datetime_array(values, skipna=skipna): return "datetime" elif is_date_array(values, skipna=skipna): return "date" elif PyDate_Check(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1560:9: 'PyDate_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:48: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif PyDate_Check(val): if is_date_array(values, skipna=skipna): return "date" elif PyTime_Check(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1564:9: 'PyTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:36:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif is_decimal(val): if is_decimal_array(values, skipna=skipna): return "decimal" elif util.is_complex_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1572:13: cimported module has no attribute 'is_complex_object' Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:37:7: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif util.is_complex_object(val): if is_complex_array(values): return "complex" elif util.is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1576:13: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) cdef maybe_localize_tso(_TSObject obj, tzinfo tz, NPY_DATETIMEUNIT reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:39:39: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): COLITER_NEXT(it, word) strncpy(data, word, width) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1543:8: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if is_integer_na_array(values, skipna=skipna): return "integer-na" else: return "mixed-integer-float" elif util.is_bool_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1585:13: cimported module has no attribute 'is_bool_object' Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): COLITER_NEXT(it, word) strncpy(data, word, width) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1543:15: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... elif is_interval(val): if is_interval_array(values): return "interval" cnp.PyArray_ITER_RESET(it) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1605:7: cimported module has no attribute 'PyArray_ITER_RESET' Error compiling Cython file: ------------------------------------------------------------ ... coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): COLITER_NEXT(it, word) strncpy(data, word, width) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1543:16: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if is_interval_array(values): return "interval" cnp.PyArray_ITER_RESET(it) for i in range(n): val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1607:14: 'PyArray_GETITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): COLITER_NEXT(it, word) strncpy(data, word, width) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1543:22: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if is_interval_array(values): return "interval" cnp.PyArray_ITER_RESET(it) for i in range(n): val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1607:38: 'PyArray_ITER_DATA' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... coliter_setup(&it, parser, col, line_start) for i in range(line_end - line_start): COLITER_NEXT(it, word) strncpy(data, word, width) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1543:28: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return "interval" cnp.PyArray_ITER_RESET(it) for i in range(n): val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) PyArray_ITER_NEXT(it) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1608:8: 'PyArray_ITER_NEXT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime cdef class ABCTimestamp(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pxd:4:24: First base of 'ABCTimestamp' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:4:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1621:47: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:5:0: 'numpy/float32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1621:47: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cnp.PyArray_ITER_RESET(it) for i in range(n): val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) PyArray_ITER_NEXT(it) if util.is_integer_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1610:15: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... seen_str = True if len(objs) == 3: break elif v is None or util.is_nan(v): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1654:30: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... elif v is None or util.is_nan(v): # nan or None pass elif v is NaT: seen_nat = True elif PyDateTime_Check(v): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1659:13: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1621:34: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:5:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1621:24: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... else: seen_tz_aware = True if seen_tz_naive and seen_tz_aware: return "mixed", seen_str elif util.is_datetime64_object(v): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1671:17: cimported module has no attribute 'is_datetime64_object' Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1621:34: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if seen_tz_naive and seen_tz_aware: return "mixed", seen_str elif util.is_datetime64_object(v): # np.datetime64 seen_datetime = True elif PyDate_Check(v): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1674:13: 'PyDate_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct, ) from pandas._libs.tslibs.offsets cimport BaseOffset cdef _Timestamp create_timestamp_from_ts(int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:15:41: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1621:35: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.offsets cimport BaseOffset cdef _Timestamp create_timestamp_from_ts(int64_t value, npy_datetimestruct dts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:17:41: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:5:0: 'numpy/int8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1621:41: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1622:54: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1622:54: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:23: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1622:38: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:35: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... BaseOffset _freq NPY_DATETIMEUNIT _reso cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:31:9: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return "mixed", seen_str cdef inline bint is_timedelta(object o): return PyDelta_Check(o) or util.is_timedelta64_object(o) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1726:11: 'PyDelta_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT _reso cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:32:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return "mixed", seen_str cdef inline bint is_timedelta(object o): return PyDelta_Check(o) or util.is_timedelta64_object(o) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1726:35: cimported module has no attribute 'is_timedelta64_object' Error compiling Cython file: ------------------------------------------------------------ ... cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) cpdef to_datetime64(self) cpdef datetime to_pydatetime(_Timestamp self, bint warn=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:34:10: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:5:0: 'numpy/int16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1622:28: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return False if self.is_array_typed(): # i.e. this ndarray is already of the desired dtype return True elif self.dtype.type_num == NPY_OBJECT: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1750:36: 'NPY_OBJECT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) cpdef to_datetime64(self) cpdef datetime to_pydatetime(_Timestamp self, bint warn=*) cdef bint _compare_outside_nanorange(_Timestamp self, datetime other, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:35:58: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1622:38: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) cdef bint _validate(self, ndarray values) except -1: cdef: Py_ssize_t i Py_ssize_t n = values.size flatiter it = PyArray_IterNew(values) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1764:26: 'PyArray_IterNew' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:5:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1622:39: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... flatiter it = PyArray_IterNew(values) for i in range(n): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1769:18: 'PyArray_GETITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:5:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1622:45: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... flatiter it = PyArray_IterNew(values) for i in range(n): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1769:42: 'PyArray_ITER_DATA' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:5:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1623:53: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:1:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... for i in range(n): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) PyArray_ITER_NEXT(it) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1770:12: 'PyArray_ITER_NEXT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:5:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... timedelta, tzinfo, ) cdef tzinfo utc_pytz ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:8:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) cdef bint _validate_skipna(self, ndarray values) except -1: cdef: Py_ssize_t i Py_ssize_t n = values.size flatiter it = PyArray_IterNew(values) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1782:26: 'PyArray_IterNew' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # ----------------------------------------------------------------------------- # Preamble stuff cdef float64_t NaN = np.NaN ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:22:5: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:10:18: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ----------------------------------------------------------------------------- # Preamble stuff cdef float64_t NaN = np.NaN cdef float64_t INF = np.inf ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:23:5: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1623:53: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:11:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Check integrity of the input. """ cdef readonly: Py_ssize_t length, npoints ndarray indices ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:52:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... flatiter it = PyArray_IterNew(values) for i in range(n): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1787:18: 'PyArray_GETITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1623:38: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... Check integrity of the input. """ cdef readonly: Py_ssize_t length, npoints ndarray indices ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:52:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... flatiter it = PyArray_IterNew(values) for i in range(n): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1787:42: 'PyArray_ITER_DATA' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1623:28: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1623:38: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... for i in range(n): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) PyArray_ITER_NEXT(it) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1788:12: 'PyArray_ITER_NEXT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1623:39: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1623:45: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1624:56: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... new_indices = np.union1d(self.indices, y.indices) return IntIndex(self.length, new_indices) @cython.wraparound(False) cpdef int32_t lookup(self, Py_ssize_t index): ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:179:10: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_value_typed(self, object value) except -1: raise NotImplementedError(f"{type(self).__name__} child class " "must define is_value_typed") cdef bint is_valid_null(self, object value) except -1: return value is None or value is C_NA or util.is_nan(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1805:53: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:12:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1624:56: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:14:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return res else: return -1 @cython.wraparound(False) cpdef ndarray[int32_t] lookup_array(self, ndarray[int32_t, ndim=1] indexer): ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:203:10: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1624:38: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return res else: return -1 @cython.wraparound(False) cpdef ndarray[int32_t] lookup_array(self, ndarray[int32_t, ndim=1] indexer): ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:203:46: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class BoolValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return util.is_bool_object(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1814:19: cimported module has no attribute 'is_bool_object' Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:36: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1624:28: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... res[inds[res] != masked] = -1 results[mask] = res return results cpdef get_blocks(ndarray[int32_t, ndim=1] indices): ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:233:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:17:26: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1624:38: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class IntegerValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return util.is_integer_object(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1831:19: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1624:39: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:18:6: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1624:45: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class IntegerNaValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return (util.is_integer_object(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1849:20: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:5: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class IntegerNaValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return (util.is_integer_object(value) or (util.is_nan(value) and util.is_float_object(value))) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1850:24: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:29: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1626:52: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class IntegerNaValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return (util.is_integer_object(value) or (util.is_nan(value) and util.is_float_object(value))) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1850:47: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:40: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1626:52: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... Parameters ---------- """ cdef readonly: int32_t nblocks, npoints, length ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:285:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:21:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class IntegerFloatValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return util.is_integer_object(value) or util.is_float_object(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1863:19: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... Parameters ---------- """ cdef readonly: int32_t nblocks, npoints, length ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:285:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1626:36: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class IntegerFloatValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return util.is_integer_object(value) or util.is_float_object(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1863:52: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) cdef object get_dst_info(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:23:25: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Parameters ---------- """ cdef readonly: int32_t nblocks, npoints, length ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:285:25: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1626:26: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... Parameters ---------- """ cdef readonly: int32_t nblocks, npoints, length ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:285:34: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1626:36: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... Parameters ---------- """ cdef readonly: int32_t nblocks, npoints, length ndarray blocs, blengths ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:286:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1626:37: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... Parameters ---------- """ cdef readonly: int32_t nblocks, npoints, length ndarray blocs, blengths ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:286:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class FloatValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return util.is_float_object(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1880:19: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... Parameters ---------- """ cdef readonly: int32_t nblocks, npoints, length ndarray blocs, blengths ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:286:23: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class ComplexValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return ( util.is_complex_object(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1897:16: cimported module has no attribute 'is_complex_object' Error compiling Cython file: ------------------------------------------------------------ ... int32_t nblocks, npoints, length ndarray blocs, blengths cdef: object __weakref__ # need to be picklable int32_t *locbuf ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:290:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:1:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ndarray blocs, blengths cdef: object __weakref__ # need to be picklable int32_t *locbuf int32_t *lenbuf ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:291:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1626:43: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1627:56: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:31: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cum_len += lens[i] return -1 @cython.wraparound(False) cpdef ndarray[int32_t] lookup_array(self, ndarray[int32_t, ndim=1] indexer): ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:524:10: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1627:56: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cum_len += lens[i] return -1 @cython.wraparound(False) cpdef ndarray[int32_t] lookup_array(self, ndarray[int32_t, ndim=1] indexer): ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:524:46: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1627:38: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... Object-oriented approach makes sharing state between recursive functions a lot easier and reduces code duplication """ cdef: BlockIndex x, y, result ndarray xstart, xlen, xend, ystart, ylen, yend ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:562:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport tzinfo from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:2:0: 'numpy/intp_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1627:28: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... ) from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:11:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... lot easier and reduces code duplication """ cdef: BlockIndex x, y, result ndarray xstart, xlen, xend, ystart, ylen, yend int32_t xi, yi # block indices ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:563:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1627:38: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... self.result = self._make_merged_blocks() cdef _make_merged_blocks(self): raise NotImplementedError cdef _set_current_indices(self, int32_t xi, int32_t yi, bint mode): ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:589:36: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1627:39: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:12:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... self.result = self._make_merged_blocks() cdef _make_merged_blocks(self): raise NotImplementedError cdef _set_current_indices(self, int32_t xi, int32_t yi, bint mode): ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:589:48: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class ComplexValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return ( util.is_complex_object(value) or (util.is_float_object(value) and is_nan(value)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1898:20: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1627:45: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class ComplexValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return ( util.is_complex_object(value) or (util.is_float_object(value) and is_nan(value)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1898:48: 'is_nan' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... out_bloc = out_bloc[:result_indexer] out_blen = out_blen[:result_indexer] return BlockIndex(self.x.length, out_bloc, out_blen) cdef int32_t _find_next_block_end(self, bint mode) except -1: ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:653:9: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:12:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cneginfty) == 0): data[0] = NEGINF else: return 1 if use_na_flist: k64 = kh_get_float64(na_flist, data[0]) ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1632:55: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... "must define is_valid_null") cdef inline bint is_valid_skipna(self, object value) except -1: cdef: bint is_typed_null = self.is_valid_null(value) bint is_generic_null = value is None or util.is_nan(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1980:56: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:14:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1645:43: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( int64_t val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:15:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1645:43: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( int64_t val, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:16:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1645:30: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class DatetimeValidator(TemporalValidator): cdef bint is_value_typed(self, object value) except -1: return PyDateTime_Check(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:1996:15: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1645:20: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef class Localizer: cdef: tzinfo tz ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:25:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1645:30: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Sparse op # ---------------------------------------------------------------------- ctypedef fused sparse_t: float64_t ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:12:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Localizer: cdef: tzinfo tz NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:28:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1645:31: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # Sparse op # ---------------------------------------------------------------------- ctypedef fused sparse_t: float64_t int64_t ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:13:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... data[0] = double_converter(word, &p_end, parser.decimal, parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1645:37: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class Datetime64Validator(DatetimeValidator): cdef inline bint is_value_typed(self, object value) except -1: return util.is_datetime64_object(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2012:19: cimported module has no attribute 'is_datetime64_object' Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1646:50: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... tzinfo tz NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:30:14: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Sparse op # ---------------------------------------------------------------------- ctypedef fused sparse_t: float64_t int64_t ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:13:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1646:50: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:31:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class AnyDatetimeValidator(DatetimeValidator): cdef inline bint is_value_typed(self, object value) except -1: return util.is_datetime64_object(value) or ( ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2026:19: cimported module has no attribute 'is_datetime64_object' Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1646:34: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class AnyDatetimeValidator(DatetimeValidator): cdef inline bint is_value_typed(self, object value) except -1: return util.is_datetime64_object(value) or ( PyDateTime_Check(value) and value.tzinfo is None ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2027:12: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef fused sparse_t: float64_t int64_t cdef inline float64_t __div__(sparse_t a, sparse_t b): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:16:12: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1646:24: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta int64_t* tdata ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:32:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return NaN else: return float(a) / b cdef inline float64_t __truediv__(sparse_t a, sparse_t b): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:28:12: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta int64_t* tdata cdef inline int64_t utc_val_to_local_val( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:34:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1646:34: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return False # Get a reference timezone to compare with the rest of the tzs in the array for i in range(n): base_val = values[i] if base_val is not NaT and base_val is not None and not util.is_nan(base_val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2054:68: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_add_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:64:39: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1646:35: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_add_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:66:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t delta int64_t* tdata cdef inline int64_t utc_val_to_local_val( self, int64_t utc_val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:36:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... parser.sci, parser.thousands, 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1646:41: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_add_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:67:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1647:49: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_add_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:69:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1647:49: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... for j in range(i, n): # Compare val's timezone with the reference timezone # NaT can coexist with tz-aware datetimes, so skip if encountered val = values[j] if val is not NaT and val is not None and not util.is_nan(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2062:58: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill + yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_add_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:165:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def format_array_from_datetime( ndarray values, ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:110:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_add_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:167:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def format_array_from_datetime( ndarray values, tzinfo tz=None, ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:111:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_add_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:168:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result def array_with_unit_to_datetime( ndarray values, ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:234:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_add_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:170:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1647:34: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill + yfill cpdef sparse_add_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:225:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1647:24: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill + yfill cpdef sparse_add_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:226:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1647:34: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill + yfill cpdef sparse_add_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:227:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1647:35: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_add_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:228:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 1, &error, NULL) if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1647:41: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_add_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:242:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1648:52: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class TimedeltaValidator(TemporalValidator): cdef bint is_value_typed(self, object value) except -1: return PyDelta_Check(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2075:15: 'PyDelta_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1648:52: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cpdef array_to_datetime( ndarray[object] values, ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:428:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class DateValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return PyDate_Check(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2101:15: 'PyDate_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_add_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:244:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1648:34: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_add_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:245:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1648:24: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_add_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:247:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1648:34: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill + yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_add_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:343:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1648:35: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_add_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:345:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0 or p_end == word or p_end[0]: error = 0 if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1648:41: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.internal cdef class TimeValidator(Validator): cdef inline bint is_value_typed(self, object value) except -1: return PyTime_Check(value) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2114:15: 'PyTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_add_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:346:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1650:48: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_add_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:348:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1650:48: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill + yfill cpdef sparse_add_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:403:23: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1650:32: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill + yfill cpdef sparse_add_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:404:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result, tz_out @cython.wraparound(False) @cython.boundscheck(False) cdef ndarray[object] ignore_errors_out_of_bounds_fallback(ndarray[object] values): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:720:5: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1650:22: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill + yfill cpdef sparse_add_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:405:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1650:32: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_add_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:406:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1650:33: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_sub_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:420:39: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result, tz_out @cython.wraparound(False) @cython.boundscheck(False) cdef ndarray[object] ignore_errors_out_of_bounds_fallback(ndarray[object] values): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:720:58: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (strcasecmp(word, cinf) == 0 or strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1650:39: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_sub_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:422:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1651:52: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... flatiter it if N == 0: return False it = PyArray_IterNew(values) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2140:9: 'PyArray_IterNew' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1651:52: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_sub_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:423:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1651:34: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... it = PyArray_IterNew(values) for i in range(N): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2144:14: 'PyArray_GETITEM' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1651:24: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef _array_to_datetime_object( ndarray[object] values, ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:761:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1651:34: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... it = PyArray_IterNew(values) for i in range(N): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2144:38: 'PyArray_ITER_DATA' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1651:35: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... raise return values, None return oresult, None cdef inline bint _parse_today_now(str val, int64_t* iresult, bint utc): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:838:43: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... strcasecmp(word, cposinf) == 0 or strcasecmp(word, cinfty) == 0 or strcasecmp(word, cposinfty) == 0): data[0] = INF elif (strcasecmp(word, cneginf) == 0 or strcasecmp(word, cneginfty) == 0): ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1651:41: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_sub_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:425:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... it = PyArray_IterNew(values) for i in range(N): # The PyArray_GETITEM and PyArray_ITER_NEXT are faster # equivalents to `val = values[i]` val = PyArray_GETITEM(values, PyArray_ITER_DATA(it)) PyArray_ITER_NEXT(it) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2145:8: 'PyArray_ITER_NEXT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table state.seen_null = 1 data[i] = 0 continue data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1717:49: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill - yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_sub_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:521:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table state.seen_null = 1 data[i] = 0 continue data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1717:49: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if is_interval(val): if closed is None: closed = val.closed numeric = ( util.is_float_object(val.left) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2188:24: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table state.seen_null = 1 data[i] = 0 continue data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1717:60: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- np.ndarray[object] """ cdef: int64_t val, ns, N = values.size ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:134:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_sub_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:523:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table state.seen_null = 1 data[i] = 0 continue data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1717:60: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if is_interval(val): if closed is None: closed = val.closed numeric = ( util.is_float_object(val.left) or util.is_integer_object(val.left) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2189:27: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1724:49: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... # Note that `result` (and thus `result_flat`) is C-order and # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:145:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... numeric = ( util.is_float_object(val.left) or util.is_integer_object(val.left) ) td64 = is_timedelta(val.left) dt64 = PyDateTime_Check(val.left) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2192:23: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1724:49: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_sub_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:524:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif val.closed != closed: # mismatched closedness return False elif numeric: if not ( util.is_float_object(val.left) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2198:24: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_sub_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:526:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1724:60: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... # mismatched closedness return False elif numeric: if not ( util.is_float_object(val.left) or util.is_integer_object(val.left) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2199:27: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_uint64(state, word, INT64_MAX, UINT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1724:60: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return False elif td64: if not is_timedelta(val.left): return False elif dt64: if not PyDateTime_Check(val.left): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2207:23: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table na_count[0] += 1 data[i] = NA continue data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1782:41: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... elif dt64: if not PyDateTime_Check(val.left): return False else: raise ValueError(val) elif util.is_nan(val) or val is None: ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2211:17: cimported module has no attribute 'is_nan' Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill - yfill cpdef sparse_sub_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:581:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table na_count[0] += 1 data[i] = NA continue data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1782:41: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill - yfill cpdef sparse_sub_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:582:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table na_count[0] += 1 data[i] = NA continue data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1782:52: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... # fastpath for ints - try to convert all based on first value cdef: object val = values[0] if util.is_integer_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2273:11: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... # in the hash table na_count[0] += 1 data[i] = NA continue data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1782:52: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill - yfill cpdef sparse_sub_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:583:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Otherwise, iterate and do full inference. cdef: int status, maybe_int Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2286:47: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_sub_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:584:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Otherwise, iterate and do full inference. cdef: int status, maybe_int Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2286:82: cimported module has no attribute 'NPY_FLOAT64' Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_sub_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:598:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: int status, maybe_int Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2287:53: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_sub_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:600:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: int status, maybe_int Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2287:88: cimported module has no attribute 'NPY_COMPLEX128' Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1789:41: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_sub_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:601:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int status, maybe_int Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2288:43: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_sub_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:603:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int status, maybe_int Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2288:78: cimported module has no attribute 'NPY_INT64' Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1789:41: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill - yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_sub_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:699:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1789:52: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ndarray[uint64_t, ndim=1] uints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2289:45: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... if error != 0: return error else: for i in range(lines): COLITER_NEXT(it, word) data[i] = str_to_int64(word, INT64_MIN, INT64_MAX, ^ ------------------------------------------------------------ pandas/_libs/parsers.pyx:1789:52: Accessing Python global or builtin not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_sub_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:701:46: 'int64_t' is not a type identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_sub_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:702:46: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_sub_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:704:46: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill - yfill cpdef sparse_sub_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:759:23: 'int64_t' is not a type identifier Cython.Compiler.Errors.CompileError: pandas/_libs/parsers.pyx Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n = values.size Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ndarray[uint64_t, ndim=1] uints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2289:80: cimported module has no attribute 'NPY_UINT64' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill - yfill cpdef sparse_sub_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:760:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ndarray[uint64_t, ndim=1] uints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT64, 0) ndarray[uint8_t, ndim=1] bools = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT8, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2290:44: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill - yfill cpdef sparse_sub_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:761:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Seen seen = Seen(coerce_numeric) ndarray[float64_t, ndim=1] floats = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_FLOAT64, 0) ndarray[complex128_t, ndim=1] complexes = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_COMPLEX128, 0) ndarray[int64_t, ndim=1] ints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_INT64, 0) ndarray[uint64_t, ndim=1] uints = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT64, 0) ndarray[uint8_t, ndim=1] bools = cnp.PyArray_EMPTY(1, values.shape, cnp.NPY_UINT8, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2290:79: cimported module has no attribute 'NPY_UINT8' Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pxd:1:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_sub_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:762:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: if convert_to_masked_nullable: mask[i] = 1 seen.saw_null() floats[i] = complexes[i] = NaN elif util.is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2312:17: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mul_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:776:39: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... mask[i] = 1 seen.float_ = True else: seen.float_ = True floats[i] = complexes[i] = fval elif util.is_integer_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2325:17: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mul_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:778:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pxd:1:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mul_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:779:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime cdef class ABCTimestamp(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pxd:4:24: First base of 'ABCTimestamp' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... ints[i] = val if val < oINT64_MIN or (seen.sint_ and seen.uint_): seen.float_ = True elif util.is_bool_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2343:17: cimported module has no attribute 'is_bool_object' Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_mul_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:781:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if convert_empty or seen.coerce_numeric: seen.saw_null() floats[i] = complexes[i] = NaN else: raise ValueError("Empty string encountered") elif util.is_complex_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2361:17: cimported module has no attribute 'is_complex_object' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill * yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mul_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:877:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ from cpython.datetime cimport datetime cdef class ABCTimestamp(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pyx:11:24: First base of 'ABCTimestamp' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mul_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:879:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mul_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:880:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_mul_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:882:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill * yfill cpdef sparse_mul_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:937:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill * yfill cpdef sparse_mul_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:938:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... object val float64_t fval, fnan = np.nan n = len(objects) floats = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_FLOAT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2510:16: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill * yfill cpdef sparse_mul_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:939:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... object val float64_t fval, fnan = np.nan n = len(objects) floats = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_FLOAT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2510:52: cimported module has no attribute 'NPY_FLOAT64' Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_mul_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:940:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t fval, fnan = np.nan n = len(objects) floats = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_FLOAT64, 0) complexes = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_COMPLEX128, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2511:19: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mul_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:954:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t fval, fnan = np.nan n = len(objects) floats = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_FLOAT64, 0) complexes = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_COMPLEX128, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2511:55: cimported module has no attribute 'NPY_COMPLEX128' Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mul_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:956:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... n = len(objects) floats = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_FLOAT64, 0) complexes = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_COMPLEX128, 0) ints = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2512:14: cimported module has no attribute 'PyArray_EMPTY' Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mul_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:957:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... n = len(objects) floats = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_FLOAT64, 0) complexes = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_COMPLEX128, 0) ints = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2512:50: cimported module has no attribute 'NPY_INT64' Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_mul_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:959:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... n = len(objects) floats = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_FLOAT64, 0) complexes = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_COMPLEX128, 0) ints = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_INT64, 0) uints = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_UINT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2513:15: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill * yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mul_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1055:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... n = len(objects) floats = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_FLOAT64, 0) complexes = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_COMPLEX128, 0) ints = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_INT64, 0) uints = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_UINT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2513:51: cimported module has no attribute 'NPY_UINT64' File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mul_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1057:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... floats = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_FLOAT64, 0) complexes = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_COMPLEX128, 0) ints = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_INT64, 0) uints = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_UINT64, 0) bools = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_UINT8, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2514:15: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mul_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1058:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... floats = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_FLOAT64, 0) complexes = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_COMPLEX128, 0) ints = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_INT64, 0) uints = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_UINT64, 0) bools = cnp.PyArray_EMPTY(1, objects.shape, cnp.NPY_UINT8, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2514:51: cimported module has no attribute 'NPY_UINT8' Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_mul_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1060:46: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... break elif val is np.nan: seen.nan_ = True mask[i] = True floats[i] = complexes[i] = val elif util.is_bool_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2549:17: cimported module has no attribute 'is_bool_object' Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/base.pyx Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill * yfill cpdef sparse_mul_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1115:23: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... mask[i] = True floats[i] = complexes[i] = val elif util.is_bool_object(val): seen.bool_ = True bools[i] = val elif util.is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2552:17: cimported module has no attribute 'is_float_object' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill * yfill cpdef sparse_mul_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1116:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... break break else: seen.object_ = True break elif util.is_integer_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2567:17: cimported module has no attribute 'is_integer_object' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill * yfill cpdef sparse_mul_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1117:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:2:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_mul_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1118:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_div_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1132:39: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:2:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... else: seen.object_ = True break elif util.is_integer_object(val): seen.int_ = True floats[i] = val ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2569:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_div_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1134:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ints[i] = val else: uints[i] = val ints[i] = val elif util.is_complex_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2587:17: cimported module has no attribute 'is_complex_object' Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:2:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ints[i] = val elif util.is_complex_object(val): complexes[i] = val seen.complex_ = True elif PyDateTime_Check(val) or util.is_datetime64_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2590:13: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_div_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1135:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:10: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_div_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1137:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:19: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ints[i] = val elif util.is_complex_object(val): complexes[i] = val seen.complex_ = True elif PyDateTime_Check(val) or util.is_datetime64_object(val): ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2590:42: cimported module has no attribute 'is_datetime64_object' Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:28: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __div__(xfill, yfill) @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_div_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1233:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:10:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_div_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1235:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:11:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_div_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1236:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:12:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_div_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1238:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil cpdef iso_calendar_t get_iso_calendar(int year, int month, int day) nogil cpdef int32_t get_day_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:14:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, __div__(xfill, yfill) cpdef sparse_div_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1293:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int get_lastbday(int year, int month) nogil cpdef int get_firstbday(int year, int month) nogil cdef dict c_MONTH_NUMBERS cdef int32_t* month_offset ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:20:5: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __div__(xfill, yfill) cpdef sparse_div_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1294:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __div__(xfill, yfill) cpdef sparse_div_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1295:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_div_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1296:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise ValueError(dtype) else: # ExtensionDtype cls = dtype.construct_array_type() i8vals = cnp.PyArray_EMPTY(1, datetimes.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2815:20: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_div_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1310:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_div_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1312:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise ValueError(dtype) else: # ExtensionDtype cls = dtype.construct_array_type() i8vals = cnp.PyArray_EMPTY(1, datetimes.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/lib.pyx:2815:20: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(lib.pyx:1:0) StatListNode.stats[118] = StatListNode(lib.pyx:2800:5) StatListNode.stats[0] = CFuncDefNode(lib.pyx:2800:5, args = [...]/3, doc = '\n If we have all-NaT values, cast these to the given dtype.\n ', modifiers = [...]/0, visibility = 'private') File 'ExprNodes.py', line 5369, in infer_type: SimpleCallNode(lib.pyx:2815:34, result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 6852, in infer_type: AttributeNode(lib.pyx:2815:20, attribute = 'PyArray_EMPTY', is_attribute = 1, is_numpy_attribute = True, needs_none_check = True, result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 6852, in infer_type AttributeError: 'NoneType' object has no attribute 'type' Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_div_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1313:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_div_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1315:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __div__(xfill, yfill) @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_div_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1411:35: 'int64_t' is not a type identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_div_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1413:46: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_div_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1414:46: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_div_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1416:46: 'int64_t' is not a type identifier Cython.Compiler.Errors.CompileError: pandas/_libs/lib.pyx Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, __div__(xfill, yfill) cpdef sparse_div_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1471:23: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __div__(xfill, yfill) cpdef sparse_div_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1472:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __div__(xfill, yfill) cpdef sparse_div_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1473:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_div_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1474:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mod_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1488:39: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mod_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1490:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mod_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1491:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_mod_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1493:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:1:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __mod__(xfill, yfill) @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mod_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1589:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:1:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # Constants # Slightly more performant cython lookups than a 2D table # The first 12 entries correspond to month lengths for non-leap years. # The remaining 12 entries give month lengths for leap years cdef int32_t* days_per_month_array = [ ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:18:5: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mod_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1591:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:1:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mod_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1592:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( datetime, tzinfo, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:5:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_mod_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1594:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int* sakamoto_arr = [0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4] # The first 13 entries give the month days elapsed as of the first of month N # (or the total number of days in the year for N=13) in non-leap years. # The remaining 13 entries give the days elapsed in leap years. cdef int32_t* month_offset = [ ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:27:5: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, __mod__(xfill, yfill) cpdef sparse_mod_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1649:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- @cython.wraparound(False) @cython.boundscheck(False) cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:56:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __mod__(xfill, yfill) cpdef sparse_mod_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1650:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( datetime, tzinfo, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:5:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... day = (y + y / 4 - y / 100 + y / 400 + sakamoto_arr[m - 1] + d) % 7 # convert to python day return (day + 6) % 7 cdef bint is_leapyear(int64_t year) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:117:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __mod__(xfill, yfill) cpdef sparse_mod_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1651:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ((year % 100) != 0 or (year % 400) == 0)) @cython.wraparound(False) @cython.boundscheck(False) cpdef int32_t get_week_of_year(int year, int month, int day) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:135:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_mod_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1652:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( datetime, tzinfo, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:5:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mod_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1666:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return iso_year, iso_week, dow + 1 @cython.wraparound(False) @cython.boundscheck(False) cpdef int32_t get_day_of_year(int year, int month, int day) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:212:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mod_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1668:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( datetime, tzinfo, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:5:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Notes ----- Assumes the inputs describe a valid date. """ cdef: int32_t doy, dow ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:179:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_mod_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1669:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ----- Assumes the inputs describe a valid date. """ cdef: int32_t doy, dow int32_t iso_year, iso_week ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:180:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_mod_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1671:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ----- Assumes the inputs describe a valid date. """ cdef: bint isleap int32_t mo_off ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:232:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __mod__(xfill, yfill) @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mod_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1767:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mod_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1769:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_mod_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1770:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_mod_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1772:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, __mod__(xfill, yfill) cpdef sparse_mod_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1827:23: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Constants # Slightly more performant cython lookups than a 2D table # The first 12 entries correspond to month lengths for non-leap years. # The remaining 12 entries give month lengths for leap years cdef int32_t* days_per_month_array = [ ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:18:37: Cannot coerce list to type '' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __mod__(xfill, yfill) cpdef sparse_mod_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1828:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __mod__(xfill, yfill) cpdef sparse_mod_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1829:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int* sakamoto_arr = [0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4] # The first 13 entries give the month days elapsed as of the first of month N # (or the total number of days in the year for N=13) in non-leap years. # The remaining 13 entries give the days elapsed in leap years. cdef int32_t* month_offset = [ ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:27:29: Cannot coerce list to type '' Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_mod_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1830:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_truediv_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1844:43: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_leap : bool """ return ((year & 0x3) == 0 and # year % 4 == 0 ((year % 100) != 0 or (year % 400) == 0)) ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pyx:130:19: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(ccalendar.pyx:6:0) StatListNode.stats[17] = StatListNode(ccalendar.pyx:117:5) StatListNode.stats[0] = CFuncDefNode(ccalendar.pyx:117:5, args = [...]/1, doc = '\n Returns 1 if the given year is a leap year, 0 otherwise.\n\n Parameters\n ----------\n year : int\n\n Returns\n -------\n is_leap : bool\n ', modifiers = [...]/0, visibility = 'private') File 'Nodes.py', line 435, in analyse_expressions: StatListNode(ccalendar.pyx:118:4, is_terminator = True) File 'Nodes.py', line 5968, in analyse_expressions: ReturnStatNode(ccalendar.pyx:129:4, is_terminator = True) File 'ExprNodes.py', line 11890, in analyse_types: BoolBinopNode(ccalendar.pyx:129:30, is_temp = True, operator = 'and', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 11889, in analyse_types: BoolBinopNode(ccalendar.pyx:130:31, is_temp = True, operator = 'or', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 12595, in analyse_types: PrimaryCmpNode(ccalendar.pyx:130:26, operator = '!=', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 11052, in analyse_types: ModNode(ccalendar.pyx:130:19, infix = True, operator = '%', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 11725, in analyse_operation: ModNode(ccalendar.pyx:130:19, infix = True, operator = '%', result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 11725, in analyse_operation AttributeError: 'ErrorType' object has no attribute 'signed' Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_truediv_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1846:48: 'float64_t' is not a type identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_truediv_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1847:48: 'float64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_truediv_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1849:48: 'float64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __truediv__(xfill, yfill) @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_truediv_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1945:41: 'float64_t' is not a type identifier Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/ccalendar.pyx Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_truediv_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1947:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_truediv_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1948:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_truediv_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:1950:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, __truediv__(xfill, yfill) cpdef sparse_truediv_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2005:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __truediv__(xfill, yfill) cpdef sparse_truediv_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2006:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __truediv__(xfill, yfill) cpdef sparse_truediv_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2007:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:1:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_truediv_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2008:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:1:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_truediv_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2022:41: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_truediv_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2024:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_truediv_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2025:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_truediv_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2027:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __truediv__(xfill, yfill) @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_truediv_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2123:39: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_truediv_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2125:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_truediv_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2126:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_truediv_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2128:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, __truediv__(xfill, yfill) cpdef sparse_truediv_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2183:27: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __truediv__(xfill, yfill) cpdef sparse_truediv_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2184:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __truediv__(xfill, yfill) cpdef sparse_truediv_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2185:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_truediv_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2186:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_floordiv_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2200:44: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_floordiv_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2202:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_floordiv_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2203:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_floordiv_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2205:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:19:27: C attribute of type 'npy_datetimestruct' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __floordiv__(xfill, yfill) @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_floordiv_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2301:42: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_floordiv_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2303:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_floordiv_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2304:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_floordiv_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2306:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, __floordiv__(xfill, yfill) cpdef sparse_floordiv_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2361:30: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __floordiv__(xfill, yfill) cpdef sparse_floordiv_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2362:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __floordiv__(xfill, yfill) cpdef sparse_floordiv_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2363:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:15: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_floordiv_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2364:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_floordiv_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2378:42: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # numpy dt64 tzinfo tzinfo bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:25:46: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_floordiv_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2380:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_floordiv_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2381:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:27:35: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:9:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:44: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_floordiv_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2383:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 cpdef int64_t periods_per_second(NPY_DATETIMEUNIT reso) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:10:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:57: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __floordiv__(xfill, yfill) @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_floordiv_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2479:40: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:30:44: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_floordiv_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2481:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:33:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_floordiv_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2482:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:6: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_floordiv_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2484:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:35: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, __floordiv__(xfill, yfill) cpdef sparse_floordiv_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2539:28: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:48: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __floordiv__(xfill, yfill) cpdef sparse_floordiv_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2540:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:36:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, __floordiv__(xfill, yfill) cpdef sparse_floordiv_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2541:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:37:7: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_floordiv_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2542:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) cdef maybe_localize_tso(_TSObject obj, tzinfo tz, NPY_DATETIMEUNIT reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:39:39: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_pow_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2556:39: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_OBJECT, 0) object[::1] res_flat = result.ravel() # should NOT be a copy cnp.flatiter it = cnp.PyArray_IterNew(values) ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:147:8: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_pow_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2558:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result : ndarray of m8 values tz : parsed timezone offset or None """ cdef: Py_ssize_t i, j, n=len(values) int64_t mult ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:268:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_pow_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2559:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, j, n=len(values) int64_t mult int prec = 0 ndarray[float64_t] fvalues ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:270:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_pow_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2561:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[float64_t] fvalues bint is_ignore = errors=='ignore' bint is_coerce = errors=='coerce' bint is_raise = errors=='raise' bint need_to_iterate = True ndarray[int64_t] iresult ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:275:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ** yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_pow_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2657:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint is_ignore = errors=='ignore' bint is_coerce = errors=='coerce' bint is_raise = errors=='raise' bint need_to_iterate = True ndarray[int64_t] iresult ndarray[object] oresult ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:276:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_pow_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2659:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint is_coerce = errors=='coerce' bint is_raise = errors=='raise' bint need_to_iterate = True ndarray[int64_t] iresult ndarray[object] oresult ndarray mask ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:277:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_pow_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2660:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_pow_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2662:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill ** yfill cpdef sparse_pow_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2717:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... tzinfo or None """ cdef: Py_ssize_t i, n = len(values) object val, tz ndarray[int64_t] iresult ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:475:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ** yfill cpdef sparse_pow_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2718:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, n = len(values) object val, tz ndarray[int64_t] iresult ndarray[object] oresult ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:476:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ** yfill cpdef sparse_pow_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2719:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_pow_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2720:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint is_raise = errors=='raise' bint is_ignore = errors=='ignore' bint is_coerce = errors=='coerce' bint is_same_offsets _TSObject _ts int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:489:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_pow_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2734:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t value int out_local = 0, out_tzoffset = 0 float offset_seconds, tz_offset set out_tzoffset_vals = set() bint string_to_dts_failed datetime py_dt ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:494:8: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_pow_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2736:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int out_local = 0, out_tzoffset = 0 float offset_seconds, tz_offset set out_tzoffset_vals = set() bint string_to_dts_failed datetime py_dt tzinfo tz_out = None ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:495:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_pow_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2737:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Default to Day return NPY_DATETIMEUNIT.NPY_FR_D # TODO: use in _matplotlib.converter? cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=NPY_DATETIMEUNIT.NPY_FR_ns) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pyx:388:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_pow_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2739:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ** yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_pow_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2835:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... How many of the given time units fit into a single day? """ return get_conversion_factor(NPY_DATETIMEUNIT.NPY_FR_D, reso) cpdef int64_t periods_per_second(NPY_DATETIMEUNIT reso) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pyx:395:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_pow_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2837:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n = len(values) object val bint is_ignore = errors == 'ignore' bint is_coerce = errors == 'coerce' bint is_raise = errors == 'raise' ndarray[object] oresult ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:794:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_pow_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2838:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_pow_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2840:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill ** yfill cpdef sparse_pow_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2895:23: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ** yfill cpdef sparse_pow_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2896:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ** yfill cpdef sparse_pow_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2897:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_pow_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2898:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_eq_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2912:38: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_eq_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2914:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_eq_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2915:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_eq_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:2917:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill == yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_eq_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3013:36: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_eq_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3015:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_eq_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3016:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... >>> Resolution.RESO_SEC.attrname 'second' """ return _reso_str_map[self.value] @classmethod ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pyx:217:4: Compiler crash in EarlyReplaceBuiltinCalls ModuleNode.body = StatListNode(dtypes.pyx:3:0) StatListNode.stats[13] = StatListNode(dtypes.pyx:182:0) StatListNode.stats[0] = PyClassDefNode(dtypes.pyx:182:0, name = 'Resolution') PyClassDefNode.body = StatListNode(dtypes.pyx:183:4) StatListNode.stats[19] = SingleAssignmentNode(dtypes.pyx:218:4) SingleAssignmentNode.rhs = SimpleCallNode(dtypes.pyx:217:4, result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "Cython/Compiler/Visitor.py", line 180, in Cython.Compiler.Visitor.TreeVisitor._visit File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Optimize.py", line 1531, in visit_SimpleCallNode File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Optimize.py", line 1551, in _function_is_builtin_name File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1977, in lookup File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 416, in load_cached File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 371, in load File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 295, in load_utilities_from_file File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Utility/CythonFunction.c Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_eq_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3018:46: 'float64_t' is not a type identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill == yfill cpdef sparse_eq_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3073:24: 'float64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill == yfill cpdef sparse_eq_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3074:54: 'float64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill == yfill cpdef sparse_eq_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3075:34: 'float64_t' is not a type identifier Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/dtypes.pyx Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_eq_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3076:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_eq_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3090:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_eq_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3092:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_eq_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3093:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_eq_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3095:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill == yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_eq_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3191:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_eq_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3193:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_eq_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3194:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_eq_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3196:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill == yfill cpdef sparse_eq_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3251:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill == yfill cpdef sparse_eq_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3252:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill == yfill cpdef sparse_eq_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3253:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_eq_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3254:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ne_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3268:38: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ne_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3270:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ne_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3271:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_ne_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3273:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill != yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ne_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3369:36: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ne_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3371:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ne_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3372:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_ne_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3374:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill != yfill cpdef sparse_ne_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3429:24: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill != yfill cpdef sparse_ne_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3430:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill != yfill cpdef sparse_ne_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3431:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_ne_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3432:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ne_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3446:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ne_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3448:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ne_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3449:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_ne_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3451:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill != yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ne_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3547:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ne_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3549:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ne_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3550:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_ne_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3552:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill != yfill cpdef sparse_ne_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3607:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill != yfill cpdef sparse_ne_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3608:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill != yfill cpdef sparse_ne_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3609:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_ne_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3610:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_lt_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3624:38: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_lt_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3626:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_lt_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3627:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_lt_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3629:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill < yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_lt_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3725:36: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_lt_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3727:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_lt_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3728:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_lt_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3730:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from pandas.util._exceptions import find_stack_level # import datetime C API import_datetime() ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:15:0: 'import_datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill < yfill cpdef sparse_lt_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3785:24: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray, ) import numpy as np cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:27:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill < yfill cpdef sparse_lt_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3786:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill < yfill cpdef sparse_lt_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3787:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_lt_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3788:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_lt_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3802:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_lt_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3804:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np from pandas.util._exceptions import find_stack_level cimport numpy as cnp from cpython.object cimport PyObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:10:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_lt_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3805:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_lt_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3807:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np from pandas.util._exceptions import find_stack_level cimport numpy as cnp from cpython.object cimport PyObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:10:0: 'cpython/object/PyObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill < yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_lt_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3903:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_lt_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3905:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas.util._exceptions import find_stack_level cimport numpy as cnp from cpython.object cimport PyObject from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:11:0: 'numpy/intp_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_lt_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3906:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import pytz # stdlib datetime imports from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:24:0: 'cpython/datetime/PyDate_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_lt_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3908:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import pytz # stdlib datetime imports from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:24:0: 'cpython/datetime/PyDateTime_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill < yfill cpdef sparse_lt_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3963:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import pytz # stdlib datetime imports from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:24:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill < yfill cpdef sparse_lt_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3964:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import pytz # stdlib datetime imports from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:24:0: 'cpython/datetime/time.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill < yfill cpdef sparse_lt_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3965:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_lt_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3966:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_gt_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3980:38: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime cdef class ABCTimestamp(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pxd:4:24: First base of 'ABCTimestamp' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_gt_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3982:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Note that `result` (and thus `result_flat`) is C-order and # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:145:28: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_gt_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3983:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Note that `result` (and thus `result_flat`) is C-order and # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:145:73: cimported module has no attribute 'NPY_OBJECT' Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_gt_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:3985:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_OBJECT, 0) object[::1] res_flat = result.ravel() # should NOT be a copy cnp.flatiter it = cnp.PyArray_IterNew(values) ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:147:29: cimported module has no attribute 'PyArray_IterNew' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill > yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_gt_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4081:36: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... assert not (basic_format_day and basic_format) for i in range(N): # Analogous to: utc_val = values[i] val = (cnp.PyArray_ITER_DATA(it))[0] ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:180:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_gt_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4083:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... assert not (basic_format_day and basic_format) for i in range(N): # Analogous to: utc_val = values[i] val = (cnp.PyArray_ITER_DATA(it))[0] ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:180:28: cimported module has no attribute 'PyArray_ITER_DATA' Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_gt_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4084:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_gt_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4086:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill > yfill cpdef sparse_gt_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4141:24: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill > yfill cpdef sparse_gt_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4142:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill > yfill cpdef sparse_gt_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4143:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_gt_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4144:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_gt_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4158:36: 'int64_t' is not a type identifier warning: pandas/_libs/tslib.pyx:226:17: Index should be typed for more efficient access Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_gt_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4160:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # does not seem to work with object dtype. # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 res_flat[i] = res cnp.PyArray_ITER_NEXT(it) ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:228:11: cimported module has no attribute 'PyArray_ITER_NEXT' Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_gt_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4161:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_gt_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4163:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill > yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_gt_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4259:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_gt_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4261:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_gt_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4262:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_gt_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4264:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill > yfill cpdef sparse_gt_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4319:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill > yfill cpdef sparse_gt_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4320:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill > yfill cpdef sparse_gt_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4321:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_gt_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4322:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_le_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4336:38: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_le_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4338:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_le_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4339:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_le_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4341:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill <= yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_le_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4437:36: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_le_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4439:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_le_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4440:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_le_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4442:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill <= yfill cpdef sparse_le_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4497:24: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill <= yfill cpdef sparse_le_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4498:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... val = values[i] if checknull_with_nat_and_na(val): iresult[i] = NPY_NAT elif is_integer_object(val) or is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:339:17: 'is_integer_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill <= yfill cpdef sparse_le_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4499:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... val = values[i] if checknull_with_nat_and_na(val): iresult[i] = NPY_NAT elif is_integer_object(val) or is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:339:43: 'is_float_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_le_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4500:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_le_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4514:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_le_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4516:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_le_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4517:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_le_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4519:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # we have hit an exception # and are in ignore mode # redo as object oresult = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:399:17: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill <= yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_le_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4615:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # we have hit an exception # and are in ignore mode # redo as object oresult = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:399:62: cimported module has no attribute 'NPY_OBJECT' Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_le_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4617:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:9:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_le_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4618:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 cpdef int64_t periods_per_second(NPY_DATETIMEUNIT reso) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:10:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... for i in range(n): val = values[i] if checknull_with_nat_and_na(val): oresult[i] = NaT elif is_integer_object(val) or is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:405:13: 'is_integer_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_le_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4620:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... for i in range(n): val = values[i] if checknull_with_nat_and_na(val): oresult[i] = NaT elif is_integer_object(val) or is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:405:39: 'is_float_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill <= yfill cpdef sparse_le_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4675:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:1:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill <= yfill cpdef sparse_le_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4676:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... try: if checknull_with_nat_and_na(val): iresult[i] = NPY_NAT elif PyDateTime_Check(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:512:21: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill <= yfill cpdef sparse_le_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4677:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... timedelta, tzinfo, ) cdef tzinfo utc_pytz ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:8:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_le_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4678:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:10:18: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... iresult[i] = val.value else: iresult[i] = pydatetime_to_dt64(val, &dts) check_dts_bounds(&dts) elif PyDate_Check(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:544:21: 'PyDate_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:11:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ge_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4692:38: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:12:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif PyDate_Check(val): seen_datetime = True iresult[i] = pydate_to_dt64(val, &dts) check_dts_bounds(&dts) elif is_datetime64_object(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:549:21: 'is_datetime64_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ge_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4694:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif is_datetime64_object(val): seen_datetime = True iresult[i] = get_datetime64_nanos(val) elif is_integer_object(val) or is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:553:21: 'is_integer_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ge_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4695:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif is_datetime64_object(val): seen_datetime = True iresult[i] = get_datetime64_nanos(val) elif is_integer_object(val) or is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:553:47: 'is_float_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_ge_float64(float64_t[:] x_, BlockIndex xindex, float64_t xfill, float64_t[:] y_, BlockIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4697:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:14:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill >= yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ge_float64(float64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4793:36: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ge_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4795:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:36: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ge_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4796:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:17:26: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_ge_float64(float64_t[:] x_, IntIndex xindex, float64_t xfill, float64_t[:] y_, IntIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4798:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:18:6: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill >= yfill cpdef sparse_ge_float64(float64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4853:24: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:5: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill >= yfill cpdef sparse_ge_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4854:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:29: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill >= yfill cpdef sparse_ge_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4855:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:40: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_ge_float64(float64_t[:] x, SparseIndex xindex, float64_t xfill, float64_t[:] y, SparseIndex yindex, float64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4856:54: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if is_coerce: # coerce all of the integers/floats to NaT, preserve # the datetimes and other convertibles for i in range(n): val = values[i] if is_integer_object(val) or is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:693:19: 'is_integer_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:21:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if is_coerce: # coerce all of the integers/floats to NaT, preserve # the datetimes and other convertibles for i in range(n): val = values[i] if is_integer_object(val) or is_float_object(val): ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:693:45: 'is_float_object' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ge_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4870:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) cdef object get_dst_info(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:23:25: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ge_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4872:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_ge_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4873:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_ge_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4875:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill >= yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ge_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4971:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ge_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4973:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_ge_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4974:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, n = len(values) object val oresult = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:737:17: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_ge_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:4976:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill >= yfill cpdef sparse_ge_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5031:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill >= yfill cpdef sparse_ge_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5032:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, n = len(values) object val oresult = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslib.pyx:737:17: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(tslib.pyx:1:0) StatListNode.stats[26] = StatListNode(tslib.pyx:720:5) StatListNode.stats[0] = CompilerDirectivesNode(tslib.pyx:720:5) CompilerDirectivesNode.body = StatListNode(tslib.pyx:720:5) StatListNode.stats[0] = CFuncDefNode(tslib.pyx:720:5, args = [...]/1, decorators = [...]/0, doc = '\n Fallback for array_to_datetime if an OutOfBoundsDatetime is raised\n and errors == "ignore"\n\n Parameters\n ----------\n values : ndarray[object]\n\n Returns\n -------\n ndarray[object]\n ', modifiers = [...]/0, visibility = 'private') File 'ExprNodes.py', line 5369, in infer_type: SimpleCallNode(tslib.pyx:737:31, result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 6852, in infer_type: AttributeNode(tslib.pyx:737:17, attribute = 'PyArray_EMPTY', is_attribute = 1, is_numpy_attribute = True, needs_none_check = True, result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 6852, in infer_type AttributeError: 'NoneType' object has no attribute 'type' Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill >= yfill cpdef sparse_ge_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5033:34: 'int64_t' is not a type identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_ge_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5034:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object/PyTypeObject.pxd' not found File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_and_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5048:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyBool_Check(object obj) nogil bint PyFloat_Check(object obj) nogil bint PyComplex_Check(object obj) nogil bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:20:40: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_and_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5050:48: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... # potentially allocate memory inside in unlikely case of when underlying # unicode object was stored as non-utf8 and utf8 wasn't requested before. const char* PyUnicode_AsUTF8AndSize(object obj, Py_ssize_t* length) except NULL from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:29:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_and_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5051:48: 'int64_t' is not a type identifier Cython.Compiler.Errors.CompileError: pandas/_libs/tslib.pyx Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_and_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5053:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ) cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:36:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill & yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_and_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5149:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:39:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_and_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5151:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:1:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_and_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5152:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:40:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:1:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:41:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:2:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type PyTypeObject PyBoolArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:42:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint PyArray_IsIntegerScalar(obj) nogil bint PyArray_Check(obj) nogil cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:48:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:2:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 cdef inline int64_t get_nat(): ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:51:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_nan : bool """ cdef float64_t fval ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:190:9: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_and_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5154:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill & yfill cpdef sparse_and_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5209:23: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill & yfill cpdef sparse_and_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5210:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill & yfill cpdef sparse_and_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5211:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_and_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5212:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_and_uint8(uint8_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5226:37: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_and_uint8(uint8_t[:] x_, BlockIndex xindex, uint8_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5228:48: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_and_uint8(uint8_t[:] x_, BlockIndex xindex, uint8_t xfill, uint8_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5229:48: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_and_uint8(uint8_t[:] x_, BlockIndex xindex, uint8_t xfill, uint8_t[:] y_, BlockIndex yindex, uint8_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5231:48: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill & yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_and_uint8(uint8_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5327:35: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:11:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_and_uint8(uint8_t[:] x_, IntIndex xindex, uint8_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5329:46: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:12:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_and_uint8(uint8_t[:] x_, IntIndex xindex, uint8_t xfill, uint8_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5330:46: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:12:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_and_uint8(uint8_t[:] x_, IntIndex xindex, uint8_t xfill, uint8_t[:] y_, IntIndex yindex, uint8_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5332:46: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:14:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill & yfill cpdef sparse_and_uint8(uint8_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5387:23: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( int64_t val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:15:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill & yfill cpdef sparse_and_uint8(uint8_t[:] x, SparseIndex xindex, uint8_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5388:54: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( int64_t val, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:16:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill & yfill cpdef sparse_and_uint8(uint8_t[:] x, SparseIndex xindex, uint8_t xfill, uint8_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5389:34: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef class Localizer: cdef: tzinfo tz ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:25:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_and_uint8(uint8_t[:] x, SparseIndex xindex, uint8_t xfill, uint8_t[:] y, SparseIndex yindex, uint8_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5390:54: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Localizer: cdef: tzinfo tz NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:28:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_or_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5404:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... tzinfo tz NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:30:14: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_or_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5406:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:31:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_or_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5407:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta int64_t* tdata ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:32:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_or_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5409:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta int64_t* tdata cdef inline int64_t utc_val_to_local_val( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:34:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill | yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_or_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5505:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t delta int64_t* tdata cdef inline int64_t utc_val_to_local_val( self, int64_t utc_val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:36:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_or_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5507:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_or_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5508:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_or_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5510:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill | yfill cpdef sparse_or_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5565:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill | yfill cpdef sparse_or_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5566:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Unit Conversion Helpers cdef inline int64_t cast_from_unit(object ts, str unit) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:100:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill | yfill cpdef sparse_or_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5567:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if p: frac = round(frac, p) return (base * m) + (frac * m) cpdef inline (int64_t, int) precision_from_unit(str unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:133:14: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_or_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5568:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise ValueError(f"cannot cast unit {unit}") return m, p cdef inline int64_t get_datetime64_nanos(object val) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:187:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_or_uint8(uint8_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5582:36: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __cinit__(self): # GH 25057. As per PEP 495, set fold to 0 by default self.fold = 0 cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:227:46: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_or_uint8(uint8_t[:] x_, BlockIndex xindex, uint8_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5584:48: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # GH 25057. As per PEP 495, set fold to 0 by default self.fold = 0 cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=0): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:228:66: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_or_uint8(uint8_t[:] x_, BlockIndex xindex, uint8_t xfill, uint8_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5585:48: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... maybe_localize_tso(obj, tz, NPY_FR_ns) return obj cdef maybe_localize_tso(_TSObject obj, tzinfo tz, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:316:39: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_or_uint8(uint8_t[:] x_, BlockIndex xindex, uint8_t xfill, uint8_t[:] y_, BlockIndex yindex, uint8_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5587:48: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... check_dts_bounds(&obj.dts, reso) check_overflows(obj, reso) cdef _TSObject convert_datetime_to_tsobject( datetime ts, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:327:4: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill | yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_or_uint8(uint8_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5683:34: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... check_overflows(obj, reso) cdef _TSObject convert_datetime_to_tsobject( datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:328:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_or_uint8(uint8_t[:] x_, IntIndex xindex, uint8_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5685:46: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_datetime_to_tsobject( datetime ts, tzinfo tz, int32_t nanos=0, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:329:4: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_or_uint8(uint8_t[:] x_, IntIndex xindex, uint8_t xfill, uint8_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5686:46: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_or_uint8(uint8_t[:] x_, IntIndex xindex, uint8_t xfill, uint8_t[:] y_, IntIndex yindex, uint8_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5688:46: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... check_overflows(obj, reso) return obj cdef _TSObject _create_tsobject_tz_using_offset(npy_datetimestruct dts, int tzoffset, tzinfo tz=None): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:397:62: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill | yfill cpdef sparse_or_uint8(uint8_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5743:22: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... obj = convert_datetime_to_tsobject( dt, tz, nanos=obj.dts.ps // 1000) return obj cdef _TSObject _convert_str_to_tsobject(object ts, tzinfo tz, str unit, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:449:51: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill | yfill cpdef sparse_or_uint8(uint8_t[:] x, SparseIndex xindex, uint8_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5744:54: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill | yfill cpdef sparse_or_uint8(uint8_t[:] x, SparseIndex xindex, uint8_t xfill, uint8_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5745:34: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # ---------------------------------------------------------------------- # Localization cdef inline void _localize_tso(_TSObject obj, tzinfo tz, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:581:46: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_or_uint8(uint8_t[:] x, SparseIndex xindex, uint8_t xfill, uint8_t[:] y, SparseIndex yindex, uint8_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5746:54: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(local_val, reso, &obj.dts) obj.tzinfo = tz cdef inline datetime _localize_pydatetime(datetime dt, tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:623:12: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(local_val, reso, &obj.dts) obj.tzinfo = tz cdef inline datetime _localize_pydatetime(datetime dt, tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:623:42: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_xor_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5760:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(local_val, reso, &obj.dts) obj.tzinfo = tz cdef inline datetime _localize_pydatetime(datetime dt, tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:623:55: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_xor_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5762:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return tz.localize(dt) except AttributeError: return dt.replace(tzinfo=tz) cpdef inline datetime localize_pydatetime(datetime dt, tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:638:13: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_xor_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5763:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return tz.localize(dt) except AttributeError: return dt.replace(tzinfo=tz) cpdef inline datetime localize_pydatetime(datetime dt, tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:638:42: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_xor_int64(int64_t[:] x_, BlockIndex xindex, int64_t xfill, int64_t[:] y_, BlockIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5765:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return tz.localize(dt) except AttributeError: return dt.replace(tzinfo=tz) cpdef inline datetime localize_pydatetime(datetime dt, tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:638:55: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ^ yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_xor_int64(int64_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5861:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_xor_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5863:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- int64_t """ cdef: int64_t m ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:115:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_xor_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5864:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ----- The caller is responsible for ensuring that the default value of "ns" takes the place of None. """ cdef: int64_t m ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:144:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_xor_int64(int64_t[:] x_, IntIndex xindex, int64_t xfill, int64_t[:] y_, IntIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5866:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill ^ yfill cpdef sparse_xor_int64(int64_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5921:23: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ^ yfill cpdef sparse_xor_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5922:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ^ yfill cpdef sparse_xor_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5923:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- obj : _TSObject """ cdef: _TSObject obj = _TSObject() int64_t pps ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:355:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_xor_int64(int64_t[:] x, SparseIndex xindex, int64_t xfill, int64_t[:] y, SparseIndex yindex, int64_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5924:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- obj : _TSObject """ cdef: _TSObject obj = _TSObject() int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:415:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise NotImplementedError @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_xor_uint8(uint8_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5938:37: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... obj : _TSObject """ cdef: _TSObject obj = _TSObject() int64_t value # numpy dt64 datetime dt ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:416:8: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:14:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_xor_uint8(uint8_t[:] x_, BlockIndex xindex, uint8_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5940:48: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:15:0: 'numpy/int8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple block_op_xor_uint8(uint8_t[:] x_, BlockIndex xindex, uint8_t xfill, uint8_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5941:48: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:15:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... obj : _TSObject """ cdef: npy_datetimestruct dts int out_local = 0, out_tzoffset = 0, string_to_dts_failed datetime dt ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:480:8: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple block_op_xor_uint8(uint8_t[:] x_, BlockIndex xindex, uint8_t xfill, uint8_t[:] y_, BlockIndex yindex, uint8_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:5943:48: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:15:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ^ yfill @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_xor_uint8(uint8_t[:] x_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:6039:35: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:15:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_xor_uint8(uint8_t[:] x_, IntIndex xindex, uint8_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:6041:46: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:15:0: 'numpy/uint32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: npy_datetimestruct dts int out_local = 0, out_tzoffset = 0, string_to_dts_failed datetime dt int64_t ival ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:481:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef inline tuple int_op_xor_uint8(uint8_t[:] x_, IntIndex xindex, uint8_t xfill, uint8_t[:] y_, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:6042:46: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline tuple int_op_xor_uint8(uint8_t[:] x_, IntIndex xindex, uint8_t xfill, uint8_t[:] y_, IntIndex yindex, uint8_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:6044:46: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Notes ----- Sets obj.tzinfo inplace, alters obj.dts inplace. """ cdef: int64_t local_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:601:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... yi += 1 return out, out_index, xfill ^ yfill cpdef sparse_xor_uint8(uint8_t[:] x, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:6099:23: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:10: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ^ yfill cpdef sparse_xor_uint8(uint8_t[:] x, SparseIndex xindex, uint8_t xfill, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:6100:54: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:5:0: 'cpython/datetime/PyDate_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return out, out_index, xfill ^ yfill cpdef sparse_xor_uint8(uint8_t[:] x, SparseIndex xindex, uint8_t xfill, uint8_t[:] y, ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:6101:34: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:5:0: 'cpython/datetime/PyDateTime_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cpdef sparse_xor_uint8(uint8_t[:] x, SparseIndex xindex, uint8_t xfill, uint8_t[:] y, SparseIndex yindex, uint8_t yfill): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:6102:54: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:19: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ----------------------------------------------------------------------------- # SparseArray mask create operations def make_mask_object_ndarray(ndarray[object, ndim=1] arr, object fill_value): ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:724:29: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:5:0: 'cpython/datetime/PyDelta_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:28: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:10:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:5:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:11:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:12:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t, intp_t, ndarray, ) cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:18:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:5:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil cpdef iso_calendar_t get_iso_calendar(int year, int month, int day) nogil cpdef int32_t get_day_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:14:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime, time, tzinfo, ) import_datetime() ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:33:0: 'import_datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return BlockIndex(self.length, locs, lens) cpdef IntIndex intersect(self, SparseIndex y_): cdef: Py_ssize_t out_length, xi, yi = 0, result_indexer = 0 int32_t xind ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:131:12: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if ts is None: return m # cast the unit, multiply base/frace separately # to avoid precision issues from float -> int base = ts ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:126:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef IntIndex intersect(self, SparseIndex y_): cdef: Py_ssize_t out_length, xi, yi = 0, result_indexer = 0 int32_t xind ndarray[int32_t, ndim=1] xindices, yindices, new_indices ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:132:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime, timedelta, ) import_datetime() from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:15:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return IntIndex(self.length, new_indices) cpdef IntIndex make_union(self, SparseIndex y_): cdef: ndarray[int32_t, ndim=1] new_indices ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:166:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # to avoid precision issues from float -> int base = ts frac = ts - base if p: frac = round(frac, p) return (base * m) + (frac * m) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:130:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Return the internal location if value exists on given index. Return -1 otherwise. """ cdef: int32_t res ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:185:12: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int get_lastbday(int year, int month) nogil cpdef int get_firstbday(int year, int month) nogil cdef dict c_MONTH_NUMBERS cdef int32_t* month_offset ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:20:5: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Return the internal location if value exists on given index. Return -1 otherwise. """ cdef: int32_t res ndarray[int32_t, ndim=1] inds ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:186:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # to avoid precision issues from float -> int base = ts frac = ts - base if p: frac = round(frac, p) return (base * m) + (frac * m) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:130:11: Casting temporary Python object to non-numeric non-Python type Error compiling Cython file: ------------------------------------------------------------ ... """ Vectorized lookup, returns ndarray[int32_t] """ cdef: Py_ssize_t n, i, ind_val ndarray[int32_t, ndim=1] inds ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:209:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime, timedelta, ) import_datetime() from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:15:0: 'cpython/object/Py_EQ.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:1:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Vectorized lookup, returns ndarray[int32_t] """ cdef: Py_ssize_t n, i, ind_val ndarray[int32_t, ndim=1] inds ndarray[uint8_t, ndim=1, cast=True] mask ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:210:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # to avoid precision issues from float -> int base = ts frac = ts - base if p: frac = round(frac, p) return (base * m) + (frac * m) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:130:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t n, i, ind_val ndarray[int32_t, ndim=1] inds ndarray[uint8_t, ndim=1, cast=True] mask ndarray[int32_t, ndim=1] masked ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:211:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # to avoid precision issues from float -> int base = ts frac = ts - base if p: frac = round(frac, p) return (base * m) + (frac * m) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:130:33: Casting temporary Python object to non-numeric non-Python type Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t n, i, ind_val ndarray[int32_t, ndim=1] inds ndarray[uint8_t, ndim=1, cast=True] mask ndarray[int32_t, ndim=1] masked ndarray[int32_t, ndim=1] res ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:212:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime, timedelta, ) import_datetime() from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:15:0: 'cpython/object/Py_GE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t n, i, ind_val ndarray[int32_t, ndim=1] inds ndarray[uint8_t, ndim=1, cast=True] mask ndarray[int32_t, ndim=1] masked ndarray[int32_t, ndim=1] res ndarray[int32_t, ndim=1] results ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:213:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:1:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:19:27: Cannot convert 'npy_datetimestruct' to Python object Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef get_blocks(ndarray[int32_t, ndim=1] indices): cdef: Py_ssize_t init_len, i, npoints, result_indexer = 0 int32_t block, length = 1, cur, prev ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:236:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cpdef get_blocks(ndarray[int32_t, ndim=1] indices): cdef: Py_ssize_t init_len, i, npoints, result_indexer = 0 int32_t block, length = 1, cur, prev ndarray[int32_t, ndim=1] locs, lens ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:237:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... - No overlapping blocks - Blocks to not start after end of index, nor extend beyond end """ cdef: Py_ssize_t i ndarray[int32_t, ndim=1] blocs, blengths ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:339:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... obj.value = get_datetime64_nanos(ts) if obj.value != NPY_NAT: pandas_datetime_to_datetimestruct(obj.value, NPY_FR_ns, &obj.dts) elif is_integer_object(ts): try: ts = ts ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:259:18: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def to_block_index(self): return self cpdef to_int_index(self): cdef: int32_t i = 0, j, b ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:380:12: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... return self cpdef to_int_index(self): cdef: int32_t i = 0, j, b int32_t offset ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:381:12: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) ts = cast_from_unit(ts, unit) obj.value = ts pandas_datetime_to_datetimestruct(ts, NPY_FR_ns, &obj.dts) elif PyDateTime_Check(ts): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:298:9: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef to_int_index(self): cdef: int32_t i = 0, j, b int32_t offset ndarray[int32_t, ndim=1] indices ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:382:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ts = cast_from_unit(ts, unit) obj.value = ts pandas_datetime_to_datetimestruct(ts, NPY_FR_ns, &obj.dts) elif PyDateTime_Check(ts): return convert_datetime_to_tsobject(ts, tz, nanos) elif PyDate_Check(ts): ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:300:9: 'PyDate_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime, timedelta, ) import_datetime() from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:15:0: 'cpython/object/Py_GT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ------- BlockIndex """ cdef: BlockIndex y ndarray[int32_t, ndim=1] xloc, xlen, yloc, ylen, out_bloc, out_blen ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:409:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(ts, NPY_FR_ns, &obj.dts) elif PyDateTime_Check(ts): return convert_datetime_to_tsobject(ts, tz, nanos) elif PyDate_Check(ts): # Keep the converter same as PyDateTime's ts = datetime.combine(ts, time()) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:302:21: cimported module has no attribute 'combine' Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: BlockIndex y ndarray[int32_t, ndim=1] xloc, xlen, yloc, ylen, out_bloc, out_blen Py_ssize_t xi = 0, yi = 0, max_len, result_indexer = 0 int32_t cur_loc, cur_length, diff ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:411:12: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(ts, NPY_FR_ns, &obj.dts) elif PyDateTime_Check(ts): return convert_datetime_to_tsobject(ts, tz, nanos) elif PyDate_Check(ts): # Keep the converter same as PyDateTime's ts = datetime.combine(ts, time()) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:302:34: 'time' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... Return the internal location if value exists on given index. Return -1 otherwise. """ cdef: Py_ssize_t i, cum_len ndarray[int32_t, ndim=1] locs, lens ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:505:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Vectorized lookup, returns ndarray[int32_t] """ cdef: Py_ssize_t n, i, j, ind_val ndarray[int32_t, ndim=1] locs, lens ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:530:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime, timedelta, ) import_datetime() from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:15:0: 'cpython/object/Py_LE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Vectorized lookup, returns ndarray[int32_t] """ cdef: Py_ssize_t n, i, j, ind_val ndarray[int32_t, ndim=1] locs, lens ndarray[int32_t, ndim=1] results ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:531:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif info.use_dst and not info.use_pytz: # i.e. dateutil info.utc_val_to_local_val(obj.value, &pos, &obj.fold) # Keep the converter same as PyDateTime's dt = datetime(obj.dts.year, obj.dts.month, obj.dts.day, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:441:9: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... obj.tzinfo = tz return obj elif ts == 'now': # Issue 9000, we short-circuit rather than going # into np_datetime_strings which returns utc dt = datetime.now(tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:493:21: cimported module has no attribute 'now' Error compiling Cython file: ------------------------------------------------------------ ... import_datetime, timedelta, ) import_datetime() from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:15:0: 'cpython/object/Py_LT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... lot easier and reduces code duplication """ cdef _make_merged_blocks(self): cdef: ndarray[int32_t, ndim=1] xstart, xend, ystart ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:607:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # into np_datetime_strings which returns utc dt = datetime.now(tz) elif ts == 'today': # Issue 9000, we short-circuit rather than going # into np_datetime_strings which returns a normalized datetime dt = datetime.now(tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pyx:497:21: cimported module has no attribute 'now' Error compiling Cython file: ------------------------------------------------------------ ... """ cdef _make_merged_blocks(self): cdef: ndarray[int32_t, ndim=1] xstart, xend, ystart ndarray[int32_t, ndim=1] yend, out_bloc, out_blen ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:608:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime, timedelta, ) import_datetime() from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:15:0: 'cpython/object/Py_NE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _make_merged_blocks(self): cdef: ndarray[int32_t, ndim=1] xstart, xend, ystart ndarray[int32_t, ndim=1] yend, out_bloc, out_blen int32_t nstart, nend, diff ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:609:12: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... mode 0: block started in index x mode 1: block started in index y """ cdef: ndarray[int32_t, ndim=1] xstart, xend, ystart, yend ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:661:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... mode 0: block started in index x mode 1: block started in index y """ cdef: ndarray[int32_t, ndim=1] xstart, xend, ystart, yend int32_t xi, yi, xnblocks, ynblocks, nend ^ ------------------------------------------------------------ pandas/_libs/sparse.pyx:662:12: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime, timedelta, ) import_datetime() from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:15:0: 'cpython/object/PyObject_RichCompare.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef fused sparse_t: float64_t int64_t cdef inline float64_t __div__(sparse_t a, sparse_t b): ^ ------------------------------------------------------------ pandas/_libs/sparse_op_helper.pxi:16:5: Compiler crash in AnalyseDeclarationsTransform ModuleNode.body = StatListNode(sparse.pyx:1:0) StatListNode.stats[13] = StatListNode(sparse_op_helper.pxi:1:0) StatListNode.stats[1] = CFuncDefNode(sparse_op_helper.pxi:16:5, args = [...]/2, has_fused_arguments = True, modifiers = [...]/1, visibility = 'private') Compiler crash traceback from this point on: File "Cython/Compiler/Visitor.py", line 180, in Cython.Compiler.Visitor.TreeVisitor._visit File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ParseTreeTransforms.py", line 1899, in visit_FuncDefNode File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ParseTreeTransforms.py", line 1821, in _create_fused_function ImportError: cannot import name 'FusedNode' from 'Cython.Compiler' (/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/__init__.py) Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Cython.Compiler.Errors.CompileError: pandas/_libs/sparse.pyx Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object/PyTypeObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyBool_Check(object obj) nogil bint PyFloat_Check(object obj) nogil bint PyComplex_Check(object obj) nogil bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:20:40: 'PyTypeObject' is not a type identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # potentially allocate memory inside in unlikely case of when underlying # unicode object was stored as non-utf8 and utf8 wasn't requested before. const char* PyUnicode_AsUTF8AndSize(object obj, Py_ssize_t* length) except NULL from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:29:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:1:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime.pxd' not found File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/datetime.pxd' not found File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/conversion.pyx Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ) cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:36:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:1:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:39:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:40:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:1:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:41:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type PyTypeObject PyBoolArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:42:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint PyArray_IsIntegerScalar(obj) nogil bint PyArray_Check(obj) nogil cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:48:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 cdef inline int64_t get_nat(): ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:51:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) @cython.wraparound(False) @cython.boundscheck(False) def build_field_sarray(const int64_t[:] dtindex, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:58:29: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def get_date_name_field( const int64_t[:] dtindex, ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:143:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def get_start_end_field( const int64_t[:] dtindex, ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:210:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out.view(bool) @cython.wraparound(False) @cython.boundscheck(False) def get_date_field(const int64_t[:] dtindex, str field, NPY_DATETIMEUNIT reso=NPY_FR_ns): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:331:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def get_timedelta_field( const int64_t[:] tdindex, ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:495:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out raise ValueError(f"Field {field} not supported") cpdef isleapyear_arr(ndarray years): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:557:21: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out.view(bool) @cython.wraparound(False) @cython.boundscheck(False) def build_isocalendar_sarray(const int64_t[:] dtindex, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:571:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @property def NEAREST_HALF_MINUS_INFTY(self) -> int: return 4 cdef inline ndarray[int64_t] _floor_int64(const int64_t[:] values, int64_t unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:684:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_nan : bool """ cdef float64_t fval ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:190:9: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @property def NEAREST_HALF_MINUS_INFTY(self) -> int: return 4 cdef inline ndarray[int64_t] _floor_int64(const int64_t[:] values, int64_t unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:684:48: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @property def NEAREST_HALF_MINUS_INFTY(self) -> int: return 4 cdef inline ndarray[int64_t] _floor_int64(const int64_t[:] values, int64_t unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:684:67: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = res return result cdef inline ndarray[int64_t] _ceil_int64(const int64_t[:] values, int64_t unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:702:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = res return result cdef inline ndarray[int64_t] _ceil_int64(const int64_t[:] values, int64_t unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:702:47: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = res return result cdef inline ndarray[int64_t] _ceil_int64(const int64_t[:] values, int64_t unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:702:66: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = res return result cdef inline ndarray[int64_t] _rounddown_int64(values, int64_t unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:726:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = res return result cdef inline ndarray[int64_t] _rounddown_int64(values, int64_t unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:726:54: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline ndarray[int64_t] _rounddown_int64(values, int64_t unit): return _ceil_int64(values - unit // 2, unit) cdef inline ndarray[int64_t] _roundup_int64(values, int64_t unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:730:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline ndarray[int64_t] _rounddown_int64(values, int64_t unit): return _ceil_int64(values - unit // 2, unit) cdef inline ndarray[int64_t] _roundup_int64(values, int64_t unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:730:52: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Datetime as int64 representation to a structured array of fields """ cdef: Py_ssize_t i, count = len(dtindex) npy_datetimestruct dts ndarray[int32_t] years, months, days, hours, minutes, seconds, mus ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:65:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out def month_position_check(fields, weekdays) -> str | None: cdef: int32_t daysinmonth, y, m, d ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:102:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... bint calendar_end = True bint business_end = True bint calendar_start = True bint business_start = True bint cal int32_t[:] years = fields["Y"] ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:108:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... bint business_end = True bint calendar_start = True bint business_start = True bint cal int32_t[:] years = fields["Y"] int32_t[:] months = fields["M"] ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:109:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint calendar_start = True bint business_start = True bint cal int32_t[:] years = fields["Y"] int32_t[:] months = fields["M"] int32_t[:] days = fields["D"] ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:110:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Given a int64-based datetime index, return array of strings of date name based on requested field (e.g. day_name) """ cdef: Py_ssize_t i, count = dtindex.shape[0] ndarray[object] out, names ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:154:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i int count = dtindex.shape[0] bint is_business = 0 int end_month = 12 int start_month = 1 ndarray[int8_t] out ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:239:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Given a int64-based datetime index, extract the year, month, etc., field and return an array of these values. """ cdef: Py_ssize_t i, count = len(dtindex) ndarray[int32_t] out ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:338:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Given a int64-based timedelta index, extract the days, hrs, sec., field and return an array of these values. """ cdef: Py_ssize_t i, count = len(tdindex) ndarray[int32_t] out ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:505:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef isleapyear_arr(ndarray years): """vectorized version of isleapyear; NaT evaluates as False""" cdef: ndarray[int8_t] out ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:560:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... as a structured array. """ cdef: Py_ssize_t i, count = len(dtindex) npy_datetimestruct dts ndarray[uint32_t] iso_years, iso_weeks, days ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:579:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline ndarray[int64_t] _floor_int64(const int64_t[:] values, int64_t unit): cdef: Py_ssize_t i, n = len(values) ndarray[int64_t] result = np.empty(n, dtype="i8") ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:687:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline ndarray[int64_t] _floor_int64(const int64_t[:] values, int64_t unit): cdef: Py_ssize_t i, n = len(values) ndarray[int64_t] result = np.empty(n, dtype="i8") int64_t res, value ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:688:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:2:0: 'cpython/datetime/PyDateTime_CheckExact.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef inline ndarray[int64_t] _ceil_int64(const int64_t[:] values, int64_t unit): cdef: Py_ssize_t i, n = len(values) ndarray[int64_t] result = np.empty(n, dtype="i8") ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:705:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline ndarray[int64_t] _ceil_int64(const int64_t[:] values, int64_t unit): cdef: Py_ssize_t i, n = len(values) ndarray[int64_t] result = np.empty(n, dtype="i8") int64_t res, value ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:706:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:2:0: 'cpython/datetime/PyDateTime_DATE_GET_HOUR.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- np.ndarray[int64_t] """ cdef: int64_t unit = nanos ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:750:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:2:0: 'cpython/datetime/PyDateTime_DATE_GET_MICROSECOND.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:2:0: 'cpython/datetime/PyDateTime_DATE_GET_MINUTE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:2:0: 'cpython/datetime/PyDateTime_DATE_GET_SECOND.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:2:0: 'cpython/datetime/PyDateTime_GET_DAY.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:2:0: 'cpython/datetime/PyDateTime_GET_MONTH.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:2:0: 'cpython/datetime/PyDateTime_GET_YEAR.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:2:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Constants nat_strings = {"NaT", "nat", "NAT", "nan", "NaN", "NAN"} cdef set c_nat_strings = nat_strings cdef int64_t NPY_NAT = util.get_nat() ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:43:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_GET_DAY, PyDateTime_GET_MONTH, PyDateTime_GET_YEAR, import_datetime, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:13:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return c_NaT # ---------------------------------------------------------------------- cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:99:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_GET_DAY, PyDateTime_GET_MONTH, PyDateTime_GET_YEAR, import_datetime, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:13:0: 'cpython/object/Py_EQ.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_GET_DAY, PyDateTime_GET_MONTH, PyDateTime_GET_YEAR, import_datetime, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:13:0: 'cpython/object/Py_GE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_GET_DAY, PyDateTime_GET_MONTH, PyDateTime_GET_YEAR, import_datetime, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:13:0: 'cpython/object/Py_GT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_GET_DAY, PyDateTime_GET_MONTH, PyDateTime_GET_YEAR, import_datetime, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:13:0: 'cpython/object/Py_LE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_GET_DAY, PyDateTime_GET_MONTH, PyDateTime_GET_YEAR, import_datetime, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:13:0: 'cpython/object/Py_LT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_GET_DAY, PyDateTime_GET_MONTH, PyDateTime_GET_YEAR, import_datetime, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:13:0: 'cpython/object/Py_NE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ndarray, uint32_t, ) cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:23:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp cnp.import_array() from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:29:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp cnp.import_array() from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:29:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object/PyTypeObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyBool_Check(object obj) nogil bint PyFloat_Check(object obj) nogil bint PyComplex_Check(object obj) nogil bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:20:40: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # potentially allocate memory inside in unlikely case of when underlying # unicode object was stored as non-utf8 and utf8 wasn't requested before. const char* PyUnicode_AsUTF8AndSize(object obj, Py_ssize_t* length) except NULL from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:29:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... datetime, import_datetime, timedelta, ) import_datetime() ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:14:0: 'import_datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ) cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:36:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp from numpy cimport int64_t cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:30:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:39:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... for i in range(n): value = values[i] if value == NPY_NAT: res = NPY_NAT else: res = value - value % unit ^ ------------------------------------------------------------ pandas/_libs/tslibs/fields.pyx:696:36: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(fields.pyx:5:0) StatListNode.stats[24] = StatListNode(fields.pyx:684:5) StatListNode.stats[0] = CFuncDefNode(fields.pyx:684:5, args = [...]/2, modifiers = [...]/1, visibility = 'private') File 'Nodes.py', line 435, in analyse_expressions: StatListNode(fields.pyx:685:4, is_terminator = True) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(fields.pyx:690:9) File 'Nodes.py', line 381, in analyse_expressions: CompilerDirectivesNode(fields.pyx:691:8) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(fields.pyx:691:8) File 'Nodes.py', line 6706, in analyse_expressions: ForInStatNode(fields.pyx:691:8) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(fields.pyx:692:12) File 'Nodes.py', line 6270, in analyse_expressions: IfStatNode(fields.pyx:693:12) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(fields.pyx:696:28) File 'Nodes.py', line 5185, in analyse_expressions: SingleAssignmentNode(fields.pyx:696:28) File 'Nodes.py', line 5305, in analyse_types: SingleAssignmentNode(fields.pyx:696:28) File 'ExprNodes.py', line 11051, in analyse_types: SubNode(fields.pyx:696:28, infix = True, operator = '-', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 11052, in analyse_types: ModNode(fields.pyx:696:36, infix = True, operator = '%', result_is_used = True, use_managed_ref = True, zerodivision_check = True) File 'ExprNodes.py', line 11725, in analyse_operation: ModNode(fields.pyx:696:36, infix = True, operator = '%', result_is_used = True, use_managed_ref = True, zerodivision_check = True) Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 11725, in analyse_operation AttributeError: 'ErrorType' object has no attribute 'signed' Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:40:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:41:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Return the day of the week represented by the date. Monday == 1 ... Sunday == 7. """, ) total_seconds = _make_nan_func("total_seconds", timedelta.total_seconds.__doc__) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:463:61: cimported module has no attribute 'total_seconds' Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type PyTypeObject PyBoolArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:42:4: 'PyTypeObject' is not a type identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... >>> pd.NaT.day_name() nan """, ) # _nat_methods date = _make_nat_func("date", datetime.date.__doc__) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:517:42: cimported module has no attribute 'date' File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... bint PyArray_IsIntegerScalar(obj) nogil bint PyArray_Check(obj) nogil cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:48:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """, ) # _nat_methods date = _make_nat_func("date", datetime.date.__doc__) utctimetuple = _make_error_func("utctimetuple", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:519:52: 'datetime' is not a constant, variable or function identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 cdef inline int64_t get_nat(): ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:51:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # _nat_methods date = _make_nat_func("date", datetime.date.__doc__) utctimetuple = _make_error_func("utctimetuple", datetime) timetz = _make_error_func("timetz", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:520:40: 'datetime' is not a constant, variable or function identifier Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/fields.pyx Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_nan : bool """ cdef float64_t fval ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:190:9: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # _nat_methods date = _make_nat_func("date", datetime.date.__doc__) utctimetuple = _make_error_func("utctimetuple", datetime) timetz = _make_error_func("timetz", datetime) timetuple = _make_error_func("timetuple", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:521:46: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... date = _make_nat_func("date", datetime.date.__doc__) utctimetuple = _make_error_func("utctimetuple", datetime) timetz = _make_error_func("timetz", datetime) timetuple = _make_error_func("timetuple", datetime) isocalendar = _make_error_func("isocalendar", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:522:50: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... utctimetuple = _make_error_func("utctimetuple", datetime) timetz = _make_error_func("timetz", datetime) timetuple = _make_error_func("timetuple", datetime) isocalendar = _make_error_func("isocalendar", datetime) dst = _make_error_func("dst", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:523:34: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... utctimetuple = _make_error_func("utctimetuple", datetime) timetz = _make_error_func("timetz", datetime) timetuple = _make_error_func("timetuple", datetime) isocalendar = _make_error_func("isocalendar", datetime) dst = _make_error_func("dst", datetime) ctime = _make_error_func("ctime", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:524:38: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... timetz = _make_error_func("timetz", datetime) timetuple = _make_error_func("timetuple", datetime) isocalendar = _make_error_func("isocalendar", datetime) dst = _make_error_func("dst", datetime) ctime = _make_error_func("ctime", datetime) time = _make_error_func("time", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:525:36: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... timetuple = _make_error_func("timetuple", datetime) isocalendar = _make_error_func("isocalendar", datetime) dst = _make_error_func("dst", datetime) ctime = _make_error_func("ctime", datetime) time = _make_error_func("time", datetime) toordinal = _make_error_func("toordinal", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:526:46: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... isocalendar = _make_error_func("isocalendar", datetime) dst = _make_error_func("dst", datetime) ctime = _make_error_func("ctime", datetime) time = _make_error_func("time", datetime) toordinal = _make_error_func("toordinal", datetime) tzname = _make_error_func("tzname", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:527:40: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct _US_MIN_DTS, _US_MAX_DTS npy_datetimestruct _MS_MIN_DTS, _MS_MAX_DTS npy_datetimestruct _S_MIN_DTS, _S_MAX_DTS npy_datetimestruct _M_MIN_DTS, _M_MAX_DTS PyArray_DatetimeMetaData get_datetime_metadata_from_dtype(cnp.PyArray_Descr *dtype); ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:49:62: 'PyArray_Descr' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... dst = _make_error_func("dst", datetime) ctime = _make_error_func("ctime", datetime) time = _make_error_func("time", datetime) toordinal = _make_error_func("toordinal", datetime) tzname = _make_error_func("tzname", datetime) utcoffset = _make_error_func("utcoffset", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:528:46: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... returns the unit part of the dtype for a numpy datetime64 object. """ return (obj).obmeta.base cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype): ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:85:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... toordinal = _make_error_func("toordinal", datetime) tzname = _make_error_func("tzname", datetime) utcoffset = _make_error_func("utcoffset", datetime) # "fromisocalendar" was introduced in 3.8 fromisocalendar = _make_error_func("fromisocalendar", datetime) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:531:58: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... else: # i.e. op == Py_LE return cmp_res == -1 or cmp_res == 0 cdef inline bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:138:28: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... f.__doc__ = getattr(cls, func_name).__doc__ return f cdef _nat_divide_op(self, other): if PyDelta_Check(other) or util.is_timedelta64_object(other) or other is c_NaT: ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:79:7: 'PyDelta_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... else: # i.e. op == Py_LE return cmp_res == -1 or cmp_res == 0 cdef inline bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:138:41: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return c_NaT return NotImplemented cdef _nat_rdivide_op(self, other): if PyDelta_Check(other): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:87:7: 'PyDelta_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion cdef inline int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:218:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... with the by-far-most-common frequency NPY_FR_ns""" return npy_datetimestruct_to_datetime(NPY_FR_ns, dts) # just exposed for testing at the moment def py_td64_to_tdstruct(int64_t td64, NPY_DATETIMEUNIT unit): ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:225:24: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # higher than np.ndarray and np.matrix __array_priority__ = 100 def __richcmp__(_NaT self, object other, int op): if util.is_datetime64_object(other) or PyDateTime_Check(other): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:107:47: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_timedeltastruct tds pandas_timedelta_to_timedeltastruct(td64, unit, &tds) return tds # <- returned as a dict to python cdef inline void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts): ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:232:40: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... __array_priority__ = 100 def __richcmp__(_NaT self, object other, int op): if util.is_datetime64_object(other) or PyDateTime_Check(other): # We treat NaT as datetime-like for this comparison return op == Py_NE ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:109:25: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... def __richcmp__(_NaT self, object other, int op): if util.is_datetime64_object(other) or PyDateTime_Check(other): # We treat NaT as datetime-like for this comparison return op == Py_NE elif util.is_timedelta64_object(other) or PyDelta_Check(other): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:111:50: 'PyDelta_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... dts.sec = PyDateTime_DATE_GET_SECOND(dt) dts.us = PyDateTime_DATE_GET_MICROSECOND(dt) dts.ps = dts.as = 0 cdef inline int64_t pydatetime_to_dt64(datetime val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:249:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # We treat NaT as datetime-like for this comparison return op == Py_NE elif util.is_timedelta64_object(other) or PyDelta_Check(other): # We treat NaT as timedelta-like for this comparison return op == Py_NE ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:113:25: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... dts.sec = PyDateTime_DATE_GET_SECOND(dt) dts.us = PyDateTime_DATE_GET_MICROSECOND(dt) dts.ps = dts.as = 0 cdef inline int64_t pydatetime_to_dt64(datetime val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:249:39: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return op == Py_NE elif util.is_array(other): if other.dtype.kind in "mM": result = np.empty(other.shape, dtype=np.bool_) result.fill(op == Py_NE) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:118:34: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... """ pydatetime_to_dtstruct(val, dts) return dtstruct_to_dt64(dts) cdef inline void pydate_to_dtstruct(date val, npy_datetimestruct *dts): ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:258:36: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if other.dtype.kind in "mM": result = np.empty(other.shape, dtype=np.bool_) result.fill(op == Py_NE) elif other.dtype.kind == "O": result = np.array([PyObject_RichCompare(self, x, op) for x in other]) elif op == Py_EQ: ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:121:23: 'Py_EQ' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... dts.day = PyDateTime_GET_DAY(val) dts.hour = dts.min = dts.sec = dts.us = 0 dts.ps = dts.as = 0 return cdef inline int64_t pydate_to_dt64(date val, npy_datetimestruct *dts): ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:266:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result.fill(op == Py_NE) elif other.dtype.kind == "O": result = np.array([PyObject_RichCompare(self, x, op) for x in other]) elif op == Py_EQ: result = np.zeros(other.shape, dtype=bool) elif op == Py_NE: ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:123:23: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... dts.day = PyDateTime_GET_DAY(val) dts.hour = dts.min = dts.sec = dts.us = 0 dts.ps = dts.as = 0 return cdef inline int64_t pydate_to_dt64(date val, npy_datetimestruct *dts): ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:266:35: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = np.ones(other.shape, dtype=bool) else: return NotImplemented return result elif PyDate_Check(other): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:129:13: 'PyDate_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... buf = get_c_string_buf_and_size(val, &length) return parse_iso_8601_datetime(buf, length, want_exc, dts, out_bestunit, out_local, out_tzoffset) cpdef ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:288:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return NotImplemented return result elif PyDate_Check(other): # GH#39151 don't defer to datetime.date object if op == Py_EQ: ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:131:21: 'Py_EQ' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return parse_iso_8601_datetime(buf, length, want_exc, dts, out_bestunit, out_local, out_tzoffset) cpdef ndarray astype_overflowsafe( ndarray values, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:289:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif PyDate_Check(other): # GH#39151 don't defer to datetime.date object if op == Py_EQ: return False if op == Py_NE: ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:133:21: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... dts, out_bestunit, out_local, out_tzoffset) cpdef ndarray astype_overflowsafe( ndarray values, cnp.dtype dtype, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:290:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return iresult.view(dtype) # TODO: try to upstream this fix to numpy def compare_mismatched_resolutions(ndarray left, ndarray right, op): ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:392:35: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif util.is_array(other): if other.dtype.kind in "mM": result = np.empty(other.shape, dtype=np.bool_) result.fill(op == Py_NE) elif other.dtype.kind == "O": result = np.array([PyObject_RichCompare(self, x, op) for x in other]) ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:120:35: 'PyObject_RichCompare' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return iresult.view(dtype) # TODO: try to upstream this fix to numpy def compare_mismatched_resolutions(ndarray left, ndarray right, op): ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:392:49: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if self is not c_NaT: # TODO(cython3): remove this it moved to __radd__ # cython __radd__ semantics self, other = other, self if PyDateTime_Check(other): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:152:11: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return Py_GE if op is operator.gt: return Py_GT cdef ndarray astype_round_check( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:469:5: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # cython __radd__ semantics self, other = other, self if PyDateTime_Check(other): return c_NaT elif PyDelta_Check(other): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:154:13: 'PyDelta_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... if op is operator.gt: return Py_GT cdef ndarray astype_round_check( ndarray i8values, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:470:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return iresult @cython.overflowcheck(True) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:516:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return 1000 * get_conversion_factor(NPY_DATETIMEUNIT.NPY_FR_fs, to_unit) elif from_unit == NPY_DATETIMEUNIT.NPY_FR_fs: return 1000 * get_conversion_factor(NPY_DATETIMEUNIT.NPY_FR_as, to_unit) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:553:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif from_unit == NPY_DATETIMEUNIT.NPY_FR_fs: return 1000 * get_conversion_factor(NPY_DATETIMEUNIT.NPY_FR_as, to_unit) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:554:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... res_value = value * mult return res_value cdef int64_t _convert_reso_with_dtstruct( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:596:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return res_value cdef int64_t _convert_reso_with_dtstruct( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:597:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # cython __rsub__ semantics # TODO(cython3): remove __rsub__ logic from here self, other = other, self is_rsub = True if PyDateTime_Check(other): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:190:11: 'PyDateTime_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... self, other = other, self is_rsub = True if PyDateTime_Check(other): return c_NaT elif PyDelta_Check(other): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pyx:192:13: 'PyDelta_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype): # NB: caller is responsible for ensuring this is *some* datetime64 or # timedelta64 dtype, otherwise we can segfault cdef: cnp.PyArray_Descr* descr = dtype ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:89:8: 'PyArray_Descr' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if (values).dtype.byteorder == ">": # GH#29684 we incorrectly get OutOfBoundsDatetime if we dont swap values = values.astype(values.dtype.newbyteorder("<")) cdef: ndarray i8values = values.view("i8") ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:345:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: ndarray i8values = values.view("i8") # equiv: result = np.empty((values).shape, dtype="i8") ndarray iresult = cnp.PyArray_EMPTY( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:348:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # equiv: result = np.empty((values).shape, dtype="i8") ndarray iresult = cnp.PyArray_EMPTY( values.ndim, values.shape, cnp.NPY_INT64, 0 ) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(iresult, i8values) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:352:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... values.ndim, values.shape, cnp.NPY_INT64, 0 ) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(iresult, i8values) Py_ssize_t i, N = values.size int64_t value, new_value ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:354:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int op_code = op_to_op_code(op) NPY_DATETIMEUNIT left_unit = get_unit_from_dtype(left.dtype) NPY_DATETIMEUNIT right_unit = get_unit_from_dtype(right.dtype) # equiv: result = np.empty((left).shape, dtype="bool") ndarray result = cnp.PyArray_EMPTY( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:411:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # equiv: result = np.empty((left).shape, dtype="bool") ndarray result = cnp.PyArray_EMPTY( left.ndim, left.shape, cnp.NPY_BOOL, 0 ) ndarray lvalues = left.view("i8") ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:415:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray result = cnp.PyArray_EMPTY( left.ndim, left.shape, cnp.NPY_BOOL, 0 ) ndarray lvalues = left.view("i8") ndarray rvalues = right.view("i8") ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:416:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) ndarray lvalues = left.view("i8") ndarray rvalues = right.view("i8") cnp.broadcast mi = cnp.PyArray_MultiIterNew3(result, lvalues, rvalues) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:418:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray lvalues = left.view("i8") ndarray rvalues = right.view("i8") cnp.broadcast mi = cnp.PyArray_MultiIterNew3(result, lvalues, rvalues) int64_t lval, rval ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:419:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # involves truncation, e.g. 1500ns->1us cdef: Py_ssize_t i, N = i8values.size # equiv: iresult = np.empty((i8values).shape, dtype="i8") ndarray iresult = cnp.PyArray_EMPTY( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:480:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # equiv: iresult = np.empty((i8values).shape, dtype="i8") ndarray iresult = cnp.PyArray_EMPTY( i8values.ndim, i8values.shape, cnp.NPY_INT64, 0 ) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(iresult, i8values) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:483:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(iresult, i8values) # Note the arguments to_unit, from unit are swapped vs how they # are passed when going to a higher-frequency reso. int64_t mult = get_conversion_factor(to_unit, from_unit) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:487:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.broadcast mi = cnp.PyArray_MultiIterNew2(iresult, i8values) # Note the arguments to_unit, from unit are swapped vs how they # are passed when going to a higher-frequency reso. int64_t mult = get_conversion_factor(to_unit, from_unit) int64_t value, mod ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:488:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT from_reso, NPY_DATETIMEUNIT to_reso, bint round_ok, ) except? -1: cdef: int64_t res_value, mult, div, mod ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:560:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_LE, Py_LT, Py_NE, ) import_datetime() ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:22:0: 'import_datetime' is not a constant, variable or function identifier Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/nattype.pyx Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:28:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... def py_get_unit_from_dtype(dtype): # for testing get_unit_from_dtype; adds 896 bytes to the .so file. return get_unit_from_dtype(dtype) def is_unitless(dtype: cnp.dtype) -> bool: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:100:26: cimported module has no attribute 'dtype' Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pxd:1:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pxd:1:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype): # NB: caller is responsible for ensuring this is *some* datetime64 or # timedelta64 dtype, otherwise we can segfault cdef: cnp.PyArray_Descr* descr = dtype ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:89:36: 'PyArray_Descr' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def is_unitless(dtype: cnp.dtype) -> bool: """ Check if a datetime64 or timedelta64 dtype has no attached unit. """ if dtype.type_num not in [cnp.NPY_DATETIME, cnp.NPY_TIMEDELTA]: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:104:33: cimported module has no attribute 'NPY_DATETIME' Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:11:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... def is_unitless(dtype: cnp.dtype) -> bool: """ Check if a datetime64 or timedelta64 dtype has no attached unit. """ if dtype.type_num not in [cnp.NPY_DATETIME, cnp.NPY_TIMEDELTA]: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:104:51: cimported module has no attribute 'NPY_TIMEDELTA' Error compiling Cython file: ------------------------------------------------------------ ... ): cdef: int cmp_res cmp_res = cmp_npy_datetimestruct(left, right) if op == Py_EQ: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:123:13: 'Py_EQ' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... int cmp_res cmp_res = cmp_npy_datetimestruct(left, right) if op == Py_EQ: return cmp_res == 0 if op == Py_NE: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:125:13: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cmp_res = cmp_npy_datetimestruct(left, right) if op == Py_EQ: return cmp_res == 0 if op == Py_NE: return cmp_res != 0 if op == Py_GT: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:127:13: 'Py_GT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:11:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return cmp_res == 0 if op == Py_NE: return cmp_res != 0 if op == Py_GT: return cmp_res == 1 if op == Py_LT: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:129:13: 'Py_LT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:11:0: 'cpython/datetime/datetime_new.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return cmp_res != 0 if op == Py_GT: return cmp_res == 1 if op == Py_LT: return cmp_res == -1 if op == Py_GE: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:131:13: 'Py_GE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:11:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1: """ cmp_scalar is a more performant version of PyObject_RichCompare typed for int64_t arguments. """ if op == Py_EQ: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:143:13: 'Py_EQ' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cmp_scalar is a more performant version of PyObject_RichCompare typed for int64_t arguments. """ if op == Py_EQ: return lhs == rhs elif op == Py_NE: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:145:15: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( datetime, datetime_new, import_datetime, ) from cpython.object cimport PyObject_Str ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:16:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ if op == Py_EQ: return lhs == rhs elif op == Py_NE: return lhs != rhs elif op == Py_LT: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:147:15: 'Py_LT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( datetime, datetime_new, import_datetime, ) from cpython.object cimport PyObject_Str ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:16:0: 'cpython/object/PyObject_Str.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return lhs == rhs elif op == Py_NE: return lhs != rhs elif op == Py_LT: return lhs < rhs elif op == Py_LE: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:149:15: 'Py_LE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... datetime_new, import_datetime, ) from cpython.object cimport PyObject_Str from cython cimport Py_ssize_t from libc.string cimport strchr ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:18:0: 'libc/string.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return lhs != rhs elif op == Py_LT: return lhs < rhs elif op == Py_LE: return lhs <= rhs elif op == Py_GT: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:151:15: 'Py_GT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... datetime_new, import_datetime, ) from cpython.object cimport PyObject_Str from cython cimport Py_ssize_t from libc.string cimport strchr ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:18:0: 'libc/string/strchr.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return lhs < rhs elif op == Py_LE: return lhs <= rhs elif op == Py_GT: return lhs > rhs elif op == Py_GE: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:153:15: 'Py_GE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:24:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:25:0: 'numpy/PyArray_GETITEM.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # just exposed for testing at the moment def py_td64_to_tdstruct(int64_t td64, NPY_DATETIMEUNIT unit): cdef: pandas_timedeltastruct tds pandas_timedelta_to_timedeltastruct(td64, unit, &tds) return tds # <- returned as a dict to python ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:229:11: Cannot convert 'pandas_timedeltastruct' to Python object Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_timedelta_to_timedeltastruct(td64, unit, &tds) return tds # <- returned as a dict to python cdef inline void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts): if PyDateTime_CheckExact(dt): ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:233:7: 'PyDateTime_CheckExact' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return tds # <- returned as a dict to python cdef inline void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts): if PyDateTime_CheckExact(dt): dts.year = PyDateTime_GET_YEAR(dt) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:234:19: 'PyDateTime_GET_YEAR' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:25:0: 'numpy/PyArray_ITER_DATA.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... else: # We use dt.year instead of PyDateTime_GET_YEAR because with Timestamp # we override year such that PyDateTime_GET_YEAR is incorrect. dts.year = dt.year dts.month = PyDateTime_GET_MONTH(dt) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:240:16: 'PyDateTime_GET_MONTH' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # We use dt.year instead of PyDateTime_GET_YEAR because with Timestamp # we override year such that PyDateTime_GET_YEAR is incorrect. dts.year = dt.year dts.month = PyDateTime_GET_MONTH(dt) dts.day = PyDateTime_GET_DAY(dt) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:241:14: 'PyDateTime_GET_DAY' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:25:0: 'numpy/PyArray_ITER_NEXT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # we override year such that PyDateTime_GET_YEAR is incorrect. dts.year = dt.year dts.month = PyDateTime_GET_MONTH(dt) dts.day = PyDateTime_GET_DAY(dt) dts.hour = PyDateTime_DATE_GET_HOUR(dt) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:242:15: 'PyDateTime_DATE_GET_HOUR' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... dts.year = dt.year dts.month = PyDateTime_GET_MONTH(dt) dts.day = PyDateTime_GET_DAY(dt) dts.hour = PyDateTime_DATE_GET_HOUR(dt) dts.min = PyDateTime_DATE_GET_MINUTE(dt) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:243:14: 'PyDateTime_DATE_GET_MINUTE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:25:0: 'numpy/PyArray_IterNew.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... dts.month = PyDateTime_GET_MONTH(dt) dts.day = PyDateTime_GET_DAY(dt) dts.hour = PyDateTime_DATE_GET_HOUR(dt) dts.min = PyDateTime_DATE_GET_MINUTE(dt) dts.sec = PyDateTime_DATE_GET_SECOND(dt) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:244:14: 'PyDateTime_DATE_GET_SECOND' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... dts.month = PyDateTime_GET_MONTH(dt) dts.day = PyDateTime_GET_DAY(dt) dts.hour = PyDateTime_DATE_GET_HOUR(dt) dts.min = PyDateTime_DATE_GET_MINUTE(dt) dts.sec = PyDateTime_DATE_GET_SECOND(dt) dts.us = PyDateTime_DATE_GET_MICROSECOND(dt) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:245:13: 'PyDateTime_DATE_GET_MICROSECOND' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:25:0: 'numpy/flatiter.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pydatetime_to_dtstruct(val, dts) return dtstruct_to_dt64(dts) cdef inline void pydate_to_dtstruct(date val, npy_datetimestruct *dts): dts.year = PyDateTime_GET_YEAR(val) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:259:15: 'PyDateTime_GET_YEAR' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return dtstruct_to_dt64(dts) cdef inline void pydate_to_dtstruct(date val, npy_datetimestruct *dts): dts.year = PyDateTime_GET_YEAR(val) dts.month = PyDateTime_GET_MONTH(val) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:260:16: 'PyDateTime_GET_MONTH' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void pydate_to_dtstruct(date val, npy_datetimestruct *dts): dts.year = PyDateTime_GET_YEAR(val) dts.month = PyDateTime_GET_MONTH(val) dts.day = PyDateTime_GET_DAY(val) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:261:14: 'PyDateTime_GET_DAY' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... import_datetime() import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:25:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Convert an ndarray with datetime64[X] to datetime64[Y] or timedelta64[X] to timedelta64[Y], raising on overflow. """ if values.descr.type_num == dtype.type_num == cnp.NPY_DATETIME: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:299:53: cimported module has no attribute 'NPY_DATETIME' Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raising on overflow. """ if values.descr.type_num == dtype.type_num == cnp.NPY_DATETIME: # i.e. dtype.kind == "M" pass elif values.descr.type_num == dtype.type_num == cnp.NPY_TIMEDELTA: ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:302:55: cimported module has no attribute 'NPY_TIMEDELTA' Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:2:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef: ndarray i8values = values.view("i8") # equiv: result = np.empty((values).shape, dtype="i8") ndarray iresult = cnp.PyArray_EMPTY( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:348:29: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: ndarray i8values = values.view("i8") # equiv: result = np.empty((values).shape, dtype="i8") ndarray iresult = cnp.PyArray_EMPTY( values.ndim, values.shape, cnp.NPY_INT64, 0 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:349:42: cimported module has no attribute 'NPY_INT64' Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:2:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # equiv: result = np.empty((values).shape, dtype="i8") ndarray iresult = cnp.PyArray_EMPTY( values.ndim, values.shape, cnp.NPY_INT64, 0 ) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(iresult, i8values) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:352:30: cimported module has no attribute 'PyArray_MultiIterNew2' Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.broadcast mi = cnp.PyArray_MultiIterNew2(iresult, i8values) Py_ssize_t i, N = values.size int64_t value, new_value npy_datetimestruct dts bint is_td = dtype.type_num == cnp.NPY_TIMEDELTA ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:356:42: cimported module has no attribute 'NPY_TIMEDELTA' Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:10: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts bint is_td = dtype.type_num == cnp.NPY_TIMEDELTA for i in range(N): # Analogous to: item = values[i] value = (cnp.PyArray_MultiIter_DATA(mi, 1))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:360:18: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:19: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts bint is_td = dtype.type_num == cnp.NPY_TIMEDELTA for i in range(N): # Analogous to: item = values[i] value = (cnp.PyArray_MultiIter_DATA(mi, 1))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:360:30: cimported module has no attribute 'PyArray_MultiIter_DATA' Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise new_value = npy_datetimestruct_to_datetime(to_unit, &dts) # Analogous to: iresult[i] = new_value (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = new_value ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:384:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:28: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise new_value = npy_datetimestruct_to_datetime(to_unit, &dts) # Analogous to: iresult[i] = new_value (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = new_value ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:384:22: cimported module has no attribute 'PyArray_MultiIter_DATA' Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:10:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... new_value = npy_datetimestruct_to_datetime(to_unit, &dts) # Analogous to: iresult[i] = new_value (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = new_value cnp.PyArray_MultiIter_NEXT(mi) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:386:11: cimported module has no attribute 'PyArray_MultiIter_NEXT' Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:11:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:12:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil cpdef iso_calendar_t get_iso_calendar(int year, int month, int day) nogil cpdef int32_t get_day_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:14:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int op_code = op_to_op_code(op) NPY_DATETIMEUNIT left_unit = get_unit_from_dtype(left.dtype) NPY_DATETIMEUNIT right_unit = get_unit_from_dtype(right.dtype) # equiv: result = np.empty((left).shape, dtype="bool") ndarray result = cnp.PyArray_EMPTY( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:411:28: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... cpdef int get_lastbday(int year, int month) nogil cpdef int get_firstbday(int year, int month) nogil cdef dict c_MONTH_NUMBERS cdef int32_t* month_offset ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:20:5: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from .np_datetime cimport npy_datetimestruct cdef bint is_period_object(object obj) cdef int64_t get_period_ordinal(npy_datetimestruct *dts, int freq) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pxd:7:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT left_unit = get_unit_from_dtype(left.dtype) NPY_DATETIMEUNIT right_unit = get_unit_from_dtype(right.dtype) # equiv: result = np.empty((left).shape, dtype="bool") ndarray result = cnp.PyArray_EMPTY( left.ndim, left.shape, cnp.NPY_BOOL, 0 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:412:38: cimported module has no attribute 'NPY_BOOL' Error compiling Cython file: ------------------------------------------------------------ ... ) ndarray lvalues = left.view("i8") ndarray rvalues = right.view("i8") cnp.broadcast mi = cnp.PyArray_MultiIterNew3(result, lvalues, rvalues) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:418:30: cimported module has no attribute 'PyArray_MultiIterNew3' Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct ldts, rdts for i in range(N): # Analogous to: lval = lvalues[i] lval = (cnp.PyArray_MultiIter_DATA(mi, 1))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:428:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct ldts, rdts for i in range(N): # Analogous to: lval = lvalues[i] lval = (cnp.PyArray_MultiIter_DATA(mi, 1))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:428:29: cimported module has no attribute 'PyArray_MultiIter_DATA' Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... for i in range(N): # Analogous to: lval = lvalues[i] lval = (cnp.PyArray_MultiIter_DATA(mi, 1))[0] # Analogous to: rval = rvalues[i] rval = (cnp.PyArray_MultiIter_DATA(mi, 2))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:431:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... for i in range(N): # Analogous to: lval = lvalues[i] lval = (cnp.PyArray_MultiIter_DATA(mi, 1))[0] # Analogous to: rval = rvalues[i] rval = (cnp.PyArray_MultiIter_DATA(mi, 2))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:431:29: cimported module has no attribute 'PyArray_MultiIter_DATA' Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Analogous to: rval = rvalues[i] rval = (cnp.PyArray_MultiIter_DATA(mi, 2))[0] if lval == NPY_DATETIME_NAT or rval == NPY_DATETIME_NAT: res_value = op_code == Py_NE ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:434:35: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(rval, right_unit, &rdts) res_value = cmp_dtstructs(&ldts, &rdts, op_code) # Analogous to: result[i] = res_value (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = res_value ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:443:10: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(rval, right_unit, &rdts) res_value = cmp_dtstructs(&ldts, &rdts, op_code) # Analogous to: result[i] = res_value (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = res_value ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:443:22: cimported module has no attribute 'PyArray_MultiIter_DATA' Error compiling Cython file: ------------------------------------------------------------ ... res_value = cmp_dtstructs(&ldts, &rdts, op_code) # Analogous to: result[i] = res_value (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = res_value cnp.PyArray_MultiIter_NEXT(mi) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:445:11: cimported module has no attribute 'PyArray_MultiIter_NEXT' Error compiling Cython file: ------------------------------------------------------------ ... cdef int op_to_op_code(op): # TODO: should exist somewhere? if op is operator.eq: return Py_EQ ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:456:15: 'Py_EQ' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int op_to_op_code(op): # TODO: should exist somewhere? if op is operator.eq: return Py_EQ if op is operator.ne: return Py_NE ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:458:15: 'Py_NE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... if op is operator.eq: return Py_EQ if op is operator.ne: return Py_NE if op is operator.le: return Py_LE ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:460:15: 'Py_LE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if op is operator.ne: return Py_NE if op is operator.le: return Py_LE if op is operator.lt: return Py_LT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:462:15: 'Py_LT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if op is operator.le: return Py_LE if op is operator.lt: return Py_LT if op is operator.ge: return Py_GE ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:464:15: 'Py_GE' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if op is operator.lt: return Py_LT if op is operator.ge: return Py_GE if op is operator.gt: return Py_GT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:466:15: 'Py_GT' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # involves truncation, e.g. 1500ns->1us cdef: Py_ssize_t i, N = i8values.size # equiv: iresult = np.empty((i8values).shape, dtype="i8") ndarray iresult = cnp.PyArray_EMPTY( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:480:29: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, N = i8values.size # equiv: iresult = np.empty((i8values).shape, dtype="i8") ndarray iresult = cnp.PyArray_EMPTY( i8values.ndim, i8values.shape, cnp.NPY_INT64, 0 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:481:46: cimported module has no attribute 'NPY_INT64' Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # equiv: iresult = np.empty((i8values).shape, dtype="i8") ndarray iresult = cnp.PyArray_EMPTY( i8values.ndim, i8values.shape, cnp.NPY_INT64, 0 ) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(iresult, i8values) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:483:30: cimported module has no attribute 'PyArray_MultiIterNew2' Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t mult = get_conversion_factor(to_unit, from_unit) int64_t value, mod for i in range(N): # Analogous to: item = i8values[i] value = (cnp.PyArray_MultiIter_DATA(mi, 1))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:492:18: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t mult = get_conversion_factor(to_unit, from_unit) int64_t value, mod for i in range(N): # Analogous to: item = i8values[i] value = (cnp.PyArray_MultiIter_DATA(mi, 1))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:492:30: cimported module has no attribute 'PyArray_MultiIter_DATA' Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError( f"Cannot losslessly cast '{value} {from_abbrev}' to {to_abbrev}" ) # Analogous to: iresult[i] = new_value (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = new_value ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:508:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError( f"Cannot losslessly cast '{value} {from_abbrev}' to {to_abbrev}" ) # Analogous to: iresult[i] = new_value (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = new_value ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:508:22: cimported module has no attribute 'PyArray_MultiIter_DATA' Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # Analogous to: iresult[i] = new_value (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = new_value cnp.PyArray_MultiIter_NEXT(mi) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pyx:510:11: cimported module has no attribute 'PyArray_MultiIter_NEXT' Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:16: C attribute of type '' cannot be accessed from Python Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:9:0: 'cpython/datetime.pxd' not found Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/np_datetime.pyx Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:9:0: 'cpython/datetime/PyDate_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object/PyTypeObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:9:0: 'cpython/datetime/PyDateTime_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyBool_Check(object obj) nogil bint PyFloat_Check(object obj) nogil bint PyComplex_Check(object obj) nogil bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:20:40: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:9:0: 'cpython/datetime/PyDelta_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ) cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:36:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:9:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:39:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:9:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:40:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:9:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:41:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:9:0: 'cpython/datetime/time.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type PyTypeObject PyBoolArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:42:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:9:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... bint PyArray_IsIntegerScalar(obj) nogil bint PyArray_Check(obj) nogil cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:48:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from dateutil.easter import easter from dateutil.relativedelta import relativedelta import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:27:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 cdef inline int64_t get_nat(): ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:51:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_nan : bool """ cdef float64_t fval ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:190:9: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object/PyTypeObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyBool_Check(object obj) nogil bint PyFloat_Check(object obj) nogil bint PyComplex_Check(object obj) nogil bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:20:40: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # potentially allocate memory inside in unlikely case of when underlying # unicode object was stored as non-utf8 and utf8 wasn't requested before. const char* PyUnicode_AsUTF8AndSize(object obj, Py_ssize_t* length) except NULL from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:29:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ) cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:36:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:39:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:40:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:41:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return converted_date >= 1000 return True cdef inline object _parse_dateabbr_string(object date_string, datetime default, ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:498:62: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type PyTypeObject PyBoolArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:42:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint PyArray_IsIntegerScalar(obj) nogil bint PyArray_Check(obj) nogil cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:48:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 cdef inline int64_t get_nat(): ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:51:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_nan : bool """ cdef float64_t fval ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:190:9: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cython cimport Py_ssize_t from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:2:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:10: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:19: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:28: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:10:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:11:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:12:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil cpdef iso_calendar_t get_iso_calendar(int year, int month, int day) nogil cpdef int32_t get_day_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:14:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int get_lastbday(int year, int month) nogil cpdef int get_firstbday(int year, int month) nogil cdef dict c_MONTH_NUMBERS cdef int32_t* month_offset ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:20:5: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:1:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport numpy as cnp from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:6:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport numpy as cnp from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:6:0: 'cpython/object/Py_EQ.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import calendar import locale import re import time from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:8:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport numpy as cnp from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:6:0: 'cpython/object/Py_NE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import calendar import locale import re import time from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:8:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport numpy as cnp from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:6:0: 'cpython/object/PyObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import calendar import locale import re import time from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:8:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport numpy as cnp from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:6:0: 'cpython/object/PyObject_RichCompare.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from _thread import allocate_lock as _thread_allocate_lock import numpy as np import pytz from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:18:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport numpy as cnp from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:6:0: 'cpython/object/PyObject_RichCompareBool.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from _thread import allocate_lock as _thread_allocate_lock import numpy as np import pytz from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:18:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from _thread import allocate_lock as _thread_allocate_lock import numpy as np import pytz from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:18:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Py_NE, PyObject, PyObject_RichCompare, PyObject_RichCompareBool, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:13:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cnp.import_array() cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:24:0: 'cpython/datetime/PyDate_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cnp.import_array() cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:24:0: 'cpython/datetime/PyDateTime_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cnp.import_array() cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:24:0: 'cpython/datetime/PyDelta_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:1:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cnp.import_array() cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:24:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_Check, PyDelta_Check, datetime, import_datetime, ) from libc.stdlib cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:31:0: 'libc/stdlib.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_Check, PyDelta_Check, datetime, import_datetime, ) from libc.stdlib cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:31:0: 'libc/stdlib/free.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyDateTime_Check, PyDelta_Check, datetime, import_datetime, ) from libc.stdlib cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:31:0: 'libc/stdlib/malloc.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from libc.stdlib cimport ( free, malloc, ) from libc.string cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:35:0: 'libc/string.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:31: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from libc.stdlib cimport ( free, malloc, ) from libc.string cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:35:0: 'libc/string/memset.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from libc.stdlib cimport ( free, malloc, ) from libc.string cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:35:0: 'libc/string/strlen.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from libc.string cimport ( memset, strlen, ) from libc.time cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:39:0: 'libc/time.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from libc.string cimport ( memset, strlen, ) from libc.time cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:39:0: 'libc/time/strftime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:1:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) from libc.string cimport ( memset, strlen, ) from libc.time cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:39:0: 'libc/time/tm.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object/PyTypeObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyBool_Check(object obj) nogil bint PyFloat_Check(object obj) nogil bint PyComplex_Check(object obj) nogil bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:20:40: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... ) cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:19:27: C attribute of type 'npy_datetimestruct' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... # potentially allocate memory inside in unlikely case of when underlying # unicode object was stored as non-utf8 and utf8 wasn't requested before. const char* PyUnicode_AsUTF8AndSize(object obj, Py_ssize_t* length) except NULL from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:29:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ) cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:36:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:39:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:40:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:41:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:15: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # numpy dt64 tzinfo tzinfo bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:25:46: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type PyTypeObject PyBoolArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:42:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:27:35: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint PyArray_IsIntegerScalar(obj) nogil bint PyArray_Check(obj) nogil cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:48:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 cdef inline int64_t get_nat(): ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:51:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:44: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:57: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_nan : bool """ cdef float64_t fval ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:190:9: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:30:44: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:33:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:6: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:35: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:48: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:36:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:1:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:37:7: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) cdef maybe_localize_tso(_TSObject obj, tzinfo tz, NPY_DATETIMEUNIT reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:39:39: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_matching_na(object left, object right, bint nan_matches_none=*) cpdef bint checknull(object val, bint inf_as_na=*) cpdef ndarray[uint8_t] isnaobj(ndarray arr, bint inf_as_na=*) ^ ------------------------------------------------------------ pandas/_libs/missing.pxd:10:31: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:10: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:9:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:19: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 cpdef int64_t periods_per_second(NPY_DATETIMEUNIT reso) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:10:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:28: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:10:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:11:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:12:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 'G': 20, 'V': 21, 'u': 22} def array_strptime(ndarray[object] values, str fmt, bint exact=True, errors='raise'): ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:60:19: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil cpdef iso_calendar_t get_iso_calendar(int year, int month, int day) nogil cpdef int32_t get_day_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:14:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from .np_datetime cimport NPY_DATETIMEUNIT # Exposed for tslib, not intended for outside use. cpdef int64_t delta_to_nanoseconds( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:8:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... iso_year -= 1 ordinal -= date(iso_year, 1, 1).toordinal() return iso_year, ordinal cdef tzinfo parse_timezone_directive(str z): ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:494:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int get_lastbday(int year, int month) nogil cpdef int get_firstbday(int year, int month) nogil cdef dict c_MONTH_NUMBERS cdef int32_t* month_offset ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:20:5: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef convert_to_timedelta64(object ts, str unit) cdef bint is_any_td_scalar(object obj) cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:16:22: First base of '_Timedelta' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, n = len(values) npy_datetimestruct dts int64_t[::1] iresult ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:75:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:1:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... from .np_datetime cimport NPY_DATETIMEUNIT # Exposed for tslib, not intended for outside use. cpdef int64_t delta_to_nanoseconds( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:8:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:20: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef convert_to_timedelta64(object ts, str unit) cdef bint is_any_td_scalar(object obj) cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:16:22: First base of '_Timedelta' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:24: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:32: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:37: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:42: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:20: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns NPY_DATETIMEUNIT _reso cpdef timedelta to_pytimedelta(_Timedelta self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:23:10: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:24: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:32: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:37: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime cdef class ABCTimestamp(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pxd:4:24: First base of 'ABCTimestamp' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:42: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct, ) from pandas._libs.tslibs.offsets cimport BaseOffset cdef _Timestamp create_timestamp_from_ts(int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:15:41: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns NPY_DATETIMEUNIT _reso cpdef timedelta to_pytimedelta(_Timedelta self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:23:10: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.offsets cimport BaseOffset cdef _Timestamp create_timestamp_from_ts(int64_t value, npy_datetimestruct dts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:17:41: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:23: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:9:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:35: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 cpdef int64_t periods_per_second(NPY_DATETIMEUNIT reso) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:10:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... BaseOffset _freq NPY_DATETIMEUNIT _reso cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:31:9: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT _reso cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:32:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) cpdef to_datetime64(self) cpdef datetime to_pydatetime(_Timestamp self, bint warn=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:34:10: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) cpdef to_datetime64(self) cpdef datetime to_pydatetime(_Timestamp self, bint warn=*) cdef bint _compare_outside_nanorange(_Timestamp self, datetime other, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:35:58: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tick_object(object obj): return isinstance(obj, Tick) cdef datetime _as_datetime(datetime obj): ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:97:5: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tick_object(object obj): return isinstance(obj, Tick) cdef datetime _as_datetime(datetime obj): ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:97:27: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... if isinstance(obj, _Timestamp): return obj.to_pydatetime() return obj cdef bint _is_normalized(datetime dt): ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:103:25: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ Mixin to business types to provide related functions. """ cdef readonly: timedelta _offset ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:1499:8: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Mixin to business types to provide related functions. """ cdef readonly: timedelta _offset ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:1499:18: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... enum: INT32_MIN = -2_147_483_648LL ctypedef struct asfreq_info: int64_t intraday_conversion_factor ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:120:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t intraday_conversion_factor int is_end int to_end int from_end ctypedef int64_t (*freq_conv_func)(int64_t, asfreq_info*) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:125:9: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... {0, 0, 0, 1, 1000, 1000000, 1000000000}, {0, 0, 0, 0, 1, 1000, 1000000}, {0, 0, 0, 0, 0, 1, 1000}, {0, 0, 0, 0, 0, 0, 1}}; """ int64_t daytime_conversion_factor_matrix[7][7] ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:142:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if left < right: return left return right cdef int64_t get_daytime_conversion_factor(int from_index, int to_index) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:157:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif col < 6: return 0 return daytime_conversion_factor_matrix[row - 6][col - 6] cdef int64_t nofunc(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:170:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... i8other = dtarr.view("i8") return self._end_apply_index(i8other, reso=reso) @cython.wraparound(False) @cython.boundscheck(False) cdef ndarray _end_apply_index(self, ndarray i8other, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:2808:9: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... elif col < 6: return 0 return daytime_conversion_factor_matrix[row - 6][col - 6] cdef int64_t nofunc(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:170:20: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... i8other = dtarr.view("i8") return self._end_apply_index(i8other, reso=reso) @cython.wraparound(False) @cython.boundscheck(False) cdef ndarray _end_apply_index(self, ndarray i8other, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:2808:40: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t nofunc(int64_t ordinal, asfreq_info *af_info) nogil: return INT32_MIN cdef int64_t no_op(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:174:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t nofunc(int64_t ordinal, asfreq_info *af_info) nogil: return INT32_MIN cdef int64_t no_op(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:174:19: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -------------------------------------------------------------------- # Frequency Conversion Helpers cdef int64_t DtoB_weekday(int64_t unix_date) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:297:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # RelativeDelta Arithmetic cdef datetime _shift_day(datetime other, int days): ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4000:5: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -------------------------------------------------------------------- # Frequency Conversion Helpers cdef int64_t DtoB_weekday(int64_t unix_date) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:297:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # RelativeDelta Arithmetic cdef datetime _shift_day(datetime other, int days): ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4000:25: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t DtoB_weekday(int64_t unix_date) nogil: return ((unix_date + 4) // 7) * 5 + ((unix_date + 4) % 7) - 4 cdef int64_t DtoB(npy_datetimestruct *dts, int roll_back, ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:301:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return 12 if new_month == 0 else new_month @cython.wraparound(False) @cython.boundscheck(False) cdef ndarray shift_quarters( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4044:5: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t DtoB_weekday(int64_t unix_date) nogil: return ((unix_date + 4) // 7) * 5 + ((unix_date + 4) % 7) - 4 cdef int64_t DtoB(npy_datetimestruct *dts, int roll_back, int64_t unix_date) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:302:18: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef ndarray shift_quarters( ndarray dtindex, ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4045:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... unix_date += (7 - day_of_week) return DtoB_weekday(unix_date) cdef inline int64_t upsample_daytime(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:320:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def shift_months( ndarray dtindex, # int64_t, arbitrary ndim ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4113:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... unix_date += (7 - day_of_week) return DtoB_weekday(unix_date) cdef inline int64_t upsample_daytime(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:320:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return out @cython.wraparound(False) @cython.boundscheck(False) cdef ndarray _shift_bdays( ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4196:5: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (ordinal + 1) * af_info.intraday_conversion_factor - 1 else: return ordinal * af_info.intraday_conversion_factor cdef inline int64_t downsample_daytime(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:327:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef ndarray _shift_bdays( ndarray i8other, ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4197:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (ordinal + 1) * af_info.intraday_conversion_factor - 1 else: return ordinal * af_info.intraday_conversion_factor cdef inline int64_t downsample_daytime(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:327:39: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int64_t downsample_daytime(int64_t ordinal, asfreq_info *af_info) nogil: return ordinal // af_info.intraday_conversion_factor cdef inline int64_t transform_via_day(int64_t ordinal, ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:331:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int64_t downsample_daytime(int64_t ordinal, asfreq_info *af_info) nogil: return ordinal // af_info.intraday_conversion_factor cdef inline int64_t transform_via_day(int64_t ordinal, ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:331:38: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -------------------------------------------------------------------- # Conversion _to_ Daily Freq cdef int64_t asfreq_AtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:346:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -------------------------------------------------------------------- # Conversion _to_ Daily Freq cdef int64_t asfreq_AtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:346:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... unix_date = unix_date_from_ymd(dts.year, dts.month, 1) unix_date -= af_info.is_end return upsample_daytime(unix_date, af_info) cdef int64_t asfreq_QtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:362:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... unix_date = unix_date_from_ymd(dts.year, dts.month, 1) unix_date -= af_info.is_end return upsample_daytime(unix_date, af_info) cdef int64_t asfreq_QtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:362:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... unix_date = unix_date_from_ymd(dts.year, dts.month, 1) unix_date -= af_info.is_end return upsample_daytime(unix_date, af_info) cdef int64_t asfreq_MtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:378:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... unix_date = unix_date_from_ymd(dts.year, dts.month, 1) unix_date -= af_info.is_end return upsample_daytime(unix_date, af_info) cdef int64_t asfreq_MtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:378:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... unix_date = unix_date_from_ymd(year, month, 1) unix_date -= af_info.is_end return upsample_daytime(unix_date, af_info) cdef int64_t asfreq_WtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:393:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... unix_date = unix_date_from_ymd(year, month, 1) unix_date -= af_info.is_end return upsample_daytime(unix_date, af_info) cdef int64_t asfreq_WtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:393:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -------------------------------------------------------------------- # Conversion _to_ BusinessDay Freq cdef int64_t asfreq_AtoB(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:402:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -------------------------------------------------------------------- # Conversion _to_ BusinessDay Freq cdef int64_t asfreq_AtoB(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:402:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(unix_date, NPY_FR_D, &dts) roll_back = af_info.is_end return DtoB(&dts, roll_back, unix_date) cdef int64_t asfreq_QtoB(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:413:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(unix_date, NPY_FR_D, &dts) roll_back = af_info.is_end return DtoB(&dts, roll_back, unix_date) cdef int64_t asfreq_QtoB(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:413:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(unix_date, NPY_FR_D, &dts) roll_back = af_info.is_end return DtoB(&dts, roll_back, unix_date) cdef int64_t asfreq_MtoB(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:424:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(unix_date, NPY_FR_D, &dts) roll_back = af_info.is_end return DtoB(&dts, roll_back, unix_date) cdef int64_t asfreq_MtoB(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:424:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(unix_date, NPY_FR_D, &dts) roll_back = af_info.is_end return DtoB(&dts, roll_back, unix_date) cdef int64_t asfreq_WtoB(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:435:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(unix_date, NPY_FR_D, &dts) roll_back = af_info.is_end return DtoB(&dts, roll_back, unix_date) cdef int64_t asfreq_WtoB(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:435:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(unix_date, NPY_FR_D, &dts) roll_back = af_info.is_end return DtoB(&dts, roll_back, unix_date) cdef int64_t asfreq_DTtoB(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:446:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pandas_datetime_to_datetimestruct(unix_date, NPY_FR_D, &dts) roll_back = af_info.is_end return DtoB(&dts, roll_back, unix_date) cdef int64_t asfreq_DTtoB(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:446:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion _from_ Daily Freq cdef int64_t asfreq_DTtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:461:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion _from_ Daily Freq cdef int64_t asfreq_DTtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:461:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ordinal = downsample_daytime(ordinal, af_info) pandas_datetime_to_datetimestruct(ordinal, NPY_FR_D, &dts) return dts_to_year_ordinal(&dts, af_info.to_end) cdef int DtoQ_yq(int64_t ordinal, asfreq_info *af_info, npy_datetimestruct* dts) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:470:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... quarter = month_to_quarter(dts.month) return quarter cdef int64_t asfreq_DTtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:481:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... quarter = month_to_quarter(dts.month) return quarter cdef int64_t asfreq_DTtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:481:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... quarter = DtoQ_yq(ordinal, af_info, &dts) return ((dts.year - 1970) * 4 + quarter - 1) cdef int64_t asfreq_DTtoM(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:492:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... quarter = DtoQ_yq(ordinal, af_info, &dts) return ((dts.year - 1970) * 4 + quarter - 1) cdef int64_t asfreq_DTtoM(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:492:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ordinal = downsample_daytime(ordinal, af_info) pandas_datetime_to_datetimestruct(ordinal, NPY_FR_D, &dts) return dts_to_month_ordinal(&dts) cdef int64_t asfreq_DTtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:501:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ordinal = downsample_daytime(ordinal, af_info) pandas_datetime_to_datetimestruct(ordinal, NPY_FR_D, &dts) return dts_to_month_ordinal(&dts) cdef int64_t asfreq_DTtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:501:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t asfreq_DTtoW(int64_t ordinal, asfreq_info *af_info) nogil: ordinal = downsample_daytime(ordinal, af_info) return unix_date_to_week(ordinal, af_info.to_end) cdef int64_t unix_date_to_week(int64_t unix_date, int to_end) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:506:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t asfreq_DTtoW(int64_t ordinal, asfreq_info *af_info) nogil: ordinal = downsample_daytime(ordinal, af_info) return unix_date_to_week(ordinal, af_info.to_end) cdef int64_t unix_date_to_week(int64_t unix_date, int to_end) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:506:31: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -------------------------------------------------------------------- # Conversion _from_ BusinessDay Freq cdef int64_t asfreq_BtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:513:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -------------------------------------------------------------------- # Conversion _from_ BusinessDay Freq cdef int64_t asfreq_BtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:513:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t asfreq_BtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ordinal = ((ordinal + 3) // 5) * 7 + (ordinal + 3) % 5 - 3 return upsample_daytime(ordinal, af_info) cdef int64_t asfreq_BtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:518:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t asfreq_BtoDT(int64_t ordinal, asfreq_info *af_info) nogil: ordinal = ((ordinal + 3) // 5) * 7 + (ordinal + 3) % 5 - 3 return upsample_daytime(ordinal, af_info) cdef int64_t asfreq_BtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:518:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_BtoDT, asfreq_DTtoA) cdef int64_t asfreq_BtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:524:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_BtoDT, asfreq_DTtoA) cdef int64_t asfreq_BtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:524:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_BtoDT, asfreq_DTtoQ) cdef int64_t asfreq_BtoM(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:530:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_BtoDT, asfreq_DTtoQ) cdef int64_t asfreq_BtoM(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:530:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_BtoDT, asfreq_DTtoM) cdef int64_t asfreq_BtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:536:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_BtoDT, asfreq_DTtoM) cdef int64_t asfreq_BtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:536:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @apply_array_wraps @cython.wraparound(False) @cython.boundscheck(False) def _apply_array(self, dtarr): cdef: ndarray i8other = dtarr.view("i8") ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:2614:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion _from_ Annual Freq cdef int64_t asfreq_AtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:545:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) def _apply_array(self, dtarr): cdef: ndarray i8other = dtarr.view("i8") Py_ssize_t i, count = dtarr.size int64_t val, res_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:2616:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion _from_ Annual Freq cdef int64_t asfreq_AtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:545:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def _apply_array(self, dtarr): cdef: ndarray i8other = dtarr.view("i8") Py_ssize_t i, count = dtarr.size int64_t val, res_val ndarray out = cnp.PyArray_EMPTY(i8other.ndim, i8other.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:2617:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_AtoDT, asfreq_DTtoA) cdef int64_t asfreq_AtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:551:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_AtoDT, asfreq_DTtoA) cdef int64_t asfreq_AtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:551:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts int months, to_day, nadj, n = self.n int days_in_month, day, anchor_dom = self.day_of_month bint is_start = isinstance(self, SemiMonthBegin) NPY_DATETIMEUNIT reso = get_unit_from_dtype(dtarr.dtype) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(out, i8other) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:2623:12: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_AtoDT, asfreq_DTtoQ) cdef int64_t asfreq_AtoM(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:557:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_AtoDT, asfreq_DTtoQ) cdef int64_t asfreq_AtoM(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:557:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_AtoDT, asfreq_DTtoM) cdef int64_t asfreq_AtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:563:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- ndarray[int64_t] """ cdef: Py_ssize_t i, count = i8other.size int64_t val, res_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:2824:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_AtoDT, asfreq_DTtoM) cdef int64_t asfreq_AtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:563:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] """ cdef: Py_ssize_t i, count = i8other.size int64_t val, res_val ndarray out = cnp.PyArray_EMPTY(i8other.ndim, i8other.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:2825:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion _from_ Quarterly Freq cdef int64_t asfreq_QtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:572:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t val, res_val ndarray out = cnp.PyArray_EMPTY(i8other.ndim, i8other.shape, cnp.NPY_INT64, 0) npy_datetimestruct dts int wday, days, weeks, n = self.n int anchor_weekday = self.weekday int64_t DAY_PERIODS = periods_per_day(reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:2829:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray out = cnp.PyArray_EMPTY(i8other.ndim, i8other.shape, cnp.NPY_INT64, 0) npy_datetimestruct dts int wday, days, weeks, n = self.n int anchor_weekday = self.weekday int64_t DAY_PERIODS = periods_per_day(reso) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(out, i8other) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:2830:12: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion _from_ Quarterly Freq cdef int64_t asfreq_QtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:572:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_QtoDT, asfreq_DTtoQ) cdef int64_t asfreq_QtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:578:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_QtoDT, asfreq_DTtoQ) cdef int64_t asfreq_QtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:578:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_QtoDT, asfreq_DTtoA) cdef int64_t asfreq_QtoM(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:584:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_QtoDT, asfreq_DTtoA) cdef int64_t asfreq_QtoM(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:584:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_QtoDT, asfreq_DTtoM) cdef int64_t asfreq_QtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:590:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_QtoDT, asfreq_DTtoM) cdef int64_t asfreq_QtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:590:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion _from_ Monthly Freq cdef int64_t asfreq_MtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:599:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion _from_ Monthly Freq cdef int64_t asfreq_MtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:599:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError("day must be None, 'start', 'end', " "'business_start', or 'business_end'") cdef: Py_ssize_t count = dtindex.size ndarray out = cnp.PyArray_EMPTY(dtindex.ndim, dtindex.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4075:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_MtoDT, asfreq_DTtoA) cdef int64_t asfreq_MtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:605:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t count = dtindex.size ndarray out = cnp.PyArray_EMPTY(dtindex.ndim, dtindex.shape, cnp.NPY_INT64, 0) Py_ssize_t i int64_t val, res_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4077:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_MtoDT, asfreq_DTtoA) cdef int64_t asfreq_MtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:605:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray out = cnp.PyArray_EMPTY(dtindex.ndim, dtindex.shape, cnp.NPY_INT64, 0) Py_ssize_t i int64_t val, res_val int months_since, n npy_datetimestruct dts cnp.broadcast mi = cnp.PyArray_MultiIterNew2(out, dtindex) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4080:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_MtoDT, asfreq_DTtoQ) cdef int64_t asfreq_MtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:611:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- datetime """ cdef: datetime dt ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:286:8: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i npy_datetimestruct dts int count = dtindex.size ndarray out = cnp.PyArray_EMPTY(dtindex.ndim, dtindex.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4131:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_MtoDT, asfreq_DTtoQ) cdef int64_t asfreq_MtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:611:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i npy_datetimestruct dts int count = dtindex.size ndarray out = cnp.PyArray_EMPTY(dtindex.ndim, dtindex.shape, cnp.NPY_INT64, 0) int months_to_roll int64_t val, res_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4133:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ): """ lifted from dateutil to get resolution""" cdef: str attr datetime ret ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:641:8: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion _from_ Weekly Freq cdef int64_t asfreq_WtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:620:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int count = dtindex.size ndarray out = cnp.PyArray_EMPTY(dtindex.ndim, dtindex.shape, cnp.NPY_INT64, 0) int months_to_roll int64_t val, res_val cnp.broadcast mi = cnp.PyArray_MultiIterNew2(out, dtindex) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4135:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Conversion _from_ Weekly Freq cdef int64_t asfreq_WtoA(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:620:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- ndarray[int64_t] """ cdef: Py_ssize_t i, n = i8other.size ndarray result = cnp.PyArray_EMPTY(i8other.ndim, i8other.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4216:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_WtoDT, asfreq_DTtoA) cdef int64_t asfreq_WtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:626:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- str or int or float """ cdef: float64_t float_item ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:1082:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] """ cdef: Py_ssize_t i, n = i8other.size ndarray result = cnp.PyArray_EMPTY(i8other.ndim, i8other.shape, cnp.NPY_INT64, 0) int64_t val, res_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4217:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_WtoDT, asfreq_DTtoA) cdef int64_t asfreq_WtoQ(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:626:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n = i8other.size ndarray result = cnp.PyArray_EMPTY(i8other.ndim, i8other.shape, cnp.NPY_INT64, 0) int64_t val, res_val int wday, nadj, days npy_datetimestruct dts int64_t DAY_PERIODS = periods_per_day(reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4220:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t rows_count = 0, col_count = len(date_cols) Py_ssize_t col_idx, row_idx list list_to_join cnp.ndarray[object] iters ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:1128:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_WtoDT, asfreq_DTtoQ) cdef int64_t asfreq_WtoM(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:632:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t rows_count = 0, col_count = len(date_cols) Py_ssize_t col_idx, row_idx list list_to_join cnp.ndarray[object] iters object[::1] iters_view flatiter it ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:1130:8: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray result = cnp.PyArray_EMPTY(i8other.ndim, i8other.shape, cnp.NPY_INT64, 0) int64_t val, res_val int wday, nadj, days npy_datetimestruct dts int64_t DAY_PERIODS = periods_per_day(reso) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(result, i8other) ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:4221:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_WtoDT, asfreq_DTtoQ) cdef int64_t asfreq_WtoM(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:632:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t col_idx, row_idx list list_to_join cnp.ndarray[object] iters object[::1] iters_view flatiter it cnp.ndarray[object] result ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:1131:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_WtoDT, asfreq_DTtoM) cdef int64_t asfreq_WtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:638:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return transform_via_day(ordinal, af_info, asfreq_WtoDT, asfreq_DTtoM) cdef int64_t asfreq_WtoW(int64_t ordinal, asfreq_info *af_info) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:638:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Find the unix_date (days elapsed since datetime(1970, 1, 1) # for the given year/month/day. # Assumes GREGORIAN_CALENDAR */ cdef int64_t unix_date_from_ymd(int year, int month, int day) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:716:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... dts.day = day unix_date = npy_datetimestruct_to_datetime(NPY_FR_D, &dts) return unix_date cdef inline int64_t dts_to_month_ordinal(npy_datetimestruct* dts) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:730:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int64_t dts_to_month_ordinal(npy_datetimestruct* dts) nogil: # AKA: use npy_datetimestruct_to_datetime(NPY_FR_M, &dts) return ((dts.year - 1970) * 12 + dts.month - 1) cdef inline int64_t dts_to_year_ordinal(npy_datetimestruct *dts, int to_end) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:735:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result + 1 else: return result cdef inline int64_t dts_to_qtr_ordinal(npy_datetimestruct* dts, int to_end) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:746:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # specifically _dont_ use cdvision or else ordinals near -1 are assigned to # incorrect dates GH#19643 @cython.cdivision(False) cdef int64_t get_period_ordinal(npy_datetimestruct *dts, int freq) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:767:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... unit = freq_group_code_to_npy_unit(freq) return npy_datetimestruct_to_datetime(unit, dts) cdef void get_date_info(int64_t ordinal, int freq, npy_datetimestruct *dts) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:807:24: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... dts.sec = dts2.sec dts.us = dts2.us dts.ps = dts2.ps cdef int64_t get_unix_date(int64_t period_ordinal, int freq) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:825:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ return ts._get_start_end_field("is_year_end", self) cdef class SingleConstructorOffset(BaseOffset): @classmethod ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pyx:936:4: Compiler crash in EarlyReplaceBuiltinCalls ModuleNode.body = StatListNode(offsets.pyx:1:0) StatListNode.stats[43] = StatListNode(offsets.pyx:935:5) StatListNode.stats[0] = CClassDefNode(offsets.pyx:935:5, as_name = 'SingleConstructorOffset', class_name = 'SingleConstructorOffset', module_name = '', visibility = 'private') CClassDefNode.body = StatListNode(offsets.pyx:936:4) StatListNode.stats[1] = IndirectionNode(offsets.pyx:937:4) IndirectionNode.stats[0] = SingleAssignmentNode(offsets.pyx:937:4) SingleAssignmentNode.rhs = SimpleCallNode(offsets.pyx:936:4, result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "Cython/Compiler/Visitor.py", line 180, in Cython.Compiler.Visitor.TreeVisitor._visit File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Optimize.py", line 1531, in visit_SimpleCallNode File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Optimize.py", line 1551, in _function_is_builtin_name File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1977, in lookup File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 416, in load_cached File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 371, in load File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 295, in load_utilities_from_file File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Utility/CythonFunction.c Error compiling Cython file: ------------------------------------------------------------ ... dts.sec = dts2.sec dts.us = dts2.us dts.ps = dts2.ps cdef int64_t get_unix_date(int64_t period_ordinal, int freq) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:825:27: 'int64_t' is not a type identifier Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... tokens[n + 2] = None tokens = [x for x in tokens if x is not None] return tokens @classmethod ^ ------------------------------------------------------------ pandas/_libs/tslibs/parsing.pyx:897:4: Compiler crash in EarlyReplaceBuiltinCalls ModuleNode.body = StatListNode(parsing.pyx:4:0) StatListNode.stats[47] = StatListNode(parsing.pyx:838:0) StatListNode.stats[0] = PyClassDefNode(parsing.pyx:838:0, name = '_timelex') PyClassDefNode.body = StatListNode(parsing.pyx:839:4) StatListNode.stats[5] = SingleAssignmentNode(parsing.pyx:898:4) SingleAssignmentNode.rhs = SimpleCallNode(parsing.pyx:897:4, result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "Cython/Compiler/Visitor.py", line 180, in Cython.Compiler.Visitor.TreeVisitor._visit File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Optimize.py", line 1531, in visit_SimpleCallNode File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Optimize.py", line 1551, in _function_is_builtin_name File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1977, in lookup File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 416, in load_cached File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 371, in load File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 295, in load_utilities_from_file File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Utility/CythonFunction.c File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper Error compiling Cython file: ------------------------------------------------------------ ... get_asfreq_info(freq, FR_DAY, True, &af_info) return toDaily(period_ordinal, &af_info) @cython.cdivision cdef int64_t get_time_nanos(int freq, int64_t unix_date, int64_t ordinal) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:854:5: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... get_asfreq_info(freq, FR_DAY, True, &af_info) return toDaily(period_ordinal, &af_info) @cython.cdivision cdef int64_t get_time_nanos(int freq, int64_t unix_date, int64_t ordinal) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:854:38: 'int64_t' is not a type identifier Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/offsets.pyx Error compiling Cython file: ------------------------------------------------------------ ... get_asfreq_info(freq, FR_DAY, True, &af_info) return toDaily(period_ordinal, &af_info) @cython.cdivision cdef int64_t get_time_nanos(int freq, int64_t unix_date, int64_t ordinal) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:854:57: 'int64_t' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Error compiling Cython file: ------------------------------------------------------------ ... sub = ordinal - unix_date * (nanos_in_day / factor) return sub * factor cdef int get_yq(int64_t ordinal, int freq, npy_datetimestruct* dts): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:901:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Period logic @cython.wraparound(False) @cython.boundscheck(False) def periodarr_to_dt64arr(const int64_t[:] periodarr, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:948:31: 'int64_t' is not a type identifier Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/parsing.pyx Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int calc_week_end(int freq, int group) nogil: return freq - group cpdef int64_t period_asfreq(int64_t ordinal, int freq1, int freq2, bint end): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1040:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int calc_week_end(int freq, int group) nogil: return freq - group cpdef int64_t period_asfreq(int64_t ordinal, int freq1, int freq2, bint end): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1040:28: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return retval @cython.wraparound(False) @cython.boundscheck(False) def period_asfreq_arr(ndarray[int64_t] arr, int freq1, int freq2, bint end): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1054:22: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef void _period_asfreq( int64_t* ordinals, ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1079:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) cdef void _period_asfreq( int64_t* ordinals, int64_t* out, ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1080:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if val != NPY_NAT: val = func(val, &af_info) out[i] = val cpdef int64_t period_ordinal(int y, int m, int d, int h, int min, ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1109:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... dts.us = us dts.ps = ps return get_period_ordinal(&dts, freq) cdef int64_t period_ordinal_to_dt64(int64_t ordinal, int freq) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1143:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... dts.us = us dts.ps = ps return get_period_ordinal(&dts, freq) cdef int64_t period_ordinal_to_dt64(int64_t ordinal, int freq) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1143:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... check_dts_bounds(&dts) return npy_datetimestruct_to_datetime(NPY_DATETIMEUNIT.NPY_FR_ns, &dts) cdef str period_format(int64_t value, int freq, object fmt=None): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1156:23: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... (b"%n", b"^`KL`^")] cdef list str_extra_fmts = ["^`AB`^", "^`CD`^", "^`EF`^", "^`GH`^", "^`IJ`^", "^`KL`^"] cdef str _period_strftime(int64_t value, int freq, bytes fmt): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1208:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # period accessors ctypedef int (*accessor)(int64_t ordinal, int freq) except INT32_MIN ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1274:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # period accessors ctypedef int (*accessor)(int64_t ordinal, int freq) except INT32_MIN cdef int pyear(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1277:15: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts get_date_info(ordinal, freq, &dts) return dts.year cdef int pqyear(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1284:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... get_yq(ordinal, freq, &dts) return dts.year cdef int pquarter(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1292:18: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts quarter = get_yq(ordinal, freq, &dts) return quarter cdef int pmonth(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1300:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts get_date_info(ordinal, freq, &dts) return dts.month cdef int pday(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1307:14: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts get_date_info(ordinal, freq, &dts) return dts.day cdef int pweekday(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1314:18: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts get_date_info(ordinal, freq, &dts) return dayofweek(dts.year, dts.month, dts.day) cdef int pday_of_year(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1321:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts get_date_info(ordinal, freq, &dts) return get_day_of_year(dts.year, dts.month, dts.day) cdef int pweek(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1328:15: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts get_date_info(ordinal, freq, &dts) return get_week_of_year(dts.year, dts.month, dts.day) cdef int phour(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1335:15: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts get_date_info(ordinal, freq, &dts) return dts.hour cdef int pminute(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1342:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts get_date_info(ordinal, freq, &dts) return dts.min cdef int psecond(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1349:17: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts get_date_info(ordinal, freq, &dts) return dts.sec cdef int pdays_in_month(int64_t ordinal, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1356:24: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return get_days_in_month(dts.year, dts.month) @cython.wraparound(False) @cython.boundscheck(False) def get_period_field_arr(str field, const int64_t[:] arr, int freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1365:42: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return NULL @cython.wraparound(False) @cython.boundscheck(False) def from_ordinals(const int64_t[:] values, freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1417:24: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result.base @cython.wraparound(False) @cython.boundscheck(False) def extract_ordinals(ndarray values, freq) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1439:21: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.PyArray_MultiIter_NEXT(mi) return ordinals cdef inline int64_t _extract_ordinal(object item, str freqstr, freq) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1469:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:1:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ordinal = item.ordinal return ordinal def extract_freq(ndarray[object] values) -> BaseOffset: ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1504:17: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Period(PeriodMixin): cdef readonly: int64_t ordinal ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1606:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Period(PeriodMixin): cdef readonly: int64_t ordinal ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1606:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... __array_priority__ = 100 dayofweek = _Period.day_of_week dayofyear = _Period.day_of_year def __cinit__(self, int64_t ordinal, BaseOffset freq): ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1616:24: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:1:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:1:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:1:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport timedelta from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:2:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:1:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport timedelta from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:2:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( datetime, tzinfo, ) from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:5:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( datetime, tzinfo, ) from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:5:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return freq._period_dtype_code except AttributeError as err: raise ValueError(INVALID_FREQ_ERR_MSG.format(freq)) from err cdef int64_t _ordinal_from_fields(int year, int month, quarter, int day, ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:2638:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int64_t transform_via_day(int64_t ordinal, asfreq_info *af_info, freq_conv_func first_func, freq_conv_func second_func) nogil: cdef: int64_t result ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:336:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # -------------------------------------------------------------------- # Conversion _to_ Daily Freq cdef int64_t asfreq_AtoDT(int64_t ordinal, asfreq_info *af_info) nogil: cdef: int64_t unix_date ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:348:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return upsample_daytime(unix_date, af_info) cdef int64_t asfreq_QtoDT(int64_t ordinal, asfreq_info *af_info) nogil: cdef: int64_t unix_date ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:364:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return upsample_daytime(unix_date, af_info) cdef int64_t asfreq_MtoDT(int64_t ordinal, asfreq_info *af_info) nogil: cdef: int64_t unix_date ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:380:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t asfreq_AtoB(int64_t ordinal, asfreq_info *af_info) nogil: cdef: int roll_back npy_datetimestruct dts int64_t unix_date = asfreq_AtoDT(ordinal, af_info) ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:406:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime cdef class ABCTimestamp(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pxd:4:24: First base of 'ABCTimestamp' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t asfreq_QtoB(int64_t ordinal, asfreq_info *af_info) nogil: cdef: int roll_back npy_datetimestruct dts int64_t unix_date = asfreq_QtoDT(ordinal, af_info) ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:417:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t asfreq_MtoB(int64_t ordinal, asfreq_info *af_info) nogil: cdef: int roll_back npy_datetimestruct dts int64_t unix_date = asfreq_MtoDT(ordinal, af_info) ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:428:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t asfreq_WtoB(int64_t ordinal, asfreq_info *af_info) nogil: cdef: int roll_back npy_datetimestruct dts int64_t unix_date = asfreq_WtoDT(ordinal, af_info) ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:439:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t asfreq_DTtoB(int64_t ordinal, asfreq_info *af_info) nogil: cdef: int roll_back npy_datetimestruct dts int64_t unix_date = downsample_daytime(ordinal, af_info) ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:450:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- result : char* """ cdef: tm c_date ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:662:8: 'tm' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Assumes GREGORIAN_CALENDAR */ cdef int64_t unix_date_from_ymd(int year, int month, int day) nogil: # Calculate the absolute date cdef: npy_datetimestruct dts int64_t unix_date ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:720:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return ((dts.year - 1970) * 12 + dts.month - 1) cdef inline int64_t dts_to_year_ordinal(npy_datetimestruct *dts, int to_end) nogil: cdef: int64_t result ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:737:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- period_ordinal : int64_t """ cdef: int64_t unix_date ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:781:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return npy_datetimestruct_to_datetime(unit, dts) cdef void get_date_info(int64_t ordinal, int freq, npy_datetimestruct *dts) nogil: cdef: int64_t unix_date, nanos ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:809:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- int64_t """ cdef: int64_t sub, factor ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:870:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- int64_t """ cdef: int64_t sub, factor int64_t nanos_in_day = 24 * 3600 * 10**9 ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:871:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Sets dts.year in-place. """ cdef: asfreq_info af_info int qtr_freq int64_t unix_date ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:923:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Convert array to datetime64 values from a set of ordinals corresponding to periods per period convention. """ cdef: int64_t[::1] out ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:954:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Convert period ordinal from one frequency to another, and if upsampling, choose to use start ('S') or end ('E') of period. """ cdef: int64_t retval ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1046:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if upsampling, choose to use start ('S') or end ('E') of period. """ cdef: Py_ssize_t n = len(arr) Py_ssize_t increment = arr.strides[0] // 8 ndarray[int64_t] result = cnp.PyArray_EMPTY(arr.ndim, arr.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1062:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """See period_asfreq.__doc__""" cdef: Py_ssize_t i freq_conv_func func asfreq_info af_info int64_t val ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1092:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct dts char *formatted bytes pat, brepl list found_pat = [False] * len(extra_fmts) int quarter int32_t us, ps ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1216:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def get_period_field_arr(str field, const int64_t[:] arr, int freq): cdef: Py_ssize_t i, sz int64_t[::1] out ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1368:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def from_ordinals(const int64_t[:] values, freq): cdef: Py_ssize_t i, n = len(values) int64_t[::1] result = np.empty(len(values), dtype="i8") ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1420:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) def from_ordinals(const int64_t[:] values, freq): cdef: Py_ssize_t i, n = len(values) int64_t[::1] result = np.empty(len(values), dtype="i8") int64_t val ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1421:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def extract_ordinals(ndarray values, freq) -> np.ndarray: # values is object-dtype, may be 2D cdef: Py_ssize_t i, n = values.size int64_t ordinal ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1444:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # values is object-dtype, may be 2D cdef: Py_ssize_t i, n = values.size int64_t ordinal ndarray ordinals = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1445:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, n = values.size int64_t ordinal ndarray ordinals = cnp.PyArray_EMPTY(values.ndim, values.shape, cnp.NPY_INT64, 0) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(ordinals, values) ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1446:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline int64_t _extract_ordinal(object item, str freqstr, freq) except? -1: """ See extract_ordinals. """ cdef: int64_t ordinal ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1474:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from .np_datetime cimport NPY_DATETIMEUNIT # Exposed for tslib, not intended for outside use. cpdef int64_t delta_to_nanoseconds( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:8:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef convert_to_timedelta64(object ts, str unit) cdef bint is_any_td_scalar(object obj) cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:16:22: First base of '_Timedelta' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:20: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:24: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:32: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:37: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:42: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns NPY_DATETIMEUNIT _reso cpdef timedelta to_pytimedelta(_Timedelta self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:23:10: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __hash__(self): return hash((self.ordinal, self.freqstr)) def _add_timedeltalike_scalar(self, other) -> "Period": cdef: int64_t inc ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1685:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return Period(ordinal=ordinal, freq=self.freq) def _add_offset(self, other) -> "Period": # Non-Tick DateOffset other cdef: int64_t ordinal ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1707:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct, ) from pandas._libs.tslibs.offsets cimport BaseOffset cdef _Timestamp create_timestamp_from_ts(int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:15:41: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.offsets cimport BaseOffset cdef _Timestamp create_timestamp_from_ts(int64_t value, npy_datetimestruct dts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:17:41: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:23: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:35: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... BaseOffset _freq NPY_DATETIMEUNIT _reso cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:31:9: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT _reso cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:32:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) cpdef to_datetime64(self) cpdef datetime to_pydatetime(_Timestamp self, bint warn=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:34:10: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) cpdef to_datetime64(self) cpdef datetime to_pydatetime(_Timestamp self, bint warn=*) cdef bint _compare_outside_nanorange(_Timestamp self, datetime other, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:35:58: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t[::1] iresult object[::1] result_timezone int year, month, day, minute, hour, second, weekday, julian int week_of_year, week_of_year_start, parse_code, ordinal int iso_week, iso_year int64_t us, ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:80:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray, ) import numpy as np cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:21:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... strftime, tm, ) # import datetime C API import_datetime() ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:45:0: 'import_datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... f"represents span: {freq.freqstr}") return freq @classmethod def _from_ordinal(cls, ordinal: int64_t, freq) -> "Period": ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:1649:36: 'int64_t' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... ordinal = date(year, month, day).toordinal() julian = ordinal - date(year, 1, 1).toordinal() + 1 else: # Assume that if they bothered to include Julian day it will # be accurate. datetime_result = date.fromordinal( ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:315:38: cimported module has no attribute 'fromordinal' Error compiling Cython file: ------------------------------------------------------------ ... ordinal = date(year, month, day).toordinal() julian = ordinal - date(year, 1, 1).toordinal() + 1 else: # Assume that if they bothered to include Julian day it will # be accurate. datetime_result = date.fromordinal( ^ ------------------------------------------------------------ pandas/_libs/tslibs/strptime.pyx:315:38: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(strptime.pyx:3:0) StatListNode.stats[13] = StatListNode(strptime.pyx:60:0) StatListNode.stats[0] = DefNode(strptime.pyx:60:0, doc = "\n Calculates the datetime structs represented by the passed array of strings\n\n Parameters\n ----------\n values : ndarray of string-like objects\n fmt : string-like regex\n exact : matches must be exact if True, search if False\n errors : string specifying error handling, {'raise', 'ignore', 'coerce'}\n ", modifiers = [...]/0, name = 'array_strptime', np_args_idx = [...]/0, num_required_args = 2, outer_attrs = [...]/2, py_wrapper_required = True, reqd_kw_flags_cname = '0', used = True) File 'ExprNodes.py', line 5369, in infer_type: SimpleCallNode(strptime.pyx:315:50, result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 6852, in infer_type: AttributeNode(strptime.pyx:315:38, attribute = 'fromordinal', is_attribute = 1, needs_none_check = True, result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 6852, in infer_type AttributeError: 'NoneType' object has no attribute 'type' Error compiling Cython file: ------------------------------------------------------------ ... # -------------------------------------------------------------------- # Frequency Conversion Helpers cdef int64_t DtoB_weekday(int64_t unix_date) nogil: return ((unix_date + 4) // 7) * 5 + ((unix_date + 4) % 7) - 4 ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pyx:298:57: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(period.pyx:1:0) StatListNode.stats[36] = StatListNode(period.pyx:297:5) StatListNode.stats[0] = CFuncDefNode(period.pyx:297:5, args = [...]/1, modifiers = [...]/0, visibility = 'private') File 'Nodes.py', line 435, in analyse_expressions: StatListNode(period.pyx:298:4, is_terminator = True) File 'Nodes.py', line 5968, in analyse_expressions: ReturnStatNode(period.pyx:298:4, is_terminator = True) File 'ExprNodes.py', line 11050, in analyse_types: SubNode(period.pyx:298:62, infix = True, operator = '-', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 11051, in analyse_types: AddNode(period.pyx:298:38, infix = True, operator = '+', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 11052, in analyse_types: ModNode(period.pyx:298:57, infix = True, operator = '%', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 11725, in analyse_operation: ModNode(period.pyx:298:57, infix = True, operator = '%', result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 11725, in analyse_operation AttributeError: 'ErrorType' object has no attribute 'signed' Traceback (most recent call last): Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/strptime.pyx Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/period.pyx Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:1:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:1:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:1:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:1:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... timedelta, tzinfo, ) cdef tzinfo utc_pytz ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:8:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:10:18: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:11:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:12:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:14:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:36: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:17:26: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:18:6: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:5: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:29: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:40: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:21:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) cdef object get_dst_info(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:23:25: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:1:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:1:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport tzinfo from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:2:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport tzinfo from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:2:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport tzinfo from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:2:0: 'numpy/intp_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... UTC = pytz.utc import numpy as np cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:38:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp from numpy cimport int64_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:39:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport tzinfo from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:2:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:16:0: 'numpy/int8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object/PyTypeObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyBool_Check(object obj) nogil bint PyFloat_Check(object obj) nogil bint PyComplex_Check(object obj) nogil bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:20:40: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:16:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # potentially allocate memory inside in unlikely case of when underlying # unicode object was stored as non-utf8 and utf8 wasn't requested before. const char* PyUnicode_AsUTF8AndSize(object obj, Py_ssize_t* length) except NULL from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:29:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ) cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:36:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:39:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:40:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:16:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:41:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type PyTypeObject PyBoolArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:42:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint PyArray_IsIntegerScalar(obj) nogil bint PyArray_Check(obj) nogil cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:48:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint8_t, ) cnp.import_array() from cpython.datetime cimport ( # alias bc `tzinfo` is a kwarg below ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:25:0: 'cpython/datetime/PyDate_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 cdef inline int64_t get_nat(): ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:51:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint8_t, ) cnp.import_array() from cpython.datetime cimport ( # alias bc `tzinfo` is a kwarg below ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:25:0: 'cpython/datetime/PyDateTime_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... uint8_t, ) cnp.import_array() from cpython.datetime cimport ( # alias bc `tzinfo` is a kwarg below ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:25:0: 'cpython/datetime/PyDelta_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_nan : bool """ cdef float64_t fval ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:190:9: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint8_t, ) cnp.import_array() from cpython.datetime cimport ( # alias bc `tzinfo` is a kwarg below ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:25:0: 'cpython/datetime/PyTZInfo_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... uint8_t, ) cnp.import_array() from cpython.datetime cimport ( # alias bc `tzinfo` is a kwarg below ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:25:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... uint8_t, ) cnp.import_array() from cpython.datetime cimport ( # alias bc `tzinfo` is a kwarg below ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:25:0: 'cpython/datetime/time.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... datetime, import_datetime, time, tzinfo as tzinfo_type, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:35:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... datetime, import_datetime, time, tzinfo as tzinfo_type, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:35:0: 'cpython/object/Py_EQ.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:2:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... datetime, import_datetime, time, tzinfo as tzinfo_type, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:35:0: 'cpython/object/Py_GE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... datetime, import_datetime, time, tzinfo as tzinfo_type, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:35:0: 'cpython/object/Py_GT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... datetime, import_datetime, time, tzinfo as tzinfo_type, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:35:0: 'cpython/object/Py_LE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... datetime, import_datetime, time, tzinfo as tzinfo_type, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:35:0: 'cpython/object/Py_LT.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... datetime, import_datetime, time, tzinfo as tzinfo_type, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:35:0: 'cpython/object/Py_NE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... datetime, import_datetime, time, tzinfo as tzinfo_type, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:35:0: 'cpython/object/PyObject_RichCompare.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... datetime, import_datetime, time, tzinfo as tzinfo_type, ) from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:35:0: 'cpython/object/PyObject_RichCompareBool.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:7:0: 'cpython/object.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:11:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:10: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:12:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:19: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:7:0: 'cpython/object/Py_EQ.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:12:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from numpy cimport ( int32_t, int64_t, ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:7:28: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:14:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:10:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( int64_t val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:15:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:11:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( int64_t val, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:16:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef (int32_t, int32_t, int32_t) iso_calendar_t cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:12:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:7:0: 'cpython/object/Py_NE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef class Localizer: cdef: tzinfo tz ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:25:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int dayofweek(int y, int m, int d) nogil cdef bint is_leapyear(int64_t year) nogil cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil cpdef int32_t get_week_of_year(int year, int month, int day) nogil cpdef iso_calendar_t get_iso_calendar(int year, int month, int day) nogil cpdef int32_t get_day_of_year(int year, int month, int day) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:14:6: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Localizer: cdef: tzinfo tz NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:28:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:7:0: 'cpython/object/PyObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cpdef int get_lastbday(int year, int month) nogil cpdef int get_firstbday(int year, int month) nogil cdef dict c_MONTH_NUMBERS cdef int32_t* month_offset ^ ------------------------------------------------------------ pandas/_libs/tslibs/ccalendar.pxd:20:5: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... tzinfo tz NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:30:14: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:31:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import warnings from pandas.util._exceptions import find_stack_level cimport cython from cpython.object cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:7:0: 'cpython/object/PyObject_RichCompare.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta int64_t* tdata ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:32:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... get_nat, is_integer_object, ) cdef int64_t NPY_NAT = get_nat() ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:50:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta int64_t* tdata cdef inline int64_t utc_val_to_local_val( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:34:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... is_integer_object, ) cdef int64_t NPY_NAT = get_nat() cdef tzinfo utc_stdlib = timezone.utc ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:51:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t delta int64_t* tdata cdef inline int64_t utc_val_to_local_val( self, int64_t utc_val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:36:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cdef int64_t NPY_NAT = get_nat() cdef tzinfo utc_stdlib = timezone.utc cdef tzinfo utc_pytz = UTC ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:52:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:17:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT = get_nat() cdef tzinfo utc_stdlib = timezone.utc cdef tzinfo utc_pytz = UTC cdef tzinfo utc_dateutil_str = dateutil_gettz("UTC") # NB: *not* the same as tzutc() ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:53:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT = get_nat() cdef tzinfo utc_stdlib = timezone.utc cdef tzinfo utc_pytz = UTC cdef tzinfo utc_dateutil_str = dateutil_gettz("UTC") # NB: *not* the same as tzutc() cdef tzinfo utc_zoneinfo = None ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:55:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_zoneinfo = None # ---------------------------------------------------------------------- cdef inline bint is_utc_zoneinfo(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:60:33: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray, ) cnp.import_array() from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:24:0: 'cpython/datetime/PyDateTime_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import_optional_dependency("tzdata", errors="warn", min_version="2022.1") return tz is utc_zoneinfo cpdef inline bint is_utc(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:79:25: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... or tz is utc_dateutil_str or is_utc_zoneinfo(tz) ) cdef inline bint is_zoneinfo(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:89:29: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray, ) cnp.import_array() from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:24:0: 'cpython/datetime/PyDelta_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... if ZoneInfo is None: return False return isinstance(tz, ZoneInfo) cdef inline bint is_tzlocal(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:95:28: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint is_tzlocal(tzinfo tz): return isinstance(tz, _dateutil_tzlocal) cdef inline bint treat_tz_as_pytz(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:99:34: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint treat_tz_as_pytz(tzinfo tz): return (hasattr(tz, '_utc_transition_times') and hasattr(tz, '_transition_info')) cdef inline bint treat_tz_as_dateutil(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:104:38: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray, ) cnp.import_array() from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:24:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef inline bint treat_tz_as_dateutil(tzinfo tz): return hasattr(tz, '_trans_list') and hasattr(tz, '_trans_idx') # Returns str or tzinfo object cpdef inline object get_timezone(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:109:33: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return zone except AttributeError: return tz cpdef inline tzinfo maybe_get_tz(object tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:149:13: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Timezone data caches, key is the pytz string or dateutil file name. dst_cache = {} cdef inline object tz_cache_key(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:195:32: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # UTC Offsets cdef timedelta get_utcoffset(tzinfo tz, datetime obj): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:232:5: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # UTC Offsets cdef timedelta get_utcoffset(tzinfo tz, datetime obj): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:232:29: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # UTC Offsets cdef timedelta get_utcoffset(tzinfo tz, datetime obj): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:232:40: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return tz._utcoffset except AttributeError: return tz.utcoffset(obj) cpdef inline bint is_fixed_offset(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:239:34: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # This also implicitly accepts datetime.timezone objects which are # considered fixed return 1 cdef object _get_utc_trans_times_from_dateutil_tz(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:258:50: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:19:27: C attribute of type 'npy_datetimestruct' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... last_std_offset = tti.offset new_trans[i] = trans - last_std_offset return new_trans cdef int64_t[::1] unbox_utcoffsets(object transinfo): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:273:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Daylight Savings cdef object get_dst_info(tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:291:25: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... dst_cache[cache_key] = (trans, deltas, typ) return dst_cache[cache_key] def infer_tzinfo(datetime start, datetime end): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:366:17: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... dst_cache[cache_key] = (trans, deltas, typ) return dst_cache[cache_key] def infer_tzinfo(datetime start, datetime end): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:366:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:15: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... else: tz = None return tz cpdef bint tz_compare(tzinfo start, tzinfo end): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:381:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # numpy dt64 tzinfo tzinfo bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:25:46: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: tz = None return tz cpdef bint tz_compare(tzinfo start, tzinfo end): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:381:36: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:27:35: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:44: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:57: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:30:44: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:33:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:6: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:35: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:48: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t[::1] unbox_utcoffsets(object transinfo): cdef: Py_ssize_t i, sz int64_t[::1] arr ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:276:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:36:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:37:7: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) cdef maybe_localize_tso(_TSObject obj, tzinfo tz, NPY_DATETIMEUNIT reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:39:39: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object/PyTypeObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyBool_Check(object obj) nogil bint PyFloat_Check(object obj) nogil bint PyComplex_Check(object obj) nogil bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:20:40: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # potentially allocate memory inside in unlikely case of when underlying # unicode object was stored as non-utf8 and utf8 wasn't requested before. const char* PyUnicode_AsUTF8AndSize(object obj, Py_ssize_t* length) except NULL from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:29:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ) cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:36:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:39:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:40:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:41:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type PyTypeObject PyBoolArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:42:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint PyArray_IsIntegerScalar(obj) nogil bint PyArray_Check(obj) nogil cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:48:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 cdef inline int64_t get_nat(): ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:51:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_nan : bool """ cdef float64_t fval ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:190:9: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:9:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 cpdef int64_t periods_per_second(NPY_DATETIMEUNIT reso) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:10:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np cimport numpy as cnp from numpy cimport int64_t cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:41:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... else: raise TypeError(type(tz)) return tz def _p_tz_cache_key(tz: tzinfo): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:184:24: 'tzinfo' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... elif start is None or end is None: return start is None and end is None return get_timezone(start) == get_timezone(end) def tz_standardize(tz: tzinfo) -> tzinfo: ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:417:23: 'tzinfo' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... elif start is None or end is None: return start is None and end is None return get_timezone(start) == get_timezone(end) def tz_standardize(tz: tzinfo) -> tzinfo: ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:417:34: 'tzinfo' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime cdef class ABCTimestamp(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pxd:4:24: First base of 'ABCTimestamp' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... tz = timezone(timedelta(hours=hours, minutes=minutes)) else: tz = pytz.timezone(tz) elif is_integer_object(tz): tz = pytz.FixedOffset(tz / 60) elif isinstance(tz, tzinfo): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pyx:175:24: 'tzinfo' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:1:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:19:27: C attribute of type 'npy_datetimestruct' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.object cimport PyTypeObject ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:2:0: 'cpython/object/PyTypeObject.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _TSObject: cdef readonly: npy_datetimestruct dts # npy_datetimestruct int64_t value # numpy dt64 tzinfo tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:21:15: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... # Note: importing extern-style allows us to declare these as nogil # functions, whereas `from cpython cimport` does not. bint PyBool_Check(object obj) nogil bint PyFloat_Check(object obj) nogil bint PyComplex_Check(object obj) nogil bint PyObject_TypeCheck(object obj, PyTypeObject* type) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:20:40: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # numpy dt64 tzinfo tzinfo bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:25:46: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint fold cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:27:35: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:44: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:29:57: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_to_tsobject(object ts, tzinfo tz, str unit, bint dayfirst, bint yearfirst, int32_t nanos=*) cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:30:44: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # potentially allocate memory inside in unlikely case of when underlying # unicode object was stored as non-utf8 and utf8 wasn't requested before. const char* PyUnicode_AsUTF8AndSize(object obj, Py_ssize_t* length) except NULL from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:29:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef _TSObject convert_datetime_to_tsobject(datetime ts, tzinfo tz, int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:33:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t, ) cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:36:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:6: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:39:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:35: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/arrayobject.h": PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:40:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t nanos=*, NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:35:48: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyTypeObject PyFloatingArrType_Type cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:41:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:36:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type PyTypeObject PyComplexFloatingArrType_Type PyTypeObject PyBoolArrType_Type ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:42:4: 'PyTypeObject' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t get_datetime64_nanos(object val) except? -1 cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:37:7: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint PyArray_IsIntegerScalar(obj) nogil bint PyArray_Check(obj) nogil cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:48:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "numpy/npy_common.h": int64_t NPY_MIN_INT64 cdef inline int64_t get_nat(): ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:51:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef datetime localize_pydatetime(datetime dt, tzinfo tz) cdef int64_t cast_from_unit(object ts, str unit) except? -1 cpdef (int64_t, int) precision_from_unit(str unit) cdef maybe_localize_tso(_TSObject obj, tzinfo tz, NPY_DATETIMEUNIT reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/conversion.pxd:39:39: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- is_nan : bool """ cdef float64_t fval ^ ------------------------------------------------------------ pandas/_libs/tslibs/util.pxd:190:9: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:9:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 cpdef int64_t periods_per_second(NPY_DATETIMEUNIT reso) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:10:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ timezone conversion """ cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:5:0: 'cpython/datetime/PyDelta_Check.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... """ timezone conversion """ cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:5:0: 'cpython/datetime/datetime_new.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ timezone conversion """ cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:5:0: 'cpython/datetime/import_datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ timezone conversion """ cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:5:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... import numpy as np import pytz cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:21:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:1:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from .np_datetime cimport NPY_DATETIMEUNIT # Exposed for tslib, not intended for outside use. cpdef int64_t delta_to_nanoseconds( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:8:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef convert_to_timedelta64(object ts, str unit) cdef bint is_any_td_scalar(object obj) cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:16:22: First base of '_Timedelta' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef object ensure_td64ns(object ts) cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:18:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:20: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:9:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:24: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:28: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 cpdef int64_t periods_per_second(NPY_DATETIMEUNIT reso) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:10:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:32: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:37: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef class _Timedelta(timedelta): cdef readonly: int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:20:42: C attribute of type '' cannot be accessed from Python Traceback (most recent call last): Error compiling Cython file: ------------------------------------------------------------ ... int64_t value # nanoseconds bint _is_populated # are my components populated int64_t _d, _h, _m, _s, _ms, _us, _ns NPY_DATETIMEUNIT _reso cpdef timedelta to_pytimedelta(_Timedelta self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pxd:23:10: 'timedelta' is not a type identifier File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/timezones.pyx Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... timedelta, tzinfo, ) cdef tzinfo utc_pytz ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:8:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... ) cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:10:18: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:11:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # API @cython.boundscheck(False) @cython.wraparound(False) def ints_to_pytimedelta(ndarray m8values, box=False): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:152:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- cpdef int64_t delta_to_nanoseconds( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:228:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def array_to_timedelta64( ndarray values, str unit=None, str errors="raise" ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:385:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.PyArray_MultiIter_NEXT(mi) return result cdef inline int64_t _item_to_timedelta64_fastpath(object item) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:456:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return NPY_NAT else: return parse_timedelta_string(item) cdef inline int64_t _item_to_timedelta64(object item, str parsed_unit, str errors) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:468:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError(msg) from err else: raise cdef inline int64_t parse_timedelta_string(str ts) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:485:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result += timedelta_as_neg(r, neg) return result cdef inline int64_t timedelta_as_neg(int64_t value, bint neg): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:655:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result += timedelta_as_neg(r, neg) return result cdef inline int64_t timedelta_as_neg(int64_t value, bint neg): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:655:37: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:12:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Timedelta Construction cdef inline int64_t parse_iso_format_string(str ts) except? -1: ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:819:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:14:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def _timedelta_unpickle(value, reso): return _timedelta_from_value_and_reso(Timedelta, value, reso) cdef _timedelta_from_value_and_reso(cls, int64_t value, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:944:41: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:36: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:17:26: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... timedelta, tzinfo, ) cdef tzinfo utc_pytz ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:8:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Similar to Timestamp/datetime, this is a construction requirement for # timedeltas that we need to do object instantiation in python. This will # serve as a C extension type that shadows the Python class, where we do any # heavy lifting. cdef class _Timedelta(timedelta): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:1012:22: First base of '_Timedelta' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... ) cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:10:18: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:18:6: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:11:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:5: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:12:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:29: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:14:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:40: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... self._seconds = tds.seconds self._microseconds = tds.microseconds self._is_populated = 1 cpdef timedelta to_pytimedelta(_Timedelta self): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:1174:10: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:21:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:36: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) cdef object get_dst_info(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:23:25: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:17:26: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:18:6: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:5: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------- # Constructors @classmethod def _from_value_and_reso(cls, int64_t value, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:1533:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:29: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:40: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:21:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) cdef object get_dst_info(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:23:25: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... is_zoneinfo, utc_pytz, ) cdef const int64_t[::1] _deltas_placeholder = np.array([], dtype=np.int64) ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:50:11: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # int64_t delta # int64_t* tdata @cython.initializedcheck(False) @cython.boundscheck(False) def __cinit__(self, tzinfo tz, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:68:24: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return ( is_any_td_scalar(obj) or obj is None or obj is NaT or isinstance(obj, str) ) cdef _floordiv(int64_t value, right): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:2003:15: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if typ == "pytz": self.use_pytz = True self.tdata = cnp.PyArray_DATA(trans) @cython.boundscheck(False) cdef inline int64_t utc_val_to_local_val( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:118:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _floordiv(int64_t value, right): return value // right cdef _rfloordiv(int64_t value, right): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:2007:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... self.use_pytz = True self.tdata = cnp.PyArray_DATA(trans) @cython.boundscheck(False) cdef inline int64_t utc_val_to_local_val( self, int64_t utc_val, Py_ssize_t* pos, bint* fold=NULL ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:119:14: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # analogous to referencing operator.div, but there is no operator.rfloordiv return right // value cdef _broadcast_floordiv_td64( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:2013:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return right // value cdef _broadcast_floordiv_td64( int64_t value, ndarray other, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:2014:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) return utc_val + self.deltas[pos[0]] cdef int64_t tz_localize_to_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:139:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _broadcast_floordiv_td64( int64_t value, ndarray other, object (*operation)(int64_t value, object right) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:2015:24: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return utc_val + self.deltas[pos[0]] cdef int64_t tz_localize_to_utc_single( int64_t val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:140:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return utc_val + self.deltas[pos[0]] cdef int64_t tz_localize_to_utc_single( int64_t val, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:141:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def tz_localize_to_utc( ndarray[int64_t] vals, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:188:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... array of Timedelta or timedeltas objects """ cdef: NPY_DATETIMEUNIT reso = get_unit_from_dtype(m8values.dtype) Py_ssize_t i, n = m8values.size int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:170:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def tz_localize_to_utc( ndarray[int64_t] vals, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:189:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Note that `result` (and thus `result_flat`) is C-order and # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(m8values.ndim, m8values.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:177:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise pytz.NonExistentTimeError(stamp) return result.base # .base to get underlying ndarray cdef inline Py_ssize_t bisect_right_i8(int64_t *data, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:396:39: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result.base # .base to get underlying ndarray cdef inline Py_ssize_t bisect_right_i8(int64_t *data, int64_t val, Py_ssize_t n): ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:397:39: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... right = pivot return left cdef inline str _render_tstamp(int64_t val, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:426:31: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ts = Timestamp._from_value_and_reso(val, reso, None) return str(ts) cdef _get_utc_bounds( ndarray vals, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:434:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return str(ts) cdef _get_utc_bounds( ndarray vals, int64_t* tdata, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:435:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _get_utc_bounds( ndarray vals, int64_t* tdata, Py_ssize_t ntrans, const int64_t[::1] deltas, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:437:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport tzinfo from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:2:0: 'numpy/intp_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return result_a, result_b @cython.boundscheck(False) cdef ndarray[int64_t] _get_dst_hours( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:489:5: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) cdef ndarray[int64_t] _get_dst_hours( # vals, reso only needed here to potential render an exception message const int64_t[:] vals, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:491:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:11:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) cdef ndarray[int64_t] _get_dst_hours( # vals, reso only needed here to potential render an exception message const int64_t[:] vals, ndarray[int64_t] result_a, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:492:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:12:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) cdef ndarray[int64_t] _get_dst_hours( # vals, reso only needed here to potential render an exception message const int64_t[:] vals, ndarray[int64_t] result_a, ndarray[int64_t] result_b, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:493:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:12:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Timezone Conversion cpdef int64_t tz_convert_from_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:570:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Timezone Conversion cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=NPY_DATETIMEUNIT.NPY_FR_ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:571:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:14:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Timezone Conversion cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=NPY_DATETIMEUNIT.NPY_FR_ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:571:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( int64_t val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:15:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( int64_t val, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:16:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return info.utc_val_to_local_val(utc_val, &pos) # OSError may be thrown by tzlocal on windows at or close to 1970-01-01 # see https://github.com/pandas-dev/pandas/pull/37591#issuecomment-720628241 cdef int64_t _tz_localize_using_tzinfo_api( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:598:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # OSError may be thrown by tzlocal on windows at or close to 1970-01-01 # see https://github.com/pandas-dev/pandas/pull/37591#issuecomment-720628241 cdef int64_t _tz_localize_using_tzinfo_api( int64_t val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:599:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef class Localizer: cdef: tzinfo tz ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:25:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # OSError may be thrown by tzlocal on windows at or close to 1970-01-01 # see https://github.com/pandas-dev/pandas/pull/37591#issuecomment-720628241 cdef int64_t _tz_localize_using_tzinfo_api( int64_t val, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:600:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Localizer: cdef: tzinfo tz NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:28:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... tzinfo tz NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:30:14: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... td = tz.utcoffset(dt) delta = int(td.total_seconds() * pps) return delta cdef datetime _astimezone(npy_datetimestruct dts, tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:659:5: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:31:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... td = tz.utcoffset(dt) delta = int(td.total_seconds() * pps) return delta cdef datetime _astimezone(npy_datetimestruct dts, tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:659:50: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta int64_t* tdata ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:32:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # NB: relies on dateutil internals, subject to change. @cython.boundscheck(False) @cython.wraparound(False) cdef bint _infer_dateutil_fold( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:684:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta int64_t* tdata cdef inline int64_t utc_val_to_local_val( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:34:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # NB: relies on dateutil internals, subject to change. @cython.boundscheck(False) @cython.wraparound(False) cdef bint _infer_dateutil_fold( int64_t value, const int64_t[::1] trans, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:685:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t delta int64_t* tdata cdef inline int64_t utc_val_to_local_val( self, int64_t utc_val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:36:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) cdef bint _infer_dateutil_fold( int64_t value, const int64_t[::1] trans, const int64_t[::1] deltas, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:686:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- cdef inline _Timestamp create_timestamp_from_ts( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:140:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline _Timestamp create_timestamp_from_ts( int64_t value, npy_datetimestruct dts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:142:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ----------------------------------------------------------------- # Constructors @classmethod def _from_value_and_reso(cls, int64_t value, NPY_DATETIMEUNIT reso, tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:267:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ----------------------------------------------------------------- # Constructors @classmethod def _from_value_and_reso(cls, int64_t value, NPY_DATETIMEUNIT reso, tzinfo tz): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:267:72: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... object nonexistent=None, NPY_DATETIMEUNIT reso=NPY_DATETIMEUNIT.NPY_FR_ns, ) except? -1: """See tz_localize_to_utc.__doc__""" cdef: int64_t delta ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:148:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=NPY_DATETIMEUNIT.NPY_FR_ns, ) except? -1: """See tz_localize_to_utc.__doc__""" cdef: int64_t delta int64_t[::1] deltas ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:149:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # dispatch to the datetimestruct utils instead of writing new ones! pandas_datetime_to_datetimestruct(self.value, self._reso, &dts_self) pandas_datetime_to_datetimestruct(other.value, other._reso, &dts_other) return cmp_dtstructs(&dts_self, &dts_other, op) cdef bint _compare_outside_nanorange(_Timestamp self, datetime other, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:399:58: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Returns ------- localized : ndarray[int64_t] """ cdef: ndarray[uint8_t, cast=True] ambiguous_array ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:227:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if op == Py_LE or op == Py_LT: return self.year <= other.year if op == Py_GE or op == Py_GT: return self.year >= other.year cdef bint _can_compare(self, datetime other): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:420:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: ndarray[uint8_t, cast=True] ambiguous_array Py_ssize_t i, idx, pos, n = vals.shape[0] Py_ssize_t delta_idx_offset, delta_idx, pos_left, pos_right int64_t v, left, right, val, new_local, remaining_mins ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:230:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: ndarray[uint8_t, cast=True] ambiguous_array Py_ssize_t i, idx, pos, n = vals.shape[0] Py_ssize_t delta_idx_offset, delta_idx, pos_left, pos_right int64_t v, left, right, val, new_local, remaining_mins int64_t first_delta, delta ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:231:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return type(self)(other) - self return NotImplemented # ----------------------------------------------------------------- cdef int64_t _maybe_convert_value_to_local(self): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:614:9: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[uint8_t, cast=True] ambiguous_array Py_ssize_t i, idx, pos, n = vals.shape[0] Py_ssize_t delta_idx_offset, delta_idx, pos_left, pos_right int64_t v, left, right, val, new_local, remaining_mins int64_t first_delta, delta int64_t shift_delta = 0 ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:232:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, idx, pos, n = vals.shape[0] Py_ssize_t delta_idx_offset, delta_idx, pos_left, pos_right int64_t v, left, right, val, new_local, remaining_mins int64_t first_delta, delta int64_t shift_delta = 0 ndarray[int64_t] result_a, result_b, dst_hours ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:233:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t delta_idx_offset, delta_idx, pos_left, pos_right int64_t v, left, right, val, new_local, remaining_mins int64_t first_delta, delta int64_t shift_delta = 0 ndarray[int64_t] result_a, result_b, dst_hours int64_t[::1] result ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:234:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint infer_dst = False, is_dst = False, fill = False bint shift_forward = False, shift_backward = False bint fill_nonexist = False str stamp Localizer info = Localizer(tz, reso=reso) int64_t pph = periods_per_day(reso) // 24 ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:241:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ): # Determine whether each date lies left of the DST transition (store in # result_a) or right of the DST transition (store in result_b) cdef: ndarray result_a, result_b ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:444:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # result_a) or right of the DST transition (store in result_b) cdef: ndarray result_a, result_b Py_ssize_t i, n = vals.size int64_t val, v_left, v_right ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:446:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: ndarray result_a, result_b Py_ssize_t i, n = vals.size int64_t val, v_left, v_right Py_ssize_t isl, isr, pos_left, pos_right int64_t ppd = periods_per_day(reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:448:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] result_b, NPY_DATETIMEUNIT reso, ): cdef: Py_ssize_t i, n = vals.shape[0] ndarray[uint8_t, cast=True] mismatch ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:498:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... denom = periods_per_second(self._reso) return round(self.value / denom, 6) cpdef datetime to_pydatetime(_Timestamp self, bint warn=True): ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:1159:10: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso, ): cdef: Py_ssize_t i, n = vals.shape[0] ndarray[uint8_t, cast=True] mismatch ndarray[int64_t] delta, dst_hours ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:499:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ): cdef: Py_ssize_t i, n = vals.shape[0] ndarray[uint8_t, cast=True] mismatch ndarray[int64_t] delta, dst_hours ndarray[intp_t] switch_idxs, trans_idx, grp, a_idx, b_idx, one_diff ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:500:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n = vals.shape[0] ndarray[uint8_t, cast=True] mismatch ndarray[int64_t] delta, dst_hours ndarray[intp_t] switch_idxs, trans_idx, grp, a_idx, b_idx, one_diff list trans_grp intp_t switch_idx ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:502:8: 'intp_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[uint8_t, cast=True] mismatch ndarray[int64_t] delta, dst_hours ndarray[intp_t] switch_idxs, trans_idx, grp, a_idx, b_idx, one_diff list trans_grp intp_t switch_idx int64_t left, right ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:503:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... hour=None, minute=None, second=None, microsecond=None, nanosecond=None, tzinfo_type tzinfo=None, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:1540:8: 'tzinfo_type' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ----- Sets fold by pointer """ cdef: npy_datetimestruct dts datetime dt ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:634:8: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Sets fold by pointer """ cdef: npy_datetimestruct dts datetime dt int64_t delta ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:635:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: npy_datetimestruct dts datetime dt int64_t delta timedelta td ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:636:8: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: npy_datetimestruct dts datetime dt int64_t delta timedelta td int64_t pps = periods_per_second(reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:637:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... https://github.com/python/cpython/blob/main/Modules/_datetimemodule.c#L6187 NB: we are assuming tz is not None. """ cdef: datetime result ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:673:8: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... .. [1] "PEP 495 - Local Time Disambiguation" https://www.python.org/dev/peps/pep-0495/#the-fold-attribute """ cdef: bint fold = 0 int64_t fold_delta ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:718:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Scalar analogues to functions in vectorized.pyx @cython.cdivision(False) cdef inline int64_t normalize_i8_stamp(int64_t local_val, int64_t ppd) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:2406:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Scalar analogues to functions in vectorized.pyx @cython.cdivision(False) cdef inline int64_t normalize_i8_stamp(int64_t local_val, int64_t ppd) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:2406:39: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Scalar analogues to functions in vectorized.pyx @cython.cdivision(False) cdef inline int64_t normalize_i8_stamp(int64_t local_val, int64_t ppd) nogil: ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:2406:58: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:2:0: 'cpython/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=NPY_FR_ns, ): """ convenience routine to construct a Timestamp from its parts """ cdef: _Timestamp ts_base int64_t pass_year = dts.year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:150:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:2:0: 'cpython/datetime/date.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:2:0: 'cpython/datetime/datetime.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # resolution of the input. # This is herely mainly so we can incrementally implement non-nano # (e.g. only tznaive at first) cdef: npy_datetimestruct dts int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:296:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:2:0: 'cpython/datetime/time.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:2:0: 'cpython/datetime/tzinfo.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... return cmp_dtstructs(&dts_self, &dts_other, op) cdef bint _compare_outside_nanorange(_Timestamp self, datetime other, int op) except -1: cdef: datetime dtval = self.to_pydatetime(warn=False) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:402:12: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return other.tzinfo is None @cython.overflowcheck(True) def __add__(self, other): cdef: int64_t nanos = 0 ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:428:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... tzinfo, ) import numpy as np cimport numpy as cnp ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:11:8: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # ----------------------------------------------------------------- cdef int64_t _maybe_convert_value_to_local(self): """Convert UTC i8 value to local i8 value if tz exists""" cdef: int64_t val ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:617:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t _maybe_convert_value_to_local(self): """Convert UTC i8 value to local i8 value if tz exists""" cdef: int64_t val tzinfo own_tz = self.tzinfo ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:618:12: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return val @cython.boundscheck(False) cdef bint _get_start_end_field(self, str field, freq): cdef: int64_t val ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:631:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) cdef bint _get_start_end_field(self, str field, freq): cdef: int64_t val dict kwds ndarray[uint8_t, cast=True] out ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:633:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return self._get_start_end_field("is_year_end", self._freq) @cython.boundscheck(False) cdef _get_date_name_field(self, str field, object locale): cdef: int64_t val ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:804:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:12:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:12:0: 'numpy/intp_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:12:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... timedelta, tzinfo, ) from cython cimport Py_ssize_t import_datetime() ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:15:0: 'import_datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... intp_t, ndarray, uint8_t, ) cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:28:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... self.delta = deltas[0] else: self.use_dst = True if typ == "pytz": self.use_pytz = True self.tdata = cnp.PyArray_DATA(trans) ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:115:30: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... self.delta = deltas[0] else: self.use_dst = True if typ == "pytz": self.use_pytz = True self.tdata = cnp.PyArray_DATA(trans) ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:115:42: cimported module has no attribute 'PyArray_DATA' Error compiling Cython file: ------------------------------------------------------------ ... # Vectorized version of DstTzInfo.localize if info.use_utc: return vals.copy() result = cnp.PyArray_EMPTY(vals.ndim, vals.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:247:16: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... # Vectorized version of DstTzInfo.localize if info.use_utc: return vals.copy() result = cnp.PyArray_EMPTY(vals.ndim, vals.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:247:57: cimported module has no attribute 'NPY_INT64' Error compiling Cython file: ------------------------------------------------------------ ... fill_nonexist = True elif nonexistent == 'shift_forward': shift_forward = True elif nonexistent == 'shift_backward': shift_backward = True elif PyDelta_Check(nonexistent): ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:296:9: 'PyDelta_Check' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... result[i] = right else: # Handle nonexistent times if shift_forward or shift_backward or shift_delta != 0: # Shift the nonexistent time to the closest existing time remaining_mins = val % pph ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pyx:366:37: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(tzconversion.pyx:4:0) StatListNode.stats[16] = StatListNode(tzconversion.pyx:187:0) StatListNode.stats[0] = CompilerDirectivesNode(tzconversion.pyx:187:0) CompilerDirectivesNode.body = StatListNode(tzconversion.pyx:187:0) StatListNode.stats[0] = DefNode(tzconversion.pyx:187:0, doc = '\n Localize tzinfo-naive i8 to given time zone (using pytz). If\n there are ambiguities in the values, raise AmbiguousTimeError.\n\n Parameters\n ----------\n vals : ndarray[int64_t]\n tz : tzinfo or None\n ambiguous : str, bool, or arraylike\n When clocks moved backward due to DST, ambiguous times may arise.\n For example in Central European Time (UTC+01), when going from 03:00\n DST to 02:00 non-DST, 02:30:00 local time occurs both at 00:30:00 UTC\n and at 01:30:00 UTC. In such a situation, the `ambiguous` parameter\n dictates how ambiguous times should be handled.\n\n - \'infer\' will attempt to infer fall dst-transition hours based on\n order\n - bool-ndarray where True signifies a DST time, False signifies a\n non-DST time (note that this flag is only applicable for ambiguous\n times, but the array must have the same length as vals)\n - bool if True, treat all vals as DST. If False, treat them as non-DST\n - \'NaT\' will return NaT where there are ambiguous times\n\n nonexistent : {None, "NaT", "shift_forward", "shift_backward", "raise", timedelta-like}\n How to handle non-existent times when converting wall times to UTC\n reso : NPY_DATETIMEUNIT, default NPY_FR_ns\n\n Returns\n -------\n localized : ndarray[int64_t]\n ', modifiers = [...]/0, name = 'tz_localize_to_utc', np_args_idx = [...]/0, num_required_args = 2, outer_attrs = [...]/2, py_wrapper_required = True, reqd_kw_flags_cname = '0', used = True) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(tzconversion.pyx:194:4, is_terminator = True) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(tzconversion.pyx:328:4) File 'Nodes.py', line 6706, in analyse_expressions: ForInStatNode(tzconversion.pyx:328:4) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(tzconversion.pyx:329:8) File 'Nodes.py', line 6270, in analyse_expressions: IfStatNode(tzconversion.pyx:332:8) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(tzconversion.pyx:364:12) File 'Nodes.py', line 6268, in analyse_expressions: IfStatNode(tzconversion.pyx:364:12) File 'Nodes.py', line 6334, in analyse_expressions: IfClauseNode(tzconversion.pyx:364:15) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(tzconversion.pyx:366:16) File 'Nodes.py', line 5185, in analyse_expressions: SingleAssignmentNode(tzconversion.pyx:366:37) File 'Nodes.py', line 5305, in analyse_types: SingleAssignmentNode(tzconversion.pyx:366:37) File 'ExprNodes.py', line 11052, in analyse_types: ModNode(tzconversion.pyx:366:37, infix = True, operator = '%', result_is_used = True, use_managed_ref = True, zerodivision_check = True) File 'ExprNodes.py', line 11725, in analyse_operation: ModNode(tzconversion.pyx:366:37, infix = True, operator = '%', result_is_used = True, use_managed_ref = True, zerodivision_check = True) Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 11725, in analyse_operation AttributeError: 'ErrorType' object has no attribute 'signed' Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/tzconversion.pyx Error compiling Cython file: ------------------------------------------------------------ ... cimport numpy as cnp from cpython.datetime cimport ( date, datetime, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:6:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ) # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:14:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # TODO(cython3): most of these can be cimported directly from numpy cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:15:13: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ctypedef int64_t npy_datetime cdef extern from "numpy/ndarraytypes.h": ctypedef struct PyArray_DatetimeMetaData: NPY_DATETIMEUNIT base int64_t num ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:20:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... npy_timedelta obval PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:35:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... PyArray_DatetimeMetaData obmeta cdef extern from "numpy/ndarraytypes.h": ctypedef struct npy_datetimestruct: int64_t year int32_t month, day, hour, min, sec, us, ps, as ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:36:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_FR_ps NPY_FR_fs NPY_FR_as NPY_FR_GENERIC int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:55:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:59:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t NPY_DATETIME_NAT # elswhere we call this NPY_NAT cdef extern from "src/datetime/np_datetime.h": ctypedef struct pandas_timedeltastruct: int64_t days int32_t hrs, min, sec, ms, us, ns, seconds, microseconds, nanoseconds ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:60:8: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:21: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... void pandas_timedelta_to_timedeltastruct(npy_timedelta val, NPY_DATETIMEUNIT fr, pandas_timedeltastruct *result ) nogil cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:74:34: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_scalar(int64_t lhs, int64_t rhs, int op) except -1 cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:78:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:80:32: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef check_dts_bounds(npy_datetimestruct *dts, NPY_DATETIMEUNIT unit=?) cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:81:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:82:28: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t dtstruct_to_dt64(npy_datetimestruct* dts) nogil cdef int64_t pydatetime_to_dt64(datetime val, npy_datetimestruct *dts) cdef void pydatetime_to_dtstruct(datetime dt, npy_datetimestruct *dts) cdef int64_t pydate_to_dt64(date val, npy_datetimestruct *dts) cdef void pydate_to_dtstruct(date val, npy_datetimestruct *dts) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:83:29: 'date' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int* out_local, int* out_tzoffset, bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:98:42: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint want_exc, ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:100:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:101:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef NPY_DATETIMEUNIT get_unit_from_dtype(cnp.dtype dtype) cpdef cnp.ndarray astype_overflowsafe( cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:102:4: 'dtype' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cnp.ndarray values, # ndarray[datetime64[anyunit]] cnp.dtype dtype, # ndarray[datetime64[anyunit]] bint copy=*, bint round_ok=*, ) cdef int64_t get_conversion_factor(NPY_DATETIMEUNIT from_unit, NPY_DATETIMEUNIT to_unit) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:106:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint cmp_dtstructs(npy_datetimestruct* left, npy_datetimestruct* right, int op) cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:113:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef get_implementation_bounds( NPY_DATETIMEUNIT reso, npy_datetimestruct *lower, npy_datetimestruct *upper ) cdef int64_t convert_reso( int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/np_datetime.pxd:114:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:9:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit) cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev) cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) nogil cpdef int64_t periods_per_day(NPY_DATETIMEUNIT reso=*) except? -1 cpdef int64_t periods_per_second(NPY_DATETIMEUNIT reso) except? -1 ^ ------------------------------------------------------------ pandas/_libs/tslibs/dtypes.pxd:10:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime from numpy cimport int64_t cdef int64_t NPY_NAT ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:5:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int64_t NPY_NAT cdef set c_nat_strings cdef class _NaT(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:9:16: First base of '_NaT' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef set c_nat_strings cdef class _NaT(datetime): cdef readonly: int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/nattype.pxd:11:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_offset_object(object obj) cdef bint is_tick_object(object obj) cdef class BaseOffset: cdef readonly: int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/offsets.pxd:10:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... from .np_datetime cimport npy_datetimestruct cdef bint is_period_object(object obj) cdef int64_t get_period_ordinal(npy_datetimestruct *dts, int freq) nogil ^ ------------------------------------------------------------ pandas/_libs/tslibs/period.pxd:7:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport datetime cdef class ABCTimestamp(datetime): ^ ------------------------------------------------------------ pandas/_libs/tslibs/base.pxd:4:24: First base of 'ABCTimestamp' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... npy_datetimestruct, ) from pandas._libs.tslibs.offsets cimport BaseOffset cdef _Timestamp create_timestamp_from_ts(int64_t value, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:15:41: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.offsets cimport BaseOffset cdef _Timestamp create_timestamp_from_ts(int64_t value, npy_datetimestruct dts, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:17:41: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:16: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:23: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT reso=*) cdef class _Timestamp(ABCTimestamp): cdef readonly: int64_t value, nanosecond, year ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:25:35: C attribute of type '' cannot be accessed from Python Error compiling Cython file: ------------------------------------------------------------ ... BaseOffset _freq NPY_DATETIMEUNIT _reso cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:31:9: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT _reso cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:32:33: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint _get_start_end_field(self, str field, freq) cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) cpdef to_datetime64(self) cpdef datetime to_pydatetime(_Timestamp self, bint warn=*) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:34:10: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _get_date_name_field(self, str field, object locale) cdef int64_t _maybe_convert_value_to_local(self) cdef bint _can_compare(self, datetime other) cpdef to_datetime64(self) cpdef datetime to_pydatetime(_Timestamp self, bint warn=*) cdef bint _compare_outside_nanorange(_Timestamp self, datetime other, ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pxd:35:58: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from cpython.datetime cimport ( ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:1:0: 'cpython/datetime/timedelta.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... timedelta, tzinfo, ) cdef tzinfo utc_pytz ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:8:5: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:10:18: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:11:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef tzinfo utc_pytz cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:12:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint is_utc(tzinfo tz) cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:14:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:22: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_tzlocal(tzinfo tz) cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:16:36: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_zoneinfo(tzinfo tz) cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:17:26: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint treat_tz_as_pytz(tzinfo tz) cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:18:6: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:5: 'timedelta' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:29: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:20:40: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef bint tz_compare(tzinfo start, tzinfo end) cpdef object get_timezone(tzinfo tz) cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:21:27: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef tzinfo maybe_get_tz(object tz) cdef timedelta get_utcoffset(tzinfo tz, datetime obj) cpdef bint is_fixed_offset(tzinfo tz) cdef object get_dst_info(tzinfo tz) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timezones.pxd:23:25: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:11:6: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:12:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.tslibs.np_datetime cimport NPY_DATETIMEUNIT cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:12:21: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:14:5: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( int64_t val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:15:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cpdef int64_t tz_convert_from_utc_single( int64_t utc_val, tzinfo tz, NPY_DATETIMEUNIT reso=* ) except? -1 cdef int64_t tz_localize_to_utc_single( int64_t val, tzinfo tz, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:16:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1 cdef class Localizer: cdef: tzinfo tz ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:25:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef class Localizer: cdef: tzinfo tz NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:28:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... tzinfo tz NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:30:14: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NPY_DATETIMEUNIT _reso bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:31:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint use_utc, use_fixed, use_tzlocal, use_dst, use_pytz ndarray trans Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta int64_t* tdata ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:32:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t ntrans const int64_t[::1] deltas int64_t delta int64_t* tdata cdef inline int64_t utc_val_to_local_val( ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:34:16: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t delta int64_t* tdata cdef inline int64_t utc_val_to_local_val( self, int64_t utc_val, ^ ------------------------------------------------------------ pandas/_libs/tslibs/tzconversion.pxd:36:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from .tzconversion cimport Localizer @cython.boundscheck(False) @cython.wraparound(False) def tz_convert_from_utc(ndarray stamps, tzinfo tz, NPY_DATETIMEUNIT reso=NPY_FR_ns): ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:45:24: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... from .tzconversion cimport Localizer @cython.boundscheck(False) @cython.wraparound(False) def tz_convert_from_utc(ndarray stamps, tzinfo tz, NPY_DATETIMEUNIT reso=NPY_FR_ns): ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:45:40: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def ints_to_pydatetime( ndarray stamps, ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:97:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def ints_to_pydatetime( ndarray stamps, tzinfo tz=None, ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:98:4: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def get_resolution( ndarray stamps, tzinfo tz=None, NPY_DATETIMEUNIT reso=NPY_FR_ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:234:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def get_resolution( ndarray stamps, tzinfo tz=None, NPY_DATETIMEUNIT reso=NPY_FR_ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:234:20: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.cdivision(False) @cython.wraparound(False) @cython.boundscheck(False) cpdef ndarray normalize_i8_timestamps(ndarray stamps, tzinfo tz, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:272:6: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.cdivision(False) @cython.wraparound(False) @cython.boundscheck(False) cpdef ndarray normalize_i8_timestamps(ndarray stamps, tzinfo tz, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:272:38: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.cdivision(False) @cython.wraparound(False) @cython.boundscheck(False) cpdef ndarray normalize_i8_timestamps(ndarray stamps, tzinfo tz, NPY_DATETIMEUNIT reso): ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:272:54: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result @cython.wraparound(False) @cython.boundscheck(False) def is_date_array_normalized(ndarray stamps, tzinfo tz, NPY_DATETIMEUNIT reso) -> bool: ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:319:29: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result @cython.wraparound(False) @cython.boundscheck(False) def is_date_array_normalized(ndarray stamps, tzinfo tz, NPY_DATETIMEUNIT reso) -> bool: ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:319:45: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def dt64arr_to_periodarr( ndarray stamps, int freq, tzinfo tz, NPY_DATETIMEUNIT reso=NPY_FR_ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:364:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) @cython.boundscheck(False) def dt64arr_to_periodarr( ndarray stamps, int freq, tzinfo tz, NPY_DATETIMEUNIT reso=NPY_FR_ns ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:364:30: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- ndarray[int64] """ cdef: Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:61:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val Py_ssize_t pos, i, n = stamps.size ndarray result ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:64:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val Py_ssize_t pos, i, n = stamps.size ndarray result cnp.broadcast mi ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:65:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- ndarray[object] of type specified by box """ cdef: Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:136:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t utc_val, local_val Py_ssize_t i, n = stamps.size Py_ssize_t pos = -1 # unused, avoid not-initialized warning npy_datetimestruct dts tzinfo new_tz ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:141:8: 'tzinfo' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Note that `result` (and thus `result_flat`) is C-order and # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:149:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # cython: boundscheck=False, wraparound=False, cdivision=True cimport cython from libc.math cimport round ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:4:0: 'libc/math.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: boundscheck=False, wraparound=False, cdivision=True cimport cython from libc.math cimport round ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:4:0: 'libc/math/round.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: boundscheck=False, wraparound=False, cdivision=True cimport cython from libc.math cimport round from libcpp.deque cimport deque ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:6:0: 'libcpp/deque.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: boundscheck=False, wraparound=False, cdivision=True cimport cython from libc.math cimport round from libcpp.deque cimport deque ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:6:0: 'libcpp/deque/deque.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/float32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/float64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/int8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/int16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/int32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/uint16_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/uint32_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... """ Common location for shared fused types """ from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:5:0: 'numpy/uint64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... uint64_t, ) # All numeric types except complex ctypedef fused numeric_t: int8_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:20:4: 'int8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:21:4: 'int16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:21:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:22:4: 'int32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:22:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t int64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:23:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # All numeric types except complex ctypedef fused numeric_t: int8_t int16_t int32_t int64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:23:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... int8_t int16_t int32_t int64_t uint8_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:25:4: 'uint8_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int8_t int16_t int32_t int64_t uint8_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:25:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... int16_t int32_t int64_t uint8_t uint16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:26:4: 'uint16_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int16_t int32_t int64_t uint8_t uint16_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:26:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... int32_t int64_t uint8_t uint16_t uint32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:27:4: 'uint32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int32_t int64_t uint8_t uint16_t uint32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:27:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... int64_t uint8_t uint16_t uint32_t uint64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:28:4: 'uint64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t uint8_t uint16_t uint32_t uint64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:28:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... uint8_t uint16_t uint32_t uint64_t float32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:30:4: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint8_t uint16_t uint32_t uint64_t float32_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:30:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... uint16_t uint32_t uint64_t float32_t float64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:31:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... uint16_t uint32_t uint64_t float32_t float64_t ^ ------------------------------------------------------------ pandas/_libs/dtypes.pxd:31:4: Type specified multiple times Error compiling Cython file: ------------------------------------------------------------ ... from pandas._libs.algos cimport TiebreakEnumType import numpy as np cimport numpy as cnp from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:13:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... ndarray, ) cdef extern from "" namespace "std": int signbit(float64_t) nogil float64_t sqrt(float64_t x) nogil ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:22:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray, ) cdef extern from "" namespace "std": int signbit(float64_t) nogil float64_t sqrt(float64_t x) nogil ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:22:19: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int skiplist_remove(skiplist_t*, double) nogil int skiplist_rank(skiplist_t*, double) nogil int skiplist_min_rank(skiplist_t*, double) nogil cdef: float32_t MINfloat32 = np.NINF ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:56:4: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int skiplist_rank(skiplist_t*, double) nogil int skiplist_min_rank(skiplist_t*, double) nogil cdef: float32_t MINfloat32 = np.NINF float64_t MINfloat64 = np.NINF ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:57:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: float32_t MINfloat32 = np.NINF float64_t MINfloat64 = np.NINF float32_t MAXfloat32 = np.inf ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:59:4: 'float32_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: float32_t MINfloat32 = np.NINF float64_t MINfloat64 = np.NINF float32_t MAXfloat32 = np.inf float64_t MAXfloat64 = np.inf ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:60:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t MINfloat64 = np.NINF float32_t MAXfloat32 = np.inf float64_t MAXfloat64 = np.inf float64_t NaN = np.NaN ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:62:4: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t MAXfloat64 = np.inf float64_t NaN = np.NaN cdef bint is_monotonic_increasing_start_end_bounds( ndarray[int64_t, ndim=1] start, ndarray[int64_t, ndim=1] end ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:65:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t MAXfloat64 = np.inf float64_t NaN = np.NaN cdef bint is_monotonic_increasing_start_end_bounds( ndarray[int64_t, ndim=1] start, ndarray[int64_t, ndim=1] end ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:65:36: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling sum cdef inline float64_t calc_sum(int64_t minp, int64_t nobs, float64_t sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:73:12: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling sum cdef inline float64_t calc_sum(int64_t minp, int64_t nobs, float64_t sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:73:31: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling sum cdef inline float64_t calc_sum(int64_t minp, int64_t nobs, float64_t sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:73:45: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling sum cdef inline float64_t calc_sum(int64_t minp, int64_t nobs, float64_t sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:73:59: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling sum cdef inline float64_t calc_sum(int64_t minp, int64_t nobs, float64_t sum_x, int64_t num_consecutive_same_value, float64_t prev_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:74:31: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling sum cdef inline float64_t calc_sum(int64_t minp, int64_t nobs, float64_t sum_x, int64_t num_consecutive_same_value, float64_t prev_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:74:67: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_sum(float64_t val, int64_t *nobs, float64_t *sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:92:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_sum(float64_t val, int64_t *nobs, float64_t *sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:92:40: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_sum(float64_t val, int64_t *nobs, float64_t *sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:92:55: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_sum(float64_t val, int64_t *nobs, float64_t *sum_x, float64_t *compensation, int64_t *num_consecutive_same_value, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:93:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_sum(float64_t val, int64_t *nobs, float64_t *sum_x, float64_t *compensation, int64_t *num_consecutive_same_value, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:93:50: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_sum(float64_t val, int64_t *nobs, float64_t *sum_x, float64_t *compensation, int64_t *num_consecutive_same_value, float64_t *prev_value) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:94:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # reset to 1 (include current value itself) num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_sum(float64_t val, int64_t *nobs, float64_t *sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:117:28: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # reset to 1 (include current value itself) num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_sum(float64_t val, int64_t *nobs, float64_t *sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:117:43: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # reset to 1 (include current value itself) num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_sum(float64_t val, int64_t *nobs, float64_t *sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:117:58: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_sum(float64_t val, int64_t *nobs, float64_t *sum_x, float64_t *compensation) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:118:28: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... t = sum_x[0] + y compensation[0] = t - sum_x[0] - y sum_x[0] = t def roll_sum(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:133:19: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... t = sum_x[0] + y compensation[0] = t - sum_x[0] - y sum_x[0] = t def roll_sum(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:133:40: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... compensation[0] = t - sum_x[0] - y sum_x[0] = t def roll_sum(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:134:13: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... compensation[0] = t - sum_x[0] - y sum_x[0] = t def roll_sum(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:134:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling mean cdef inline float64_t calc_mean(int64_t minp, Py_ssize_t nobs, Py_ssize_t neg_ct, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:190:12: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling mean cdef inline float64_t calc_mean(int64_t minp, Py_ssize_t nobs, Py_ssize_t neg_ct, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:190:32: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling mean cdef inline float64_t calc_mean(int64_t minp, Py_ssize_t nobs, Py_ssize_t neg_ct, float64_t sum_x, int64_t num_consecutive_same_value, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:191:32: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling mean cdef inline float64_t calc_mean(int64_t minp, Py_ssize_t nobs, Py_ssize_t neg_ct, float64_t sum_x, int64_t num_consecutive_same_value, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:191:49: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Rolling mean cdef inline float64_t calc_mean(int64_t minp, Py_ssize_t nobs, Py_ssize_t neg_ct, float64_t sum_x, int64_t num_consecutive_same_value, float64_t prev_value) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:192:32: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: result = NaN return result cdef inline void add_mean(float64_t val, Py_ssize_t *nobs, float64_t *sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:213:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: result = NaN return result cdef inline void add_mean(float64_t val, Py_ssize_t *nobs, float64_t *sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:213:59: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_mean(float64_t val, Py_ssize_t *nobs, float64_t *sum_x, Py_ssize_t *neg_ct, float64_t *compensation, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:214:46: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_mean(float64_t val, Py_ssize_t *nobs, float64_t *sum_x, Py_ssize_t *neg_ct, float64_t *compensation, int64_t *num_consecutive_same_value, float64_t *prev_value) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:215:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_mean(float64_t val, Py_ssize_t *nobs, float64_t *sum_x, Py_ssize_t *neg_ct, float64_t *compensation, int64_t *num_consecutive_same_value, float64_t *prev_value) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:215:63: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # reset to 1 (include current value itself) num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_mean(float64_t val, Py_ssize_t *nobs, float64_t *sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:239:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # reset to 1 (include current value itself) num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_mean(float64_t val, Py_ssize_t *nobs, float64_t *sum_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:239:62: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_mean(float64_t val, Py_ssize_t *nobs, float64_t *sum_x, Py_ssize_t *neg_ct, float64_t *compensation) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:240:49: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sum_x[0] = t if signbit(val): neg_ct[0] = neg_ct[0] - 1 def roll_mean(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:255:20: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sum_x[0] = t if signbit(val): neg_ct[0] = neg_ct[0] - 1 def roll_mean(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:255:41: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if signbit(val): neg_ct[0] = neg_ct[0] - 1 def roll_mean(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:256:14: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if signbit(val): neg_ct[0] = neg_ct[0] - 1 def roll_mean(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:256:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling variance cdef inline float64_t calc_var(int64_t minp, int ddof, float64_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:313:12: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling variance cdef inline float64_t calc_var(int64_t minp, int ddof, float64_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:313:31: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling variance cdef inline float64_t calc_var(int64_t minp, int ddof, float64_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:313:55: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling variance cdef inline float64_t calc_var(int64_t minp, int ddof, float64_t nobs, float64_t ssqdm_x, int64_t num_consecutive_same_value) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:314:31: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling variance cdef inline float64_t calc_var(int64_t minp, int ddof, float64_t nobs, float64_t ssqdm_x, int64_t num_consecutive_same_value) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:314:50: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_var(float64_t val, float64_t *nobs, float64_t *mean_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:332:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_var(float64_t val, float64_t *nobs, float64_t *mean_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:332:40: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_var(float64_t val, float64_t *nobs, float64_t *mean_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:332:57: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_var(float64_t val, float64_t *nobs, float64_t *mean_x, float64_t *ssqdm_x, float64_t *compensation, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:333:25: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_var(float64_t val, float64_t *nobs, float64_t *mean_x, float64_t *ssqdm_x, float64_t *compensation, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:333:45: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_var(float64_t val, float64_t *nobs, float64_t *mean_x, float64_t *ssqdm_x, float64_t *compensation, int64_t *num_consecutive_same_value, float64_t *prev_value) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:334:25: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_var(float64_t val, float64_t *nobs, float64_t *mean_x, float64_t *ssqdm_x, float64_t *compensation, int64_t *num_consecutive_same_value, float64_t *prev_value) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:334:62: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: mean_x[0] = 0 ssqdm_x[0] = ssqdm_x[0] + (val - prev_mean) * (val - mean_x[0]) cdef inline void remove_var(float64_t val, float64_t *nobs, float64_t *mean_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:368:28: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: mean_x[0] = 0 ssqdm_x[0] = ssqdm_x[0] + (val - prev_mean) * (val - mean_x[0]) cdef inline void remove_var(float64_t val, float64_t *nobs, float64_t *mean_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:368:43: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: mean_x[0] = 0 ssqdm_x[0] = ssqdm_x[0] + (val - prev_mean) * (val - mean_x[0]) cdef inline void remove_var(float64_t val, float64_t *nobs, float64_t *mean_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:368:60: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... mean_x[0] = 0 ssqdm_x[0] = ssqdm_x[0] + (val - prev_mean) * (val - mean_x[0]) cdef inline void remove_var(float64_t val, float64_t *nobs, float64_t *mean_x, float64_t *ssqdm_x, float64_t *compensation) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:369:28: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... mean_x[0] = 0 ssqdm_x[0] = ssqdm_x[0] + (val - prev_mean) * (val - mean_x[0]) cdef inline void remove_var(float64_t val, float64_t *nobs, float64_t *mean_x, float64_t *ssqdm_x, float64_t *compensation) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:369:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: mean_x[0] = 0 ssqdm_x[0] = 0 def roll_var(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:391:19: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: mean_x[0] = 0 ssqdm_x[0] = 0 def roll_var(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:391:40: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... mean_x[0] = 0 ssqdm_x[0] = 0 def roll_var(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp, int ddof=1) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:392:13: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... mean_x[0] = 0 ssqdm_x[0] = 0 def roll_var(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp, int ddof=1) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:392:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling skewness cdef inline float64_t calc_skew(int64_t minp, int64_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:458:12: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling skewness cdef inline float64_t calc_skew(int64_t minp, int64_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:458:32: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling skewness cdef inline float64_t calc_skew(int64_t minp, int64_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:458:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling skewness cdef inline float64_t calc_skew(int64_t minp, int64_t nobs, float64_t x, float64_t xx, float64_t xxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:459:32: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling skewness cdef inline float64_t calc_skew(int64_t minp, int64_t nobs, float64_t x, float64_t xx, float64_t xxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:459:45: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling skewness cdef inline float64_t calc_skew(int64_t minp, int64_t nobs, float64_t x, float64_t xx, float64_t xxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:459:59: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Rolling skewness cdef inline float64_t calc_skew(int64_t minp, int64_t nobs, float64_t x, float64_t xx, float64_t xxx, int64_t num_consecutive_same_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:460:32: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_skew(float64_t val, int64_t *nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:499:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_skew(float64_t val, int64_t *nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:499:41: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:500:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:500:40: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:501:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *compensation_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:502:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *compensation_x, float64_t *compensation_xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:503:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:504:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t *x, float64_t *xx, float64_t *xxx, float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx, int64_t *num_consecutive_same_value, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:505:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t *xxx, float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx, int64_t *num_consecutive_same_value, float64_t *prev_value, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:506:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # reset to 1 (include current value itself) num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_skew(float64_t val, int64_t *nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:538:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # reset to 1 (include current value itself) num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_skew(float64_t val, int64_t *nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:538:44: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:539:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:539:43: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... prev_value[0] = val cdef inline void remove_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:540:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *compensation_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:541:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *compensation_x, float64_t *compensation_xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:542:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_skew(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:543:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... t = xxx[0] + y compensation_xxx[0] = t - xxx[0] - y xxx[0] = t def roll_skew(ndarray[float64_t] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:566:14: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... t = xxx[0] + y compensation_xxx[0] = t - xxx[0] - y xxx[0] = t def roll_skew(ndarray[float64_t] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:566:41: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... compensation_xxx[0] = t - xxx[0] - y xxx[0] = t def roll_skew(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:567:14: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... compensation_xxx[0] = t - xxx[0] - y xxx[0] = t def roll_skew(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:567:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling kurtosis cdef inline float64_t calc_kurt(int64_t minp, int64_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:656:12: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling kurtosis cdef inline float64_t calc_kurt(int64_t minp, int64_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:656:32: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling kurtosis cdef inline float64_t calc_kurt(int64_t minp, int64_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:656:46: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling kurtosis cdef inline float64_t calc_kurt(int64_t minp, int64_t nobs, float64_t x, float64_t xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:657:32: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling kurtosis cdef inline float64_t calc_kurt(int64_t minp, int64_t nobs, float64_t x, float64_t xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:657:45: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Rolling kurtosis cdef inline float64_t calc_kurt(int64_t minp, int64_t nobs, float64_t x, float64_t xx, float64_t xxx, float64_t xxxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:658:32: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Rolling kurtosis cdef inline float64_t calc_kurt(int64_t minp, int64_t nobs, float64_t x, float64_t xx, float64_t xxx, float64_t xxxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:658:47: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline float64_t calc_kurt(int64_t minp, int64_t nobs, float64_t x, float64_t xx, float64_t xxx, float64_t xxxx, int64_t num_consecutive_same_value, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:659:32: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_kurt(float64_t val, int64_t *nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:702:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_kurt(float64_t val, int64_t *nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:702:41: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:703:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:703:40: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:704:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:704:42: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, float64_t *compensation_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:705:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, float64_t *compensation_x, float64_t *compensation_xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:706:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:707:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx, float64_t *compensation_xxxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:708:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t *xxx, float64_t *xxxx, float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx, float64_t *compensation_xxxx, int64_t *num_consecutive_same_value, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:709:26: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx, float64_t *compensation_xxxx, int64_t *num_consecutive_same_value, float64_t *prev_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:710:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # reset to 1 (include current value itself) num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_kurt(float64_t val, int64_t *nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:746:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # reset to 1 (include current value itself) num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_kurt(float64_t val, int64_t *nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:746:44: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:747:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... num_consecutive_same_value[0] = 1 prev_value[0] = val cdef inline void remove_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:747:43: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... prev_value[0] = val cdef inline void remove_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:748:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... prev_value[0] = val cdef inline void remove_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:748:45: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, float64_t *compensation_x, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:749:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, float64_t *compensation_x, float64_t *compensation_xx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:750:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_kurt(float64_t val, int64_t *nobs, float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:751:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t *x, float64_t *xx, float64_t *xxx, float64_t *xxxx, float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx, float64_t *compensation_xxxx) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:752:29: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... t = xxxx[0] + y compensation_xxxx[0] = t - xxxx[0] - y xxxx[0] = t def roll_kurt(ndarray[float64_t] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:779:14: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... t = xxxx[0] + y compensation_xxxx[0] = t - xxxx[0] - y xxxx[0] = t def roll_kurt(ndarray[float64_t] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:779:41: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... compensation_xxxx[0] = t - xxxx[0] - y xxxx[0] = t def roll_kurt(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:780:14: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... compensation_xxxx[0] = t - xxxx[0] - y xxxx[0] = t def roll_kurt(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:780:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling median, min, max def roll_median_c(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:873:24: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling median, min, max def roll_median_c(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:873:45: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling median, min, max def roll_median_c(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:874:18: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling median, min, max def roll_median_c(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:874:40: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ remove a value from the mm calc """ if numeric_t in cython.floating and aold == aold: nobs[0] = nobs[0] - 1 cdef inline numeric_t calc_mm(int64_t minp, Py_ssize_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:998:30: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = value return result def roll_max(ndarray[float64_t] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1014:13: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = value return result def roll_max(ndarray[float64_t] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1014:40: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result def roll_max(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1015:13: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result def roll_max(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1015:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... np.ndarray[float] """ return _roll_min_max(values, start, end, minp, is_max=1) def roll_min(ndarray[float64_t] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1038:13: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... np.ndarray[float] """ return _roll_min_max(values, start, end, minp, is_max=1) def roll_min(ndarray[float64_t] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1038:40: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ return _roll_min_max(values, start, end, minp, is_max=1) def roll_min(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1039:13: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ return _roll_min_max(values, start, end, minp, is_max=1) def roll_min(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1039:35: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... np.ndarray[float] """ return _roll_min_max(values, start, end, minp, is_max=0) cdef _roll_min_max(ndarray[numeric_t] values, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1059:19: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ return _roll_min_max(values, start, end, minp, is_max=0) cdef _roll_min_max(ndarray[numeric_t] values, ndarray[int64_t] starti, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1060:19: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return _roll_min_max(values, start, end, minp, is_max=0) cdef _roll_min_max(ndarray[numeric_t] values, ndarray[int64_t] starti, ndarray[int64_t] endi, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1061:19: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef _roll_min_max(ndarray[numeric_t] values, ndarray[int64_t] starti, ndarray[int64_t] endi, int64_t minp, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1062:19: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 'nearest': NEAREST, 'midpoint': MIDPOINT, } def roll_quantile(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1143:24: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 'nearest': NEAREST, 'midpoint': MIDPOINT, } def roll_quantile(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1143:45: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 'midpoint': MIDPOINT, } def roll_quantile(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1144:18: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 'midpoint': MIDPOINT, } def roll_quantile(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1144:40: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... } def roll_quantile(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp, float64_t quantile, str interpolation) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1145:18: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... "min": TiebreakEnumType.TIEBREAK_MIN, "max": TiebreakEnumType.TIEBREAK_MAX, } def roll_rank(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1270:20: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... "min": TiebreakEnumType.TIEBREAK_MIN, "max": TiebreakEnumType.TIEBREAK_MAX, } def roll_rank(const float64_t[:] values, ndarray[int64_t] start, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1270:41: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... "max": TiebreakEnumType.TIEBREAK_MAX, } def roll_rank(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp, bint percentile, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1271:14: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... "max": TiebreakEnumType.TIEBREAK_MAX, } def roll_rank(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp, bint percentile, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1271:36: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(output) def roll_apply(object obj, ndarray[int64_t] start, ndarray[int64_t] end, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1380:15: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(output) def roll_apply(object obj, ndarray[int64_t] start, ndarray[int64_t] end, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1380:39: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return np.asarray(output) def roll_apply(object obj, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1381:15: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling sum and mean for weighted window def roll_weighted_sum( const float64_t[:] values, const float64_t[:] weights, int minp ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1423:10: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling sum and mean for weighted window def roll_weighted_sum( const float64_t[:] values, const float64_t[:] weights, int minp ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1423:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) -> np.ndarray: return _roll_weighted_sum_mean(values, weights, minp, avg=0) def roll_weighted_mean( const float64_t[:] values, const float64_t[:] weights, int minp ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1429:10: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) -> np.ndarray: return _roll_weighted_sum_mean(values, weights, minp, avg=0) def roll_weighted_mean( const float64_t[:] values, const float64_t[:] weights, int minp ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1429:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... const float64_t[:] values, const float64_t[:] weights, int minp ) -> np.ndarray: return _roll_weighted_sum_mean(values, weights, minp, avg=1) cdef float64_t[:] _roll_weighted_sum_mean(const float64_t[:] values, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1434:5: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... const float64_t[:] values, const float64_t[:] weights, int minp ) -> np.ndarray: return _roll_weighted_sum_mean(values, weights, minp, avg=1) cdef float64_t[:] _roll_weighted_sum_mean(const float64_t[:] values, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1434:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) -> np.ndarray: return _roll_weighted_sum_mean(values, weights, minp, avg=1) cdef float64_t[:] _roll_weighted_sum_mean(const float64_t[:] values, const float64_t[:] weights, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1435:48: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling var for weighted window cdef inline float64_t calc_weighted_var(float64_t t, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1508:12: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling var for weighted window cdef inline float64_t calc_weighted_var(float64_t t, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1508:40: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Rolling var for weighted window cdef inline float64_t calc_weighted_var(float64_t t, float64_t sum_w, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1509:40: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline float64_t calc_weighted_var(float64_t t, float64_t sum_w, Py_ssize_t win_n, unsigned int ddof, float64_t nobs, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1512:40: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline float64_t calc_weighted_var(float64_t t, float64_t sum_w, Py_ssize_t win_n, unsigned int ddof, float64_t nobs, int64_t minp) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1513:40: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = NaN return result cdef inline void add_weighted_var(float64_t val, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1559:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_weighted_var(float64_t val, float64_t w, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1560:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return result cdef inline void add_weighted_var(float64_t val, float64_t w, float64_t *t, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1561:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_weighted_var(float64_t val, float64_t w, float64_t *t, float64_t *sum_w, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1562:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_weighted_var(float64_t val, float64_t w, float64_t *t, float64_t *sum_w, float64_t *mean, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1563:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_weighted_var(float64_t val, float64_t w, float64_t *t, float64_t *sum_w, float64_t *mean, float64_t *nobs) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1564:34: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... mean[0] = mean[0] + r t[0] = t[0] + r * sum_w[0] * q sum_w[0] = temp cdef inline void remove_weighted_var(float64_t val, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1605:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... t[0] = t[0] + r * sum_w[0] * q sum_w[0] = temp cdef inline void remove_weighted_var(float64_t val, float64_t w, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1606:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sum_w[0] = temp cdef inline void remove_weighted_var(float64_t val, float64_t w, float64_t *t, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1607:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_weighted_var(float64_t val, float64_t w, float64_t *t, float64_t *sum_w, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1608:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_weighted_var(float64_t val, float64_t w, float64_t *t, float64_t *sum_w, float64_t *mean, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1609:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_weighted_var(float64_t val, float64_t w, float64_t *t, float64_t *sum_w, float64_t *mean, float64_t *nobs) nogil: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1610:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... t[0] = 0 sum_w[0] = 0 mean[0] = 0 def roll_weighted_var(const float64_t[:] values, const float64_t[:] weights, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1655:28: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... t[0] = 0 sum_w[0] = 0 mean[0] = 0 def roll_weighted_var(const float64_t[:] values, const float64_t[:] weights, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1655:55: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... sum_w[0] = 0 mean[0] = 0 def roll_weighted_var(const float64_t[:] values, const float64_t[:] weights, int64_t minp, unsigned int ddof): ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1656:22: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Exponentially weighted moving def ewm(const float64_t[:] vals, const int64_t[:] start, const int64_t[:] end, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1727:14: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Exponentially weighted moving def ewm(const float64_t[:] vals, const int64_t[:] start, const int64_t[:] end, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1727:39: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Exponentially weighted moving def ewm(const float64_t[:] vals, const int64_t[:] start, const int64_t[:] end, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1727:63: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Exponentially weighted moving def ewm(const float64_t[:] vals, const int64_t[:] start, const int64_t[:] end, int minp, float64_t com, bint adjust, bint ignore_na, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1728:18: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # ---------------------------------------------------------------------- # Exponentially weighted moving def ewm(const float64_t[:] vals, const int64_t[:] start, const int64_t[:] end, int minp, float64_t com, bint adjust, bint ignore_na, const float64_t[:] deltas=None, bint normalize=True) -> np.ndarray: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1729:14: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... output[s:e] = sub_output return output def ewmcov(const float64_t[:] input_x, const int64_t[:] start, const int64_t[:] end, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1823:17: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... output[s:e] = sub_output return output def ewmcov(const float64_t[:] input_x, const int64_t[:] start, const int64_t[:] end, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1823:45: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... output[s:e] = sub_output return output def ewmcov(const float64_t[:] input_x, const int64_t[:] start, const int64_t[:] end, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1823:69: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return output def ewmcov(const float64_t[:] input_x, const int64_t[:] start, const int64_t[:] end, int minp, const float64_t[:] input_y, float64_t com, bint adjust, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1824:27: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return output def ewmcov(const float64_t[:] input_x, const int64_t[:] start, const int64_t[:] end, int minp, const float64_t[:] input_y, float64_t com, bint adjust, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1824:49: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline float64_t calc_sum(int64_t minp, int64_t nobs, float64_t sum_x, int64_t num_consecutive_same_value, float64_t prev_value ) nogil: cdef: float64_t result ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:77:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t *compensation, int64_t *num_consecutive_same_value, float64_t *prev_value) nogil: """ add a value from the sum calc using Kahan summation """ cdef: float64_t y, t ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:98:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_sum(float64_t val, int64_t *nobs, float64_t *sum_x, float64_t *compensation) nogil: """ remove a value from the sum calc using Kahan summation """ cdef: float64_t y, t ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:122:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def roll_sum(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: Py_ssize_t i, j float64_t sum_x, compensation_add, compensation_remove, prev_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:137:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def roll_sum(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: Py_ssize_t i, j float64_t sum_x, compensation_add, compensation_remove, prev_value int64_t s, e, num_consecutive_same_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:138:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: Py_ssize_t i, j float64_t sum_x, compensation_add, compensation_remove, prev_value int64_t s, e, num_consecutive_same_value int64_t nobs = 0, N = len(start) ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:139:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j float64_t sum_x, compensation_add, compensation_remove, prev_value int64_t s, e, num_consecutive_same_value int64_t nobs = 0, N = len(start) ndarray[float64_t] output ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:140:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline float64_t calc_mean(int64_t minp, Py_ssize_t nobs, Py_ssize_t neg_ct, float64_t sum_x, int64_t num_consecutive_same_value, float64_t prev_value) nogil: cdef: float64_t result ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:194:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_mean(float64_t val, Py_ssize_t *nobs, float64_t *sum_x, Py_ssize_t *neg_ct, float64_t *compensation, int64_t *num_consecutive_same_value, float64_t *prev_value) nogil: """ add a value from the mean calc using Kahan summation """ cdef: float64_t y, t ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:218:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_mean(float64_t val, Py_ssize_t *nobs, float64_t *sum_x, Py_ssize_t *neg_ct, float64_t *compensation) nogil: """ remove a value from the mean calc using Kahan summation """ cdef: float64_t y, t ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:243:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def roll_mean(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: float64_t val, compensation_add, compensation_remove, sum_x, prev_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:258:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def roll_mean(const float64_t[:] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: float64_t val, compensation_add, compensation_remove, sum_x, prev_value int64_t s, e, num_consecutive_same_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:259:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: float64_t val, compensation_add, compensation_remove, sum_x, prev_value int64_t s, e, num_consecutive_same_value Py_ssize_t nobs, i, j, neg_ct, N = len(start) ndarray[float64_t] output ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:261:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline float64_t calc_var(int64_t minp, int ddof, float64_t nobs, float64_t ssqdm_x, int64_t num_consecutive_same_value) nogil: cdef: float64_t result ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:316:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void add_var(float64_t val, float64_t *nobs, float64_t *mean_x, float64_t *ssqdm_x, float64_t *compensation, int64_t *num_consecutive_same_value, float64_t *prev_value) nogil: """ add a value from the var calc """ cdef: float64_t delta, prev_mean, y, t ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:337:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline void remove_var(float64_t val, float64_t *nobs, float64_t *mean_x, float64_t *ssqdm_x, float64_t *compensation) nogil: """ remove a value from the var calc """ cdef: float64_t delta, prev_mean, y, t ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:372:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] end, int64_t minp, int ddof=1) -> np.ndarray: """ Numerically stable implementation using Welford's method. """ cdef: float64_t mean_x, ssqdm_x, nobs, compensation_add, ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:397:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ Numerically stable implementation using Welford's method. """ cdef: float64_t mean_x, ssqdm_x, nobs, compensation_add, float64_t compensation_remove, prev_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:398:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Numerically stable implementation using Welford's method. """ cdef: float64_t mean_x, ssqdm_x, nobs, compensation_add, float64_t compensation_remove, prev_value int64_t s, e, num_consecutive_same_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:399:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: float64_t mean_x, ssqdm_x, nobs, compensation_add, float64_t compensation_remove, prev_value int64_t s, e, num_consecutive_same_value Py_ssize_t i, j, N = len(start) ndarray[float64_t] output ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:401:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef inline float64_t calc_skew(int64_t minp, int64_t nobs, float64_t x, float64_t xx, float64_t xxx, int64_t num_consecutive_same_value ) nogil: cdef: float64_t result, dnobs ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:463:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t x, float64_t xx, float64_t xxx, int64_t num_consecutive_same_value ) nogil: cdef: float64_t result, dnobs float64_t A, B, C, R ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:464:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t *num_consecutive_same_value, float64_t *prev_value, ) nogil: """ add a value from the skew calc """ cdef: float64_t y, t ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:510:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t *compensation_x, float64_t *compensation_xx, float64_t *compensation_xxx) nogil: """ remove a value from the skew calc """ cdef: float64_t y, t ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:546:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def roll_skew(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: Py_ssize_t i, j float64_t val, prev, min_val, mean_val, sum_val = 0 ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:570:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def roll_skew(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: Py_ssize_t i, j float64_t val, prev, min_val, mean_val, sum_val = 0 float64_t compensation_xxx_add, compensation_xxx_remove ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:571:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: Py_ssize_t i, j float64_t val, prev, min_val, mean_val, sum_val = 0 float64_t compensation_xxx_add, compensation_xxx_remove float64_t compensation_xx_add, compensation_xx_remove ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:572:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j float64_t val, prev, min_val, mean_val, sum_val = 0 float64_t compensation_xxx_add, compensation_xxx_remove float64_t compensation_xx_add, compensation_xx_remove float64_t compensation_x_add, compensation_x_remove ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:573:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, j float64_t val, prev, min_val, mean_val, sum_val = 0 float64_t compensation_xxx_add, compensation_xxx_remove float64_t compensation_xx_add, compensation_xx_remove float64_t compensation_x_add, compensation_x_remove float64_t x, xx, xxx ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:574:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t val, prev, min_val, mean_val, sum_val = 0 float64_t compensation_xxx_add, compensation_xxx_remove float64_t compensation_xx_add, compensation_xx_remove float64_t compensation_x_add, compensation_x_remove float64_t x, xx, xxx float64_t prev_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:575:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t compensation_xxx_add, compensation_xxx_remove float64_t compensation_xx_add, compensation_xx_remove float64_t compensation_x_add, compensation_x_remove float64_t x, xx, xxx float64_t prev_value int64_t nobs = 0, N = len(start), V = len(values), nobs_mean = 0 ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:576:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t compensation_xx_add, compensation_xx_remove float64_t compensation_x_add, compensation_x_remove float64_t x, xx, xxx float64_t prev_value int64_t nobs = 0, N = len(start), V = len(values), nobs_mean = 0 int64_t s, e, num_consecutive_same_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:577:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t compensation_x_add, compensation_x_remove float64_t x, xx, xxx float64_t prev_value int64_t nobs = 0, N = len(start), V = len(values), nobs_mean = 0 int64_t s, e, num_consecutive_same_value ndarray[float64_t] output, mean_array, values_copy ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:578:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t x, float64_t xx, float64_t xxx, float64_t xxxx, int64_t num_consecutive_same_value, ) nogil: cdef: float64_t result, dnobs ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:662:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t xxx, float64_t xxxx, int64_t num_consecutive_same_value, ) nogil: cdef: float64_t result, dnobs float64_t A, B, C, D, R, K ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:663:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t *num_consecutive_same_value, float64_t *prev_value ) nogil: """ add a value from the kurotic calc """ cdef: float64_t y, t ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:714:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t *compensation_xx, float64_t *compensation_xxx, float64_t *compensation_xxxx) nogil: """ remove a value from the kurotic calc """ cdef: float64_t y, t ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:755:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def roll_kurt(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: Py_ssize_t i, j float64_t val, prev, mean_val, min_val, sum_val = 0 ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:783:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def roll_kurt(ndarray[float64_t] values, ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: Py_ssize_t i, j float64_t val, prev, mean_val, min_val, sum_val = 0 float64_t compensation_xxxx_add, compensation_xxxx_remove ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:784:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: Py_ssize_t i, j float64_t val, prev, mean_val, min_val, sum_val = 0 float64_t compensation_xxxx_add, compensation_xxxx_remove float64_t compensation_xxx_remove, compensation_xxx_add ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:785:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j float64_t val, prev, mean_val, min_val, sum_val = 0 float64_t compensation_xxxx_add, compensation_xxxx_remove float64_t compensation_xxx_remove, compensation_xxx_add float64_t compensation_xx_remove, compensation_xx_add ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:786:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, j float64_t val, prev, mean_val, min_val, sum_val = 0 float64_t compensation_xxxx_add, compensation_xxxx_remove float64_t compensation_xxx_remove, compensation_xxx_add float64_t compensation_xx_remove, compensation_xx_add float64_t compensation_x_remove, compensation_x_add ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:787:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t val, prev, mean_val, min_val, sum_val = 0 float64_t compensation_xxxx_add, compensation_xxxx_remove float64_t compensation_xxx_remove, compensation_xxx_add float64_t compensation_xx_remove, compensation_xx_add float64_t compensation_x_remove, compensation_x_add float64_t x, xx, xxx, xxxx ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:788:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t compensation_xxxx_add, compensation_xxxx_remove float64_t compensation_xxx_remove, compensation_xxx_add float64_t compensation_xx_remove, compensation_xx_add float64_t compensation_x_remove, compensation_x_add float64_t x, xx, xxx, xxxx float64_t prev_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:789:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t compensation_xxx_remove, compensation_xxx_add float64_t compensation_xx_remove, compensation_xx_add float64_t compensation_x_remove, compensation_x_add float64_t x, xx, xxx, xxxx float64_t prev_value int64_t nobs, s, e, num_consecutive_same_value ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:790:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t compensation_xx_remove, compensation_xx_add float64_t compensation_x_remove, compensation_x_add float64_t x, xx, xxx, xxxx float64_t prev_value int64_t nobs, s, e, num_consecutive_same_value int64_t N = len(start), V = len(values), nobs_mean = 0 ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:791:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t compensation_x_remove, compensation_x_add float64_t x, xx, xxx, xxxx float64_t prev_value int64_t nobs, s, e, num_consecutive_same_value int64_t N = len(start), V = len(values), nobs_mean = 0 ndarray[float64_t] output, values_copy ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:792:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] end, int64_t minp) -> np.ndarray: cdef: Py_ssize_t i, j bint err = False, is_monotonic_increasing_bounds int midpoint, ret = 0 int64_t nobs = 0, N = len(start), s, e, win ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:879:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j bint err = False, is_monotonic_increasing_bounds int midpoint, ret = 0 int64_t nobs = 0, N = len(start), s, e, win float64_t val, res, prev ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:880:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint err = False, is_monotonic_increasing_bounds int midpoint, ret = 0 int64_t nobs = 0, N = len(start), s, e, win float64_t val, res, prev skiplist_t *sl ndarray[float64_t] output ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:882:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] endi, int64_t minp, bint is_max): cdef: numeric_t ai int64_t curr_win_size, start ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1066:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint is_max): cdef: numeric_t ai int64_t curr_win_size, start Py_ssize_t i, k, nobs = 0, N = len(starti) deque Q[int64_t] # min/max always the front ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1068:8: 'deque' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bint is_max): cdef: numeric_t ai int64_t curr_win_size, start Py_ssize_t i, k, nobs = 0, N = len(starti) deque Q[int64_t] # min/max always the front ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1068:16: 'int64_t' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... bint is_max): cdef: numeric_t ai int64_t curr_win_size, start Py_ssize_t i, k, nobs = 0, N = len(starti) deque Q[int64_t] # min/max always the front ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1068:16: Not allowed in a constant expression Error compiling Cython file: ------------------------------------------------------------ ... bint is_max): cdef: numeric_t ai int64_t curr_win_size, start Py_ssize_t i, k, nobs = 0, N = len(starti) deque Q[int64_t] # min/max always the front ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1068:16: Array dimension not integer Error compiling Cython file: ------------------------------------------------------------ ... cdef: numeric_t ai int64_t curr_win_size, start Py_ssize_t i, k, nobs = 0, N = len(starti) deque Q[int64_t] # min/max always the front deque W[int64_t] # track the whole window for nobs compute ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1069:8: 'deque' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: numeric_t ai int64_t curr_win_size, start Py_ssize_t i, k, nobs = 0, N = len(starti) deque Q[int64_t] # min/max always the front deque W[int64_t] # track the whole window for nobs compute ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1069:16: 'int64_t' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: numeric_t ai int64_t curr_win_size, start Py_ssize_t i, k, nobs = 0, N = len(starti) deque Q[int64_t] # min/max always the front deque W[int64_t] # track the whole window for nobs compute ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1069:16: Not allowed in a constant expression Error compiling Cython file: ------------------------------------------------------------ ... cdef: numeric_t ai int64_t curr_win_size, start Py_ssize_t i, k, nobs = 0, N = len(starti) deque Q[int64_t] # min/max always the front deque W[int64_t] # track the whole window for nobs compute ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1069:16: Array dimension not integer Error compiling Cython file: ------------------------------------------------------------ ... numeric_t ai int64_t curr_win_size, start Py_ssize_t i, k, nobs = 0, N = len(starti) deque Q[int64_t] # min/max always the front deque W[int64_t] # track the whole window for nobs compute ndarray[float64_t, ndim=1] output ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1070:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... O(N log(window)) implementation using skip list """ cdef: Py_ssize_t i, j, s, e, N = len(start), idx int ret = 0 int64_t nobs = 0, win ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1152:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, j, s, e, N = len(start), idx int ret = 0 int64_t nobs = 0, win float64_t val, prev, midpoint, idx_with_fraction ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1153:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j, s, e, N = len(start), idx int ret = 0 int64_t nobs = 0, win float64_t val, prev, midpoint, idx_with_fraction float64_t vlow, vhigh ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1154:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t nobs = 0, win float64_t val, prev, midpoint, idx_with_fraction float64_t vlow, vhigh skiplist_t *skiplist InterpolationType interpolation_type ndarray[float64_t] output ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1157:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... derived from roll_quantile """ cdef: Py_ssize_t i, j, s, e, N = len(start), idx float64_t rank_min = 0, rank = 0 ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1280:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... derived from roll_quantile """ cdef: Py_ssize_t i, j, s, e, N = len(start), idx float64_t rank_min = 0, rank = 0 int64_t nobs = 0, win ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1281:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, j, s, e, N = len(start), idx float64_t rank_min = 0, rank = 0 int64_t nobs = 0, win float64_t val ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1282:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, j, s, e, N = len(start), idx float64_t rank_min = 0, rank = 0 int64_t nobs = 0, win float64_t val skiplist_t *skiplist float64_t[::1] output ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1284:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray[int64_t] start, ndarray[int64_t] end, int64_t minp, object function, bint raw, tuple args, dict kwargs) -> np.ndarray: cdef: ndarray[float64_t] output, counts ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1385:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t minp, object function, bint raw, tuple args, dict kwargs) -> np.ndarray: cdef: ndarray[float64_t] output, counts ndarray[float64_t, cast=True] arr ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1386:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int minp, bint avg): """ Assume len(weights) << len(values) """ cdef: float64_t[:] output, tot_wgt, counts ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1441:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Assume len(weights) << len(values) """ cdef: float64_t[:] output, tot_wgt, counts Py_ssize_t in_i, win_i, win_n, in_n float64_t val_in, val_win, c, w ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1443:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result : float64_t weighted variance of the window """ cdef: float64_t result ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1541:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... nobs: float64_t number of observations """ cdef: float64_t temp, q, r ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1589:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... nobs: float64_t number of observations """ cdef: float64_t temp, q, r ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1635:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... output: float64_t[:] weighted variances of windows """ cdef: float64_t t = 0, sum_w = 0, mean = 0, nobs = 0 ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1682:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... weighted variances of windows """ cdef: float64_t t = 0, sum_w = 0, mean = 0, nobs = 0 float64_t val, pre_val, w, pre_w ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1683:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: float64_t t = 0, sum_w = 0, mean = 0, nobs = 0 float64_t val, pre_val, w, pre_w Py_ssize_t i, n, win_n float64_t[:] output ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1685:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... np.ndarray[float64_t] """ cdef: Py_ssize_t i, j, s, e, nobs, win_size, N = len(vals), M = len(start) const float64_t[:] sub_vals ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1754:14: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, j, s, e, nobs, win_size, N = len(vals), M = len(start) const float64_t[:] sub_vals const float64_t[:] sub_deltas=None ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1755:14: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j, s, e, nobs, win_size, N = len(vals), M = len(start) const float64_t[:] sub_vals const float64_t[:] sub_deltas=None ndarray[float64_t] sub_output, output = np.empty(N, dtype=np.float64) ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1756:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j, s, e, nobs, win_size, N = len(vals), M = len(start) const float64_t[:] sub_vals const float64_t[:] sub_deltas=None ndarray[float64_t] sub_output, output = np.empty(N, dtype=np.float64) float64_t alpha, old_wt_factor, new_wt, weighted, old_wt, cur ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1757:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t i, j, s, e, win_size, nobs Py_ssize_t N = len(input_x), M = len(input_y), L = len(start) float64_t alpha, old_wt_factor, new_wt, mean_x, mean_y, cov ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1849:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j, s, e, win_size, nobs Py_ssize_t N = len(input_x), M = len(input_y), L = len(start) float64_t alpha, old_wt_factor, new_wt, mean_x, mean_y, cov float64_t sum_wt, sum_wt2, old_wt, cur_x, cur_y, old_mean_x, old_mean_y ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1850:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, j, s, e, win_size, nobs Py_ssize_t N = len(input_x), M = len(input_y), L = len(start) float64_t alpha, old_wt_factor, new_wt, mean_x, mean_y, cov float64_t sum_wt, sum_wt2, old_wt, cur_x, cur_y, old_mean_x, old_mean_y float64_t numerator, denominator ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1851:8: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, j, s, e, win_size, nobs Py_ssize_t N = len(input_x), M = len(input_y), L = len(start) float64_t alpha, old_wt_factor, new_wt, mean_x, mean_y, cov float64_t sum_wt, sum_wt2, old_wt, cur_x, cur_y, old_mean_x, old_mean_y float64_t numerator, denominator const float64_t[:] sub_x_vals, sub_y_vals ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1852:14: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t N = len(input_x), M = len(input_y), L = len(start) float64_t alpha, old_wt_factor, new_wt, mean_x, mean_y, cov float64_t sum_wt, sum_wt2, old_wt, cur_x, cur_y, old_mean_x, old_mean_y float64_t numerator, denominator const float64_t[:] sub_x_vals, sub_y_vals ndarray[float64_t] sub_out, output = np.empty(N, dtype=np.float64) ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1853:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(m8values.ndim, m8values.shape, cnp.NPY_OBJECT, 0) object[::1] res_flat = result.ravel() # should NOT be a copy ndarray arr = m8values.view("i8") ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:180:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(m8values.ndim, m8values.shape, cnp.NPY_OBJECT, 0) object[::1] res_flat = result.ravel() # should NOT be a copy ndarray arr = m8values.view("i8") cnp.flatiter it = cnp.PyArray_IterNew(arr) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:181:8: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) except? -1: # Note: this will raise on timedelta64 with Y or M unit cdef: NPY_DATETIMEUNIT in_reso int64_t n ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:237:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- np.timedelta64[ns] """ cdef: NPY_DATETIMEUNIT td64_unit int64_t td64_value, mult ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:296:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Caller is responsible for checking assert unit not in ["Y", "y", "M"] cdef: Py_ssize_t i, n = values.size ndarray result = np.empty((values).shape, dtype="m8[ns]") ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:401:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, n = values.size ndarray result = np.empty((values).shape, dtype="m8[ns]") object item int64_t ival ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:403:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Py_ssize_t i, n = values.size ndarray result = np.empty((values).shape, dtype="m8[ns]") object item int64_t ival cnp.broadcast mi = cnp.PyArray_MultiIterNew2(result, values) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:404:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n = values.size ndarray result = np.empty((values).shape, dtype="m8[ns]") object item int64_t ival cnp.broadcast mi = cnp.PyArray_MultiIterNew2(result, values) cnp.flatiter it ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:405:8: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: unicode c bint neg = 0, have_dot = 0, have_value = 0, have_hhmmss = 0 object current_unit = None int64_t result = 0, m = 0, r ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:495:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... If ``ts`` cannot be parsed """ cdef: unicode c int64_t result = 0, r ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:842:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ) from err @cython.cdivision(False) cdef _Timedelta _as_reso(self, NPY_DATETIMEUNIT reso, bint round_ok=True): cdef: int64_t value, mult, div, mod ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:1550:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return (_timedelta_unpickle, object_state) @cython.cdivision(True) def _round(self, freq, mode): cdef: int64_t result, unit, remainder ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:1730:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.cdivision(True) def _round(self, freq, mode): cdef: int64_t result, unit, remainder ndarray[int64_t] arr ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:1731:12: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... __rmul__ = __mul__ def __truediv__(self, other): cdef: int64_t new_value ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:1821:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return tpl # ---------------------------------------------------------------- # Constructors @classmethod ^ ------------------------------------------------------------ pandas/_libs/tslibs/timedeltas.pyx:1532:4: Compiler crash in EarlyReplaceBuiltinCalls ModuleNode.body = StatListNode(timedeltas.pyx:1:0) StatListNode.stats[44] = StatListNode(timedeltas.pyx:1012:5) StatListNode.stats[0] = CClassDefNode(timedeltas.pyx:1012:5, as_name = '_Timedelta', class_name = '_Timedelta', module_name = '', visibility = 'private') CClassDefNode.body = StatListNode(timedeltas.pyx:1020:4) StatListNode.stats[30] = IndirectionNode(timedeltas.pyx:1533:4) IndirectionNode.stats[0] = SingleAssignmentNode(timedeltas.pyx:1533:4) SingleAssignmentNode.rhs = SimpleCallNode(timedeltas.pyx:1532:4, result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "Cython/Compiler/Visitor.py", line 180, in Cython.Compiler.Visitor.TreeVisitor._visit File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Optimize.py", line 1531, in visit_SimpleCallNode File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Optimize.py", line 1551, in _function_is_builtin_name File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1977, in lookup File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 416, in load_cached File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 371, in load File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 295, in load_utilities_from_file File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Utility/CythonFunction.c Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/timedeltas.pyx Error compiling Cython file: ------------------------------------------------------------ ... cdef extern from "" namespace "std": int signbit(float64_t) nogil float64_t sqrt(float64_t x) nogil cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:24:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... float64_t MINfloat64 = np.NINF float32_t MAXfloat32 = np.inf float64_t MAXfloat64 = np.inf float64_t NaN = np.NaN ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:62:21: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... float64_t prev_value) nogil: cdef: float64_t result if nobs >= minp and nobs > 0: result = sum_x / nobs ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:197:26: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # pathological case & repeatedly same values case if nobs == 1 or num_consecutive_same_value >= nobs: result = 0 else: result = ssqdm_x / (nobs - ddof) ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:325:40: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... >>> ts.normalize() Timestamp('2020-03-14 00:00:00') """ cdef: local_val = self._maybe_convert_value_to_local() int64_t normalized ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:958:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # cython: boundscheck=False, wraparound=False, cdivision=True import numpy as np from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/window/indexers.pyx:5:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef: float64_t result, dnobs float64_t A, B, C, R if nobs >= minp: dnobs = nobs ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:467:17: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Timestamp('2020-03-14 00:00:00') """ cdef: local_val = self._maybe_convert_value_to_local() int64_t normalized int64_t ppd = periods_per_day(self._reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:959:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # cython: boundscheck=False, wraparound=False, cdivision=True import numpy as np from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/window/indexers.pyx:5:0: 'numpy/int64_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # Conversion Methods @cython.cdivision(False) cdef _Timestamp _as_reso(self, NPY_DATETIMEUNIT reso, bint round_ok=True): cdef: int64_t value, mult, div, mod ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:1111:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # cython: boundscheck=False, wraparound=False, cdivision=True import numpy as np from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/window/indexers.pyx:5:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # Cython routines for window indexers def calculate_variable_window_bounds( int64_t num_values, ^ ------------------------------------------------------------ pandas/_libs/window/indexers.pyx:14:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Cython routines for window indexers def calculate_variable_window_bounds( int64_t num_values, int64_t window_size, ^ ------------------------------------------------------------ pandas/_libs/window/indexers.pyx:15:4: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t num_values, int64_t window_size, object min_periods, # unused but here to match get_window_bounds signature bint center, str closed, const int64_t[:] index ^ ------------------------------------------------------------ pandas/_libs/window/indexers.pyx:19:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... nobs_mean += 1 sum_val += val mean_val = sum_val / nobs_mean # Other cases would lead to imprecision for smallest values if min_val - mean_val > -1e5: mean_val = round(mean_val) ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:598:23: 'round' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... (ndarray[int64], ndarray[int64]) """ cdef: bint left_closed = False bint right_closed = False ndarray[int64_t, ndim=1] start, end ^ ------------------------------------------------------------ pandas/_libs/window/indexers.pyx:51:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: bint left_closed = False bint right_closed = False ndarray[int64_t, ndim=1] start, end int64_t start_bound, end_bound, index_growth_sign = 1 ^ ------------------------------------------------------------ pandas/_libs/window/indexers.pyx:52:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # GH 42064 46431 # uniform case, force result to be -3. elif num_consecutive_same_value >= nobs: result = -3. else: dnobs = nobs ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:673:21: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # # Mixing pydatetime positional and keyword arguments is forbidden! cdef: _TSObject ts tzinfo_type tzobj ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:1567:12: 'tzinfo_type' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return create_timestamp_from_ts(ts.value, ts.dts, ts.tzinfo, freq, ts.fold) def _round(self, freq, mode, ambiguous='raise', nonexistent='raise'): cdef: int64_t nanos ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:1720:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... NaT """ cdef: npy_datetimestruct dts int64_t value ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:2272:12: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: npy_datetimestruct dts int64_t value object k, v datetime ts_input ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:2274:12: 'datetime' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: npy_datetimestruct dts int64_t value object k, v datetime ts_input tzinfo_type tzobj ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:2275:12: 'tzinfo_type' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... nobs_mean += 1 sum_val += val mean_val = sum_val / nobs_mean # Other cases would lead to imprecision for smallest values if min_val - mean_val > -1e4: mean_val = round(mean_val) ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:812:23: 'round' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... return self._freq # ----------------------------------------------------------------- # Constructors @classmethod ^ ------------------------------------------------------------ pandas/_libs/tslibs/timestamps.pyx:266:4: Compiler crash in EarlyReplaceBuiltinCalls ModuleNode.body = StatListNode(timestamps.pyx:9:0) StatListNode.stats[30] = StatListNode(timestamps.pyx:237:5) StatListNode.stats[0] = CClassDefNode(timestamps.pyx:237:5, as_name = '_Timestamp', class_name = '_Timestamp', module_name = '', visibility = 'private') CClassDefNode.body = StatListNode(timestamps.pyx:240:4) StatListNode.stats[9] = IndirectionNode(timestamps.pyx:267:4) IndirectionNode.stats[0] = SingleAssignmentNode(timestamps.pyx:267:4) SingleAssignmentNode.rhs = SimpleCallNode(timestamps.pyx:266:4, result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "Cython/Compiler/Visitor.py", line 180, in Cython.Compiler.Visitor.TreeVisitor._visit File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Optimize.py", line 1531, in visit_SimpleCallNode File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Optimize.py", line 1551, in _function_is_builtin_name File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 1977, in lookup File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 416, in load_cached File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 371, in load File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 295, in load_utilities_from_file File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Utility/CythonFunction.c Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/timestamps.pyx Error compiling Cython file: ------------------------------------------------------------ ... deque Q[int64_t] # min/max always the front deque W[int64_t] # track the whole window for nobs compute ndarray[float64_t, ndim=1] output output = np.empty(N, dtype=np.float64) Q = deque[int64_t]() ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1073:8: 'deque' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... deque Q[int64_t] # min/max always the front deque W[int64_t] # track the whole window for nobs compute ndarray[float64_t, ndim=1] output output = np.empty(N, dtype=np.float64) Q = deque[int64_t]() ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1073:14: 'int64_t' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... deque W[int64_t] # track the whole window for nobs compute ndarray[float64_t, ndim=1] output output = np.empty(N, dtype=np.float64) Q = deque[int64_t]() W = deque[int64_t]() ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1074:8: 'deque' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... deque W[int64_t] # track the whole window for nobs compute ndarray[float64_t, ndim=1] output output = np.empty(N, dtype=np.float64) Q = deque[int64_t]() W = deque[int64_t]() ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1074:14: 'int64_t' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... start = starti[i] else: start = endi[i - 1] for k in range(start, endi[i]): ai = init_mm(values[k], &nobs, is_max) ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1097:28: Cannot coerce to a type that is not specialized Error compiling Cython file: ------------------------------------------------------------ ... for k in range(start, endi[i]): ai = init_mm(values[k], &nobs, is_max) # Discard previous entries if we find new min or max if is_max: while not Q.empty() and ((ai >= values[Q.back()]) or ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1100:58: Cannot coerce to a type that is not specialized Error compiling Cython file: ------------------------------------------------------------ ... if is_max: while not Q.empty() and ((ai >= values[Q.back()]) or values[Q.back()] != values[Q.back()]): Q.pop_back() else: while not Q.empty() and ((ai <= values[Q.back()]) or ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1104:58: Cannot coerce to a type that is not specialized Error compiling Cython file: ------------------------------------------------------------ ... # we need to make both interval ends inclusive. if center and window_size % 2 == 1: right_closed = True left_closed = True if index[num_values - 1] < index[0]: ^ ------------------------------------------------------------ pandas/_libs/window/indexers.pyx:76:24: Compiler crash in OptimizeBuiltinCalls ModuleNode.body = StatListNode(indexers.pyx:3:0) StatListNode.stats[2] = StatListNode(indexers.pyx:13:0) StatListNode.stats[0] = DefNode(indexers.pyx:13:0, doc = '\n Calculate window boundaries for rolling windows from a time offset.\n\n Parameters\n ----------\n num_values : int64\n total number of values\n\n window_size : int64\n window size calculated from the offset\n\n min_periods : object\n ignored, exists for compatibility\n\n center : bint\n center the rolling window on the current observation\n\n closed : str\n string of side of the window that should be closed\n\n index : ndarray[int64]\n time series index to roll over\n\n Returns\n -------\n (ndarray[int64], ndarray[int64])\n ', modifiers = [...]/0, name = 'calculate_variable_window_bounds', np_args_idx = [...]/0, num_required_args = 6, outer_attrs = [...]/2, py_wrapper_required = True, reqd_kw_flags_cname = '0', used = True) DefNode.body = StatListNode(indexers.pyx:21:4, is_terminator = True) StatListNode.stats[6] = StatListNode(indexers.pyx:76:4) StatListNode.stats[0] = IfStatNode(indexers.pyx:76:4) IfStatNode.if_clauses[0] = IfClauseNode(indexers.pyx:76:7) IfClauseNode.condition = CoerceToTempNode(indexers.pyx:76:29, is_temp = 1, result_is_used = True, use_managed_ref = True) CoerceToTempNode.arg = CoerceToBooleanNode(indexers.pyx:76:29, result_is_used = True, use_managed_ref = True) CoerceToBooleanNode.arg = PrimaryCmpNode(indexers.pyx:76:29, operator = '<', result_is_used = True, use_managed_ref = True) PrimaryCmpNode.operand1 = IndexNode(indexers.pyx:76:12, is_subscript = True, result_is_used = True, use_managed_ref = True) IndexNode.index = SubNode(indexers.pyx:76:24, infix = True, operator = '-', result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "Cython/Compiler/Visitor.py", line 180, in Cython.Compiler.Visitor.TreeVisitor._visit File "Cython/Compiler/Visitor.py", line 531, in Cython.Compiler.Visitor.MethodDispatcherTransform.visit_BinopNode File "Cython/Compiler/Visitor.py", line 545, in Cython.Compiler.Visitor.MethodDispatcherTransform._visit_binop_node AttributeError: 'NoneType' object has no attribute 'is_builtin_type' Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/window/indexers.pyx Error compiling Cython file: ------------------------------------------------------------ ... else: output[i] = skiplist_get(skiplist, idx + 1, &ret) elif interpolation_type == MIDPOINT: vlow = skiplist_get(skiplist, idx, &ret) vhigh = skiplist_get(skiplist, idx + 1, &ret) output[i] = (vlow + vhigh) / 2 ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1251:37: 'float64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np from cpython cimport ( ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:4:0: 'cpython.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np from cpython cimport ( ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:4:0: 'cpython/PyBytes_GET_SIZE.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport cython import numpy as np from cpython cimport ( ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:4:0: 'cpython/PyUnicode_GET_LENGTH.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython cimport ( PyBytes_GET_SIZE, PyUnicode_GET_LENGTH, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:8:0: 'numpy.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython cimport ( PyBytes_GET_SIZE, PyUnicode_GET_LENGTH, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:8:0: 'numpy/ndarray.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from cpython cimport ( PyBytes_GET_SIZE, PyUnicode_GET_LENGTH, ) from numpy cimport ( ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:8:0: 'numpy/uint8_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def write_csv_rows( list data, ndarray data_index, ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:22:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... @cython.wraparound(False) def write_csv_rows( list data, ndarray data_index, Py_ssize_t nlevels, ndarray cols, ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:24:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... start = starti[i] else: start = endi[i - 1] for k in range(start, endi[i]): ai = init_mm(values[k], &nobs, is_max) ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1097:16: Invalid use of fused types, type cannot be specialized Error compiling Cython file: ------------------------------------------------------------ ... for k in range(start, endi[i]): ai = init_mm(values[k], &nobs, is_max) # Discard previous entries if we find new min or max if is_max: while not Q.empty() and ((ai >= values[Q.back()]) or ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1100:46: Invalid use of fused types, type cannot be specialized Error compiling Cython file: ------------------------------------------------------------ ... if is_max: while not Q.empty() and ((ai >= values[Q.back()]) or values[Q.back()] != values[Q.back()]): Q.pop_back() else: while not Q.empty() and ((ai <= values[Q.back()]) or ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:1104:46: Invalid use of fused types, type cannot be specialized Error compiling Cython file: ------------------------------------------------------------ ... # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_OBJECT, 0) object[::1] res_flat = result.ravel() # should NOT be a copy cnp.flatiter it = cnp.PyArray_IterNew(stamps) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:151:8: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ndarray stamps, tzinfo tz=None, NPY_DATETIMEUNIT reso=NPY_FR_ns ) -> Resolution: # stamps is int64_t, any ndim cdef: Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:239:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val Py_ssize_t i, n = stamps.size Py_ssize_t pos = -1 # unused, avoid not-initialized warning cnp.flatiter it = cnp.PyArray_IterNew(stamps) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:242:8: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- result : int64 ndarray of converted of normalized nanosecond timestamps """ cdef: Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val, res_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:291:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val, res_val Py_ssize_t i, n = stamps.size Py_ssize_t pos = -1 # unused, avoid not-initialized warning ndarray result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:295:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... int64_t utc_val, local_val, res_val Py_ssize_t i, n = stamps.size Py_ssize_t pos = -1 # unused, avoid not-initialized warning ndarray result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_INT64, 0) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(result, stamps) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:296:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n = stamps.size Py_ssize_t pos = -1 # unused, avoid not-initialized warning ndarray result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_INT64, 0) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(result, stamps) int64_t ppd = periods_per_day(reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:297:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ------- is_normalized : bool True if all stamps are normalized """ cdef: Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:338:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef: Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val Py_ssize_t i, n = stamps.size Py_ssize_t pos = -1 # unused, avoid not-initialized warning cnp.flatiter it = cnp.PyArray_IterNew(stamps) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:341:8: 'flatiter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Localizer info = Localizer(tz, reso=reso) int64_t utc_val, local_val Py_ssize_t i, n = stamps.size Py_ssize_t pos = -1 # unused, avoid not-initialized warning cnp.flatiter it = cnp.PyArray_IterNew(stamps) int64_t ppd = periods_per_day(reso) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:342:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # stamps is int64_t, arbitrary ndim cdef: Localizer info = Localizer(tz, reso=reso) Py_ssize_t i, n = stamps.size Py_ssize_t pos = -1 # unused, avoid not-initialized warning int64_t utc_val, local_val, res_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:371:8: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t i, n = stamps.size Py_ssize_t pos = -1 # unused, avoid not-initialized warning int64_t utc_val, local_val, res_val npy_datetimestruct dts ndarray result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:374:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t pos = -1 # unused, avoid not-initialized warning int64_t utc_val, local_val, res_val npy_datetimestruct dts ndarray result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_INT64, 0) cnp.broadcast mi = cnp.PyArray_MultiIterNew2(result, stamps) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:375:8: 'broadcast' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... for i in range(0, N): s = start[i] e = end[i] if i == 0 or not is_monotonic_increasing_bounds or s >= end[i - 1]: ^ ------------------------------------------------------------ pandas/_libs/window/aggregations.pyx:154:74: Compiler crash in OptimizeBuiltinCalls ModuleNode.body = StatListNode(aggregations.pyx:3:0) StatListNode.stats[17] = StatListNode(aggregations.pyx:133:0) StatListNode.stats[0] = DefNode(aggregations.pyx:133:0, modifiers = [...]/0, name = 'roll_sum', np_args_idx = [...]/0, num_required_args = 4, outer_attrs = [...]/2, py_wrapper_required = True, reqd_kw_flags_cname = '0', used = True) DefNode.body = StatListNode(aggregations.pyx:135:4, is_terminator = True) StatListNode.stats[3] = StatListNode(aggregations.pyx:148:9) StatListNode.stats[0] = GILStatNode(aggregations.pyx:148:9, handle_error_case = True, state = 'nogil') GILStatNode.body = StatListNode(aggregations.pyx:150:8) StatListNode.stats[0] = LetNode(aggregations.pyx:150:8) LetNode.body = ForFromStatNode(aggregations.pyx:150:8, from_range = True, relation1 = '<=', relation2 = '<') ForFromStatNode.body = StatListNode(aggregations.pyx:151:12) StatListNode.stats[2] = IfStatNode(aggregations.pyx:154:12) IfStatNode.if_clauses[0] = IfClauseNode(aggregations.pyx:154:15) IfClauseNode.condition = BoolBinopNode(aggregations.pyx:154:22, is_temp = True, operator = 'or', result_is_used = True, use_managed_ref = True) BoolBinopNode.operand2 = BoolBinopNode(aggregations.pyx:154:60, is_temp = True, operator = 'or', result_is_used = True, use_managed_ref = True) BoolBinopNode.operand2 = BoolBinopResultNode(aggregations.pyx:154:65, is_temp = True, result_is_used = True, use_managed_ref = True) BoolBinopResultNode.arg = ProxyNode(aggregations.pyx:154:65, result_is_used = True, use_managed_ref = True) ProxyNode.arg = CoerceToTempNode(aggregations.pyx:154:65, is_temp = 1, result_is_used = True, use_managed_ref = True) CoerceToTempNode.arg = CoerceToBooleanNode(aggregations.pyx:154:65, result_is_used = True, use_managed_ref = True) CoerceToBooleanNode.arg = PrimaryCmpNode(aggregations.pyx:154:65, operator = '>=', result_is_used = True, use_managed_ref = True) PrimaryCmpNode.operand2 = IndexNode(aggregations.pyx:154:71, is_subscript = True, result_is_used = True, use_managed_ref = True) IndexNode.index = SubNode(aggregations.pyx:154:74, infix = True, operator = '-', result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "Cython/Compiler/Visitor.py", line 180, in Cython.Compiler.Visitor.TreeVisitor._visit File "Cython/Compiler/Visitor.py", line 531, in Cython.Compiler.Visitor.MethodDispatcherTransform.visit_BinopNode File "Cython/Compiler/Visitor.py", line 545, in Cython.Compiler.Visitor.MethodDispatcherTransform._visit_binop_node AttributeError: 'NoneType' object has no attribute 'is_builtin_type' Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/window/aggregations.pyx Error compiling Cython file: ------------------------------------------------------------ ... int64_t, intp_t, ndarray, ) cnp.import_array() ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:18:3: cimported module has no attribute 'import_array' Error compiling Cython file: ------------------------------------------------------------ ... if tz is None or is_utc(tz) or stamps.size == 0: # Much faster than going through the "standard" pattern below return stamps.copy() result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:71:16: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... if tz is None or is_utc(tz) or stamps.size == 0: # Much faster than going through the "standard" pattern below return stamps.copy() result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_INT64, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:71:61: cimported module has no attribute 'NPY_INT64' Error compiling Cython file: ------------------------------------------------------------ ... if tz is None or is_utc(tz) or stamps.size == 0: # Much faster than going through the "standard" pattern below return stamps.copy() result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_INT64, 0) mi = cnp.PyArray_MultiIterNew2(result, stamps) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:72:12: cimported module has no attribute 'PyArray_MultiIterNew2' Error compiling Cython file: ------------------------------------------------------------ ... result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_INT64, 0) mi = cnp.PyArray_MultiIterNew2(result, stamps) for i in range(n): # Analogous to: utc_val = stamps[i] utc_val = (cnp.PyArray_MultiIter_DATA(mi, 1))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:76:20: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_INT64, 0) mi = cnp.PyArray_MultiIterNew2(result, stamps) for i in range(n): # Analogous to: utc_val = stamps[i] utc_val = (cnp.PyArray_MultiIter_DATA(mi, 1))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:76:32: cimported module has no attribute 'PyArray_MultiIter_DATA' Error compiling Cython file: ------------------------------------------------------------ ... local_val = NPY_NAT else: local_val = info.utc_val_to_local_val(utc_val, &pos) # Analogous to: result[i] = local_val (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = local_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:84:10: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... local_val = NPY_NAT else: local_val = info.utc_val_to_local_val(utc_val, &pos) # Analogous to: result[i] = local_val (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = local_val ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:84:22: cimported module has no attribute 'PyArray_MultiIter_DATA' Error compiling Cython file: ------------------------------------------------------------ ... local_val = info.utc_val_to_local_val(utc_val, &pos) # Analogous to: result[i] = local_val (cnp.PyArray_MultiIter_DATA(mi, 0))[0] = local_val cnp.PyArray_MultiIter_NEXT(mi) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:86:11: cimported module has no attribute 'PyArray_MultiIter_NEXT' Error compiling Cython file: ------------------------------------------------------------ ... # Note that `result` (and thus `result_flat`) is C-order and # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:149:28: cimported module has no attribute 'PyArray_EMPTY' Error compiling Cython file: ------------------------------------------------------------ ... # Note that `result` (and thus `result_flat`) is C-order and # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_OBJECT, 0) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:149:73: cimported module has no attribute 'NPY_OBJECT' Error compiling Cython file: ------------------------------------------------------------ ... # `it` iterates C-order as well, so the iteration matches # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 ndarray result = cnp.PyArray_EMPTY(stamps.ndim, stamps.shape, cnp.NPY_OBJECT, 0) object[::1] res_flat = result.ravel() # should NOT be a copy cnp.flatiter it = cnp.PyArray_IterNew(stamps) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:151:29: cimported module has no attribute 'PyArray_IterNew' Error compiling Cython file: ------------------------------------------------------------ ... "box must be one of 'datetime', 'date', 'time' or 'timestamp'" ) for i in range(n): # Analogous to: utc_val = stamps[i] utc_val = (cnp.PyArray_ITER_DATA(it))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:169:20: 'int64_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... "box must be one of 'datetime', 'date', 'time' or 'timestamp'" ) for i in range(n): # Analogous to: utc_val = stamps[i] utc_val = (cnp.PyArray_ITER_DATA(it))[0] ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:169:32: cimported module has no attribute 'PyArray_ITER_DATA' Error compiling Cython file: ------------------------------------------------------------ ... if use_ts: res_val = create_timestamp_from_ts( utc_val, dts, new_tz, freq, fold, reso=reso ) elif use_pydt: res_val = datetime( ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:190:26: 'datetime' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... res_val = datetime( dts.year, dts.month, dts.day, dts.hour, dts.min, dts.sec, dts.us, new_tz, fold=fold, ) elif use_date: res_val = date(dts.year, dts.month, dts.day) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:195:26: 'date' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... new_tz, fold=fold, ) elif use_date: res_val = date(dts.year, dts.month, dts.day) else: res_val = time(dts.hour, dts.min, dts.sec, dts.us, new_tz, fold=fold) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:197:26: 'time' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... # does not seem to work with object dtype. # See discussion at # github.com/pandas-dev/pandas/pull/46886#discussion_r860261305 res_flat[i] = res_val cnp.PyArray_ITER_NEXT(it) ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:207:11: cimported module has no attribute 'PyArray_ITER_NEXT' Error compiling Cython file: ------------------------------------------------------------ ... cdef inline c_Resolution _reso_stamp(npy_datetimestruct *dts): if dts.ps != 0: return c_Resolution.RESO_NS elif dts.us != 0: if dts.us % 1000 == 0: ^ ------------------------------------------------------------ pandas/_libs/tslibs/vectorized.pyx:219:18: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(vectorized.pyx:1:0) StatListNode.stats[17] = StatListNode(vectorized.pyx:215:5) StatListNode.stats[0] = CFuncDefNode(vectorized.pyx:215:5, args = [...]/1, modifiers = [...]/1, visibility = 'private') File 'Nodes.py', line 435, in analyse_expressions: StatListNode(vectorized.pyx:216:4, is_terminator = True) File 'Nodes.py', line 6268, in analyse_expressions: IfStatNode(vectorized.pyx:216:4) File 'Nodes.py', line 6334, in analyse_expressions: IfClauseNode(vectorized.pyx:218:9, is_terminator = True) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(vectorized.pyx:219:8, is_terminator = True) File 'Nodes.py', line 6268, in analyse_expressions: IfStatNode(vectorized.pyx:219:8) File 'Nodes.py', line 6333, in analyse_expressions: IfClauseNode(vectorized.pyx:219:11, is_terminator = True) File 'ExprNodes.py', line 609, in analyse_temp_boolean_expression: PrimaryCmpNode(vectorized.pyx:219:25, operator = '==', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 12595, in analyse_types: PrimaryCmpNode(vectorized.pyx:219:25, operator = '==', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 11052, in analyse_types: ModNode(vectorized.pyx:219:18, infix = True, operator = '%', result_is_used = True, use_managed_ref = True) File 'ExprNodes.py', line 11725, in analyse_operation: ModNode(vectorized.pyx:219:18, infix = True, operator = '%', result_is_used = True, use_managed_ref = True) Compiler crash traceback from this point on: File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 11725, in analyse_operation AttributeError: 'ErrorType' object has no attribute 'signed' Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/tslibs/vectorized.pyx Error compiling Cython file: ------------------------------------------------------------ ... @cython.boundscheck(False) @cython.wraparound(False) def string_array_replace_from_nan_rep( ndarray[object, ndim=1] arr, ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:162:4: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... to quotes & brackets """ cdef: Py_ssize_t i = 0, num_open_brackets_seen = 0, length bint in_quotes = False, is_escaping = False ndarray[uint8_t, ndim=1] narr ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:88:8: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ cdef: Py_ssize_t wlen = 0 if isinstance(val, str): wlen = PyUnicode_GET_LENGTH(val) ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:149:15: 'PyUnicode_GET_LENGTH' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... Py_ssize_t wlen = 0 if isinstance(val, str): wlen = PyUnicode_GET_LENGTH(val) elif isinstance(val, bytes): wlen = PyBytes_GET_SIZE(val) ^ ------------------------------------------------------------ pandas/_libs/writers.pyx:151:15: 'PyBytes_GET_SIZE' is not a constant, variable or function identifier /usr/pkg/lib/python3.10/site-packages/Cython/Utility/Overflow.c Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1218, in cythonize_one File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 731, in compile_single File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Main.py", line 515, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 355, in run_pipeline File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 335, in run File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Pipeline.py", line 52, in generate_pyx_code_stage File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ModuleNode.py", line 143, in process_implementation File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ModuleNode.py", line 385, in generate_c_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 9371, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 4865, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 442, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 3182, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 1986, in generate_function_definitions File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 1748, in generate_function_body File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 448, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 6284, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 6346, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 448, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 6284, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 6346, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 448, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/UtilNodes.py", line 325, in generate_execution_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/UtilNodes.py", line 228, in setup_temp_expr File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 11583, in generate_evaluation_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/ExprNodes.py", line 11602, in generate_div_warning_code File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 416, in load_cached File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 371, in load File "/usr/pkg/lib/python3.10/site-packages/Cython/Compiler/Code.py", line 295, in load_utilities_from_file File "/usr/pkg/lib/python3.10/site-packages/Cython/Utils.py", line 255, in open_source_file FileNotFoundError: /usr/pkg/lib/python3.10/site-packages/Cython/Utility/Overflow.c Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/io/sas/sas.pyx Traceback (most recent call last): File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/writers.pyx multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/usr/pkg/lib/python3.10/multiprocessing/pool.py", line 125, in worker File "/usr/pkg/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1259, in cythonize_one_helper File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1235, in cythonize_one Cython.Compiler.Errors.CompileError: pandas/_libs/hashtable.pyx """[ 2/41] Cythonizing pandas/_libs/arrays.pyx [ 5/41] Cythonizing pandas/_libs/hashtable.pyx [10/41] Cythonizing pandas/_libs/join.pyx [16/41] Cythonizing pandas/_libs/properties.pyx [17/41] Cythonizing pandas/_libs/reduction.pyx [18/41] Cythonizing pandas/_libs/reshape.pyx [20/41] Cythonizing pandas/_libs/testing.pyx [21/41] Cythonizing pandas/_libs/tslib.pyx [27/41] Cythonizing pandas/_libs/tslibs/nattype.pyx [31/41] Cythonizing pandas/_libs/tslibs/period.pyx [36/41] Cythonizing pandas/_libs/tslibs/tzconversion.pyx [38/41] Cythonizing pandas/_libs/window/aggregations.pyx [ 3/41] Cythonizing pandas/_libs/groupby.pyx [11/41] Cythonizing pandas/_libs/lib.pyx [24/41] Cythonizing pandas/_libs/tslibs/conversion.pyx [29/41] Cythonizing pandas/_libs/tslibs/offsets.pyx [33/41] Cythonizing pandas/_libs/tslibs/timedeltas.pyx [39/41] Cythonizing pandas/_libs/window/indexers.pyx [41/41] Cythonizing pandas/io/sas/sas.pyx [ 1/41] Cythonizing pandas/_libs/algos.pyx [14/41] Cythonizing pandas/_libs/ops_dispatch.pyx [15/41] Cythonizing pandas/_libs/parsers.pyx [22/41] Cythonizing pandas/_libs/tslibs/base.pyx [23/41] Cythonizing pandas/_libs/tslibs/ccalendar.pyx [25/41] Cythonizing pandas/_libs/tslibs/dtypes.pyx [26/41] Cythonizing pandas/_libs/tslibs/fields.pyx [30/41] Cythonizing pandas/_libs/tslibs/parsing.pyx [34/41] Cythonizing pandas/_libs/tslibs/timestamps.pyx [40/41] Cythonizing pandas/_libs/writers.pyx The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/tmp/math/py-pandas/work/pandas-1.5.3/setup.py", line 664, in ext_modules=maybe_cythonize(extensions, compiler_directives=directives), File "/tmp/math/py-pandas/work/pandas-1.5.3/setup.py", line 424, in maybe_cythonize return cythonize(extensions, *args, **kwargs) File "/usr/pkg/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1103, in cythonize File "/usr/pkg/lib/python3.10/multiprocessing/pool.py", line 774, in get Cython.Compiler.Errors.CompileError: pandas/_libs/hashtable.pyx *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-pandas *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-pandas