v1.11.4
·
10 commits
to 1.11.x
since this release
- Change the default value of
na_valuesin PandasCursor fromNonetoempty character.
If you want to change the behavior to that of the previous version, explicitly setna_valuestoNonein the argument of the execute method.Thanks @EdwardJRoss. (#204)import pyathena from pyathena.pandas_cursor import PandasCursor cursor = pyathena.connect(s3_staging_dir="s3://YOUR_S3_BUCKET/path/to/", region_name="us-west-2", cursor_class=PandasCursor).cursor() df = cursor.execute("SELECT * FROM many_rows", na_values=None).as_pandas()