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

make units accessible for users #33

Open
pmayd opened this issue Nov 7, 2023 · 2 comments
Open

make units accessible for users #33

pmayd opened this issue Nov 7, 2023 · 2 comments
Assignees
Labels
development internal issues for the dev team enhancement New feature or request

Comments

@pmayd
Copy link
Collaborator

pmayd commented Nov 7, 2023

Each "Merkmal" must have a unit. Can we make the unit accessible for the user? What is the best way?

@pmayd pmayd added development internal issues for the dev team enhancement New feature or request labels Feb 20, 2024
@PiaSchroeder
Copy link
Collaborator

In some tables (e.g. 1000A-1001), value columns contain alternating data entries with different units (in this case counts and percentages) that are resolved in another column (value_units). This column is currently removed by prettify_table, such that the value column becomes essentially unusable.
ToDo: Split the value column into two columns, each with a label indicating the unit.

@PiaSchroeder PiaSchroeder self-assigned this Feb 25, 2024
@PhilippVerpoort
Copy link

Not sure if this is helpful, but pint (GitHub, ReadTheDocs) is an excellent Python library for handling units. It also comes with an integration into pandas. Custom units can easily be defined as necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development internal issues for the dev team enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants