Closed bergnerjonas closed 1 month ago
I will take a look at fixing this myself
This should already have been done by Pia, she introduced a dictionary for the language and changed the labels, didn't she? I know there was aPR where we discussed the different labels in different languages
You mean https://github.com/CorrelAid/pystatis/pull/58, right? I will close the issue then.
Reproducible Example
Error description
When passing
language='en'
to the get_data method, the following KeyError is thrown:Possible solution
The parsing methods need to be adjusted to handle english column names, like in here:
https://github.com/CorrelAid/pystatis/blob/eea4acbb9374b9b658edf6884cd5aee0b77c86fe/src/pystatis/table.py#L127-L134