You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In MOTAccumulator.merge_event_dataframes (Line 443), we use copy.index.map to update index.
When copy is an empty DataFrame, the size of copy.index is 0.
In this situation, copy.index.map will return an object of type Index rather than MultiIndex.
We can fix it by adding if copy.index.size != 0 before copy.index.map
The text was updated successfully, but these errors were encountered:
In
MOTAccumulator.merge_event_dataframes
(Line 443), we usecopy.index.map
to update index.When
copy
is an empty DataFrame, the size ofcopy.index
is 0.In this situation,
copy.index.map
will return an object of typeIndex
rather thanMultiIndex
.We can fix it by adding
if copy.index.size != 0
beforecopy.index.map
The text was updated successfully, but these errors were encountered: