Printed n_rows and n_periods to screen in ValueError message.
Added spaces to other docstrings that were close together (automatically added by black formatter)
Motivation:
I was using this method through the sktime package and kept getting this error. I was frustrated that neither n_rows or n_periods were printed to the screen as I was quite sure I was doing everything correctly.
Type of change
[✅] Documentation change
How Has This Been Tested?
No tests since it's just a doc change. Plus I had issues running pytest locally despite following your instructions.
Checklist:
[✅] I have performed a self-review of my own code
[✅] I have commented my code, particularly in hard-to-understand areas
[✅] I have made corresponding changes to the documentation
[✅] My changes generate no new warnings
[NA] I have added tests that prove my fix is effective or that my feature works
[❌] New and existing unit tests pass locally with my changes
I've spent the last hour trying to get pytest to run locally but without success.
What I have tried:
Creating a new conda env and running python setup.py develop, running make running python setup.py install
Installing gcc with homebrew
The installs all seemingly work but when I run pytest I get the following errors. What am I doing wrong?!
ImportError while importing test module '/Volumes/GoogleDrive/My Drive/1 Projects/pmdarima - update ARIMA.predict ValueError/pmdarima/pmdarima/utils/tests/test_wrapped.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
pmdarima/__check_build/__init__.py:44: in <module>
from ._check_build import check_build
E ModuleNotFoundError: No module named 'pmdarima.__check_build._check_build'
During handling of the above exception, another exception occurred:
/Users/king/opt/anaconda3/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pmdarima/__init__.py:49: in <module>
from . import __check_build
pmdarima/__check_build/__init__.py:46: in <module>
raise_build_error(ie)
pmdarima/__check_build/__init__.py:31: in raise_build_error
raise ImportError("""%s
E ImportError: No module named 'pmdarima.__check_build._check_build'
E ___________________________________________________________________________
E Contents of /Volumes/GoogleDrive/My Drive/1 Projects/pmdarima - update ARIMA.predict ValueError/pmdarima/pmdarima/__check_build:
E __init__.py _check_build.pyx setup.py
E tests __pycache__ _check_build.c
E ___________________________________________________________________________
E It seems that pmdarima has not been built correctly.
E If you have installed pmdarima from source, please do not forget
E to build the package before using it: run `python setup.py install` or
E `make` from the top-level directory.
E
E If you have used an installer, please check that it is suited for your
E Python version, your operating system and your platform.
I'm using a Macbook pro 2019 v12.4 Monterey, python 3.10.6.
Description
Changes:
n_rows
andn_periods
to screen inValueError
message.Motivation:
sktime
package and kept getting this error. I was frustrated that neithern_rows
orn_periods
were printed to the screen as I was quite sure I was doing everything correctly.Type of change
How Has This Been Tested?
No tests since it's just a doc change. Plus I had issues running pytest locally despite following your instructions.
Checklist:
I've spent the last hour trying to get pytest to run locally but without success.
What I have tried:
python setup.py develop
, runningmake
runningpython setup.py install
gcc
with homebrewThe installs all seemingly work but when I run pytest I get the following errors. What am I doing wrong?!
I'm using a Macbook pro 2019 v12.4 Monterey, python 3.10.6.