Skip to content

Conversion to dataframe, options around "Display_Value" #188

@weyCC81

Description

@weyCC81

What I am doing
df = pd.DataFrame(response.all())

Where I have a problem
I would like for example to return "assignment_group" as a "Display_Value" and "calendar_stc" as a normal "Value".

  • If I am setting parameters.display_value = True, I get for example 'Group A' and '945,991'
  • If I am settting parameters.display_value = False, I get for example '1404x551e4c6c500b94fa1eeac1ce6a9' and '945991'

What I would like to have
A dataframe with the correct type, for example "string", "float64" or even "category" instead of "object".
df.info()

Request
Is it possible to enable or disable "Display_Value" for specific fields
or even have a dataframe returned from response.all() instead of a series?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions