Skip to content

Commit c0e9602

Browse files
Fix typo breaking tests
1 parent 5913fba commit c0e9602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blosc2/proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ def apply(cls, data, func, args, kwargs, decorator, axis):
720720
for row_idx in range(data.shape[1]):
721721
result.append(func(data[:, row_idx], *args, **kwargs))
722722
return np.vstack(result).transpose()
723-
elif axis == (1, "columns"):
723+
elif axis in (1, "columns"):
724724
# pandas apply(axis=1) row-wise
725725
result = []
726726
for col_idx in range(data.shape[0]):

0 commit comments

Comments
 (0)