soft-matter/trackpy

level keyword argument was removed in pandas>2.0

Pawelbure opened this issue · 1 comments

Thanks for this very helpful library!
When I run tp.emsd function I run into the following TypeError:
TypeError: mean() got an unexpected keyword argument 'level'

I try to compute it on the following data frame:
output_trackpy

It seems that pandas has removed the level keyword argument from the mean function? Or could I have somehow used the function wrong?

Thanks @Pawelbure for your report. This issue was fixed in #740 and will be released shortly