-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
Description
[16/40] Cythonizing pandas_libs/reduction.pyx
Error compiling Cython file:
...
self.orig_data = self.buf.data
self.orig_len = self.buf.shape[0]
self.orig_stride = self.buf.strides[0]
self.buf.data = self.values.data
^
pandas_libs\reduction.pyx:318:16: Assignment to a read-only property
Error compiling Cython file:
...
cdef move(self, int start, int end):
"""
For slicing
"""
self.buf.data = self.values.data + self.stride * start
^
pandas_libs\reduction.pyx:325:16: Assignment to a read-only property
Error compiling Cython file:
...
self.buf.shape[0] = end - start
cdef reset(self):
self.buf.shape[0] = self.orig_len
self.buf.data = self.orig_data
^
pandas_libs\reduction.pyx:331:16: Assignment to a read-only property
Error compiling Cython file:
...
# move blocks
for i in range(self.nblocks):
arr = self.blocks[i]
# axis=1 is the frame's axis=0
arr.data = self.base_ptrs[i] + arr.strides[1] * start
^
pandas_libs\reduction.pyx:452:15: Assignment to a read-only property
Error compiling Cython file:
...
# reset blocks
for i in range(self.nblocks):
arr = self.blocks[i]
# axis=1 is the frame's axis=0
arr.data = self.base_ptrs[i]
^
pandas_libs\reduction.pyx:472:15: Assignment to a read-only property
Traceback (most recent call last):
File "setup.py", line 791, in
setup_package()
File "setup.py", line 761, in setup_package
ext_modules=maybe_cythonize(extensions, compiler_directives=directives),
File "setup.py", line 540, in maybe_cythonize
return cythonize(extensions, *args, **kwargs)
File "D:\Pickle Examples\examples_aix\example_aix\lib\site-packages\Cython\Build\Dependencies.py", line 1110, in cythonize
cythonize_one(*args)
File "D:\Pickle Examples\examples_aix\example_aix\lib\site-packages\Cython\Build\Dependencies.py", line 1277, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: pandas_libs/reduction.pyx