Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion to dataframe, options around "Display_Value" #188

Open
weyCC81 opened this issue May 29, 2022 · 0 comments
Open

Conversion to dataframe, options around "Display_Value" #188

weyCC81 opened this issue May 29, 2022 · 0 comments

Comments

@weyCC81
Copy link

weyCC81 commented May 29, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant