divinorum-webb / tableau-api-lib

An API library that allows developers to call on the methods listed in Tableau's REST API documentation.
MIT License
96 stars 34 forks source link

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

Open scottbw opened 1 year ago

scottbw commented 1 year ago

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 commented 1 year ago

Any news on this issue?

Rulowizard commented 1 year ago

And not just in column names, also in the dataframe