Skip to content

Instantly share code, notes, and snippets.

@mvervuurt
Created August 29, 2019 05:19
Show Gist options
  • Save mvervuurt/6a82ef75adeb81d74fb2ffe32d9dc980 to your computer and use it in GitHub Desktop.
Save mvervuurt/6a82ef75adeb81d74fb2ffe32d9dc980 to your computer and use it in GitHub Desktop.
Nice print of augmented dicky fuller test
dfout = pd.Series(dftest[0:4],index=['ADF test statistic','p-value','# lags used','# observations'])
for key,val in dftest[4].items():
dfout[f'critical value ({key})']=val
print(dfout)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment