Skip to content

Commit

Permalink
BUG: Fix ValueError output in lagmat when using pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
KishManani committed Feb 13, 2022
1 parent ff36a56 commit f98d87e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsmodels/tsa/tsatools.py
Expand Up @@ -383,7 +383,7 @@ def lagmat(x,
trim = trim.lower()
if is_pandas and trim in ("none", "backward"):
raise ValueError(
"trim cannot be 'none' or 'forward' when used on "
"trim cannot be 'none' or 'backward' when used on "
"Series or DataFrames"
)

Expand Down

0 comments on commit f98d87e

Please sign in to comment.