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

get_view_data_dataframe: special characters in column names not parsed correctly #113

Open
scottbw opened this issue May 12, 2023 · 2 comments

Comments

@scottbw
Copy link

scottbw commented May 12, 2023

When querying a view, column names containing unicode characters aren't parsed correctly.

E.g.

                view_data_response = querying.get_view_data_dataframe(self.connection, view_id=self.view_id,
                                                                      parameter_dict=temp_dict_combine).drop_duplicates(
                    keep='first')

                print(view_data_response.columns)

Result:

Index(['Academic Year', 'Measure Names', 'Avg. Value in £000s',
       'Value in £000s'],
      dtype='object')

Expected:

Index(['Academic Year', 'Measure Names', 'Avg. Value in £000s',
       'Value in £000s'],
      dtype='object')
@Rulowizard
Copy link

Any news on this issue?

@Rulowizard
Copy link

And not just in column names, also in the dataframe

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

2 participants