Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

pandas-gbq handles nulls in numeric columns differently from pandas #174

@tswast

Description

@tswast

Pandas encodes missing / null data as NaN in numeric columns.

pandas-gbq expects the type of a column containing Nulls to be object.
https://github.com/pydata/pandas-gbq/blob/f301442082bab62c793b6a80cf00c03f97938609/tests/system.py#L295-L302

Shouldn't pandas-gbq align with the choice of pandas in this case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions