lisa.tests.base: Iterate over Categorical Series rather than .apply()
FIX Series.apply() on a categorical dtype leads to pandas executing the applied function on values that appear in the category but not necessarily in the actual data. This can raise unexpectedly, e.g. on trace slices where the a comm only appears outside the slice.
Loading
Please register or sign in to comment