-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
build_table_schema has hardcoded Pandas version (0.20.0) #28455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is deliberate. That's the pandas version the schema was last revised. I think we have an open issue about better documenting this. |
Ok. The current documentation |
#26637 is probably the one being referred to. Would we consider deprecating / removing this altogether though? I personally also find it confusing without a lot of benefit |
I personally like versioning schemas (the reason I came across
|
I'm not entirely sure how to deprecate it. In theory, we can
Not sure if that's worth the churn on people currently reading them. Perhaps reach out to the people involved in earlier issues to get their thoughts. |
Code Sample, a copy-pastable example if possible
produces
Problem description
The version
0.20.0
is hard coded in the function.Expected Output
pandas.__version__
returns'0.25.0+349.g9dc6de3.dirty'
, which should also be returned bybuild_table_schema
Output of
pd.show_versions()
INSTALLED VERSIONS
commit : ac6bbaf
python : 3.6.7.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-55-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_CA.UTF-8
LOCALE : en_CA.UTF-8
pandas : 0.25.0+350.gac6bbaf
numpy : 1.17.2
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.3
setuptools : 41.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.8.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : 2.7.0
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : None
sqlalchemy : None
tables : 3.5.1
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
The text was updated successfully, but these errors were encountered: