dtype.na_value
is inconsistent with returned values
#66
Labels
api: bigquery
Issues related to the googleapis/python-db-dtypes-pandas API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
It is claimed that the
na_value
isNaT
python-db-dtypes-pandas/db_dtypes/core.py
Line 30 in e9d41d1
But in reality, both dbtime and dbdate return
None
when a missing value is present in the array.python-db-dtypes-pandas/db_dtypes/__init__.py
Line 149 in e9d41d1
python-db-dtypes-pandas/db_dtypes/__init__.py
Line 254 in e9d41d1
This inconsistency is causing a few problems, such as broken
__contains__
for missing values, discovered while adding compliance tests in #64The text was updated successfully, but these errors were encountered: