Skip to content

BUG: pd.io.sql.get_schema function converts/Shows boolean Data types as a int Datatype #39912

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

Closed
1 of 3 tasks
Govindskatyura opened this issue Feb 19, 2021 · 0 comments
Closed
1 of 3 tasks
Labels
Bug Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@Govindskatyura
Copy link

Govindskatyura commented Feb 19, 2021

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • (optional) I have confirmed this bug exists on the master branch of pandas.


Output of pd.show_versions()

INSTALLED VERSIONS

commit : 67a3d42
python : 3.6.9.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-1037-aws
Version : #39~18.04.1-Ubuntu SMP Fri Jan 15 02:48:42 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8

pandas : 1.1.4
numpy : 1.19.4
pytz : 2020.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 39.0.1
Cython : 0.29.21
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.2
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : None
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.4
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
numba : 0.50.1

@Govindskatyura Govindskatyura added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Feb 19, 2021
@MarcoGorelli MarcoGorelli changed the title BUG: BUG: pd.io.sql.get_schema function converts/Shows boolean Data types as a int Datatype Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

No branches or pull requests

1 participant