We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
a shift function similar to https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.shift.html could be useful.
A pct_chg function could be useful also http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.pct_change.html
pct_chg
Kind regard
PS: could help #1
The text was updated successfully, but these errors were encountered:
I believe the lag function is what you're probably looking for, though I can quickly add a shift method to just alias the lag function.
lag
shift
As for percentage changes, you can do diff(log(X)) for continuous, or diff(X, pad=true, padval=NaN) ./ X for discrete.
diff(log(X))
diff(X, pad=true, padval=NaN) ./ X
This does indicate another need with docs though, which is just the need to get more of the basic functionality documented somewhere.
Sorry, something went wrong.
Pull request to address this opened here: #15
PR above has been merged, closing now, let me know if more to be done.
dysonance
No branches or pull requests
Hello,
a shift function similar to https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.shift.html could be useful.
A
pct_chg
function could be useful alsohttp://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.pct_change.html
Kind regard
PS: could help #1
The text was updated successfully, but these errors were encountered: