Skip to content

Commit 6f7b7df

Browse files
authored
Merge pull request #14 from IntuitionEngineeringTeam/bug_fix
Bug fix
2 parents 57a23c8 + aa443ee commit 6f7b7df

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

-1.9 MB
Binary file not shown.

redblackpy/series/series_iterator.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# distutils: language=c++
77
# cython: boundscheck=False
88
# cython: wraparound=False
9-
# cython: binding=True
9+
# cython: binding=False
1010

1111
from libcpp cimport bool
1212
from libcpp.utility cimport pair
@@ -27,6 +27,7 @@ cimport cython
2727
#--------------------------------------------------------------------------------------------
2828
# Iterator-generator on multiple Series
2929
#--------------------------------------------------------------------------------------------
30+
@cython.binding(True)
3031
@cython.embedsignature(True)
3132
cdef class SeriesIterator:
3233
"""

redblackpy/series/tree_series.pyx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# distutils: language=c++
77
# cython: boundscheck=False
88
# cython: wraparound=False
9-
# cython: binding=True
9+
# cython: binding=False
1010
# cython: profile=False
1111
# cython: linetrace=False
1212

@@ -44,14 +44,15 @@ include "../cython_source/tree_series_dtype.pxi"
4444
#--------------------------------------------------------------------------------------------
4545
# Series based on trees
4646
#--------------------------------------------------------------------------------------------
47+
@cython.binding(True)
4748
@cython.embedsignature(True)
4849
cdef class Series:
4950
"""
5051
Mapping data structure based on red-black trees. Provides fast queries:
5152
insertion, deletion, interpolation with no additional memory use, get item by key,
5253
set item by key. It able to keep any Python object or specific numeric type as
53-
values. Key type have to provide compare operators. This structure is addition to
54-
pandas.Series. To proccess ordered, dynamic data in efficient way redblackpy.Series
54+
values. Key type have to provide compare operators.
55+
To proccess ordered, dynamic data in efficient way redblackpy.Series
5556
is a good choise. It supports main numeric types, has builtin to getitem operator (Series[key])
5657
interpolation methods (floor, ceil, near neighboor, linear, keys only),
5758
so we have access at any key even though this key not in index by interpolation

0 commit comments

Comments
 (0)