Getting an np.float Attribute not found error when calling the fit function
Open
- Dominant language
- Python
- Stars
- 20.4k
- Forks
- 4.6k
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 1
Description
I am getting this error when calling the fit function.
m = Prophet()
m.fit(df_train)
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
Am I doing something wrong or is np.float no longer supported
Contributor guide
Assessment
This issue has not been assessed yet.