I have a dataframe that generates from pd.pivot_table with columns having datetime.
I want to calculate the time difference along columns. So I used df.diff(axis=1)
. I got NotImplementedError
.
I came across this pull request in Github: https://github.com/pandas-dev/pandas/pull/19773
I guess the problem has been solved? Why I still get NonImplementedError?