Skip to content

UserWarning - ensure parsing is consistent and as-expected, please specify a format #107

Description

@NathanHGayle

Hello!

I'm pulling a Jira dataset from Domo, there are 534 columns and I'm using the method below:

domo_dssd = session.ds_get(table.get("domo_dssd"))

This returns the error:

[c:\Users\name\venv\lib\site-packages\pydomo\__init__.py:201](file:///C:/Users/name/venv/lib/site-packages/pydomo/__init__.py:201): UserWarning: Could not infer format, so each element will be parsed individually, falling back to `dateutil`. To ensure parsing is consistent and as-expected, please specify a format.
  df[col] = to_datetime(df[col])

I presume this is due to a field that has mixed dtypes but there's no programmatic method to check prior to importing the data. Is there a method for specifying columns during the call and perhaps asserting their dtype? This error seems to relate to datetime fields (based on online results) where pd.datetime() has not included a formatting pattern.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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