Skip to content
Commit d0961ca7 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

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.
parent 32cb95b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment