Skip to content

Commit 78c27e8

Browse files
committed
skip no-longer-supported
1 parent 3c70c15 commit 78c27e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

asv_bench/benchmarks/groupby.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,9 @@ class String:
752752
]
753753

754754
def setup(self, dtype, method):
755+
if dtype == "string[python]" and method == "sum":
756+
raise NotImplementedError # skip benchmark
757+
755758
cols = list("abcdefghjkl")
756759
self.df = DataFrame(
757760
np.random.randint(0, 100, size=(10_000, len(cols))),
@@ -760,8 +763,6 @@ def setup(self, dtype, method):
760763
)
761764

762765
def time_str_func(self, dtype, method):
763-
if dtype == "string[python]" and method == "sum":
764-
raise NotImplementedError
765766
self.df.groupby("a")[self.df.columns[1:]].agg(method)
766767

767768

0 commit comments

Comments
 (0)