May-16-2020, 07:55 PM
(May-15-2020, 10:04 PM)snippsat Wrote: Try.
#return pd.isnull(self._tlog).any(1).nonzero()[0] return pd.isnull(self._tlog).any(1).to_numpy().nonzero()[0]A other option had to been running in a virtual environment.
Then clone Repo and install requirements.txt
git clone https://github.com/fja05680/pinkfish.git pip install -r requirements.txtNow will running with versions that was used when this was made.
you have been amazing. I feel bad I am new and getting so many issues.
after I ran
[/python]
install requirements.txt
[/python]
Here is the requirement file.
[inline]appdirs==1.4.3
astroid==2.2.5
atomicwrites==1.3.0
attrs==19.1.0
certifi==2019.6.16
chardet==3.0.4
Click==7.0
colorama==0.4.1
configparser==3.7.4
coverage==4.5.3
cycler==0.10.0
empyrical==0.5.3
idna==2.8
importlib-metadata==0.18
ipython==7.11.1
isort==4.3.20
kiwisolver==1.1.0
lazy-object-proxy==1.4.1
lxml==4.3.4
matplotlib==3.1.0
mccabe==0.6.1
more-itertools==7.0.0
numpy==1.16.4
packaging==19.0
pandas==0.24.2
pandas-datareader==0.7.0
pluggy==0.12.0
py==1.8.0
pylint==2.3.1
pyparsing==2.4.0
pytest==4.6.3
pytest-cov==2.7.1
pytest-mock==1.10.4
python-dateutil==2.8.0
pytz==2019.1
requests==2.22.0
six==1.12.0
TA-Lib==0.4.17
toml==0.10.0
typed-ast==1.4.0
urllib3==1.25.3
wcwidth==0.1.7
wrapt==1.11.2
zipp==0.5.1[/inline]
I found out pandas 0.24.2 won't solve the issue,
I uninstalled the panda 0.24.2 and installed panda 1.0.3
suppose to work now but keep running into issues.
i had bottleneck issue. it was solved after i installed the bottleneck package. etc...
until i ran into a new error,
Error:---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-85928ad91014> in <module>
----> 1 import pandas as pd
2 import numpy as np
3 import os
4
5 from pandas import DataFrame
D:\programs\anaconda3\lib\site-packages\pandas\__init__.py in <module>
53 import pandas.core.config_init
54
---> 55 from pandas.core.api import (
56 # dtype
57 Int8Dtype,
D:\programs\anaconda3\lib\site-packages\pandas\core\api.py in <module>
1 # flake8: noqa
2
----> 3 from pandas._libs import NaT, Period, Timedelta, Timestamp
4 from pandas._libs.missing import NA
5
ImportError: cannot import name 'NaT' from 'pandas._libs' (unknown location)
some people suggest to uninstall pandas and reinstall it and it solved the issue. but mine didn't solve the issue...is there a way to restore to my original built before I ran the requirement when everything was working?