Seems that the pandas 0.23 upgrade must change the default format output by DataFrame.apply, so that this line now generates a Series, not a DataFrame.
Series.apply (this line) does not have an axis parameter, leading to our error:
TypeError: diff_func() got an unexpected keyword argument 'axis'
So just tell DataFrame.apply to produce a dataframe (as I believe was the default in the past) and everything's copacetic. 😌
fixes #54
Seems that the pandas 0.23 upgrade must change the default format output by
DataFrame.apply
, so that this line now generates aSeries
, not aDataFrame
.Series.apply
(this line) does not have anaxis
parameter, leading to our error:So just tell
DataFrame.apply
to produce a dataframe (as I believe was the default in the past) and everything's copacetic. 😌ALL TESTS PASS LOCALLY 🎉