Closed kdschlosser closed 1 year ago
I also recommend pushing the minimum required version of python from 3.4 to at least 3.6 better would be 3.11since all lower versions are end of life and are no longer going to be updated. 3.11 is marked to become EOL in 5 months.
Good Evening, thanks for pointing this out I really appreciate it!! I can take care of these changes I will try and get them implemented today or tomorrow!
no worries. glad to help.
Good Morning! So I was looking into this more closely and I don't think we will need to actually make any changes since in RealEstateMetrics it uses numpy arrays and not pandas data frames so iloc is not need. I just wanted to make sure that it also makes sense to you. I did update the minimum requirements for Python in the cfg and toml files and committed the changes to main!
There are some issues in your code that will have to be fixed. Specifically in the
RealEstateMetrics.py
file.pandas
has removed the ability to access columns using index numbers so the line of code below no longer work using a newer version ofpandas
lines that look like this
need to be changed to
and lines that look like this
need to be changed to
I am not sure if the
pvalues
attribute existed in earlier versions ofstatsmodels
but that attribute is not available in newer versions. I believe what you are wanting is thef_pvalue
attribute.so lines that look like this
need to be changed to
That is for the latest version of
pandas
andstatsmodels
running on Python 3.11let me know if you want me to make the modifications and submit a PR for them. If not I need to know exactly what versions of
pandas
andstatsmodels
you are using so those version can be added to the project requirements to avoid things not working right.