Skip to content

Commit

Permalink
Allow MultiDimensionalColumns in mapping functions in series module
Browse files Browse the repository at this point in the history
- Bump to 1.0.13
  • Loading branch information
smathot committed Mar 15, 2024
1 parent 4800473 commit 7fb07f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datamatrix/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
from datamatrix._datamatrix._nifticolumn import NiftiColumn
from datamatrix._datamatrix._datamatrix import DataMatrix

__version__ = '1.0.12'
__version__ = '1.0.13'
NAN = float('nan')
INF = float('inf')
2 changes: 1 addition & 1 deletion datamatrix/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ def _map(series, fnc_, **kwdict):
"""

f = lambda a: fnc_(a, **kwdict)
if isinstance(series, _SeriesColumn):
if isinstance(series, _MultiDimensionalColumn):
return fnc.map_(f, series)
if isinstance(series, np.ndarray):
return f(series)
Expand Down

0 comments on commit 7fb07f8

Please sign in to comment.