Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

FutureWarning: Using short name for 'orient' is deprecated. #844

Copy link
Copy link
Open
@Hawk777

Description

@Hawk777
Issue body actions
  • InfluxDB version: 1.8.1
  • InfluxDB-python version: 5.3.0
  • Python version: 3.7.8
  • Operating system version: Gentoo

When running the tests, this output shows up and the tests fail:

======================================================================
ERROR: Test write points from json with NaN lines and tags.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/cache/portage/dev-python/influxdb-5.3.0/work/influxdb-5.3.0/influxdb/tests/dataframe_client_test.py", line 1237, in test_write_points_from_dataframe_with_tags_and_nan_json
    tag_columns=['tag_one', 'tag_two'])
  File "/var/cache/portage/dev-python/influxdb-5.3.0/work/influxdb-5.3.0/influxdb/_dataframe_client.py", line 131, in write_points
    field_columns=field_columns)
  File "/var/cache/portage/dev-python/influxdb-5.3.0/work/influxdb-5.3.0/influxdb/_dataframe_client.py", line 297, in _convert_dataframe_to_json
    dataframe[tag_columns].to_dict('record'),
  File "/usr/lib/python3.7/site-packages/pandas/core/frame.py", line 1487, in to_dict
    FutureWarning,
FutureWarning: Using short name for 'orient' is deprecated. Only the options: ('dict', list, 'series', 'split', 'records', 'index') will be used in a future version. Use one of the above to silence this warning.

This warning was added to Pandas in commit e734449c95497d0e79d7529d94d82b4043a68f8b, apparently first released in 1.1.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.