Skip to content

pandas deprecation warning #1152

@tswast

Description

@tswast
tests/unit/test_client.py::TestClientUpload::test_load_table_from_dataframe_w_automatic_schema
tests/unit/test_client.py::TestClientUpload::test_load_table_from_dataframe_w_partial_schema
  /tmpfs/src/github/python-bigquery/.nox/unit-3-6/lib/python3.6/site-packages/pandas/core/internals/construction.py:703: FutureWarning: Converting timezone-aware DatetimeArray to timezone-naive ndarray with 'datetime64[ns]' dtype. In the future, this will return an ndarray with 'object' dtype where each element is a 'pandas.Timestamp' with the correct 'tz'.
  	To accept the future behavior, pass 'dtype=object'.
  	To keep the old behavior, pass 'dtype="datetime64[ns]"'.
    subarr = construct_1d_object_array_from_listlike(subarr)

From: https://source.cloud.google.com/results/invocations/8f9f2307-f98e-49cd-b996-645bd8f8e5c2/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-bigquery%2Fpresubmit%2Fpresubmit/log

Possible that we already fixed this in the v3 branch?

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions