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

Add Dataset.tables_rows and show in table preview #113

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Sep 26, 2024

Needs #114 to be merged first.

This adds the cached property audbcards.Dataset.tables_rows and uses it in the preview of the tables to add the number of rows as the last line.

Under the hood, it also adds the private cached property audbcards.Dataset._tables to avoid loading the tables multiple times (the other occasion is inside audbcards.Dataset.tables_preview).

image

I'm not decided yet, if we should add audbcards.Dataset.tables_columns as well and state them together with the rows?
If yes, I would prefer to add this in another pull request.

@hagenw hagenw changed the title Add Dataset.tables_rows and number of rows to table preview Add Dataset.tables_rows and show in table preview Sep 26, 2024
@hagenw hagenw marked this pull request as draft September 26, 2024 12:52
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

Successfully merging this pull request may close these issues.

1 participant