Skip to content

MNT replace tabular with prettytable#466

Merged
adrinjalali merged 2 commits intoskops-dev:mainfrom
adrinjalali:tabular
Jan 30, 2025
Merged

MNT replace tabular with prettytable#466
adrinjalali merged 2 commits intoskops-dev:mainfrom
adrinjalali:tabular

Conversation

@adrinjalali
Copy link
Copy Markdown
Member

tabulate started being flaky with the latest python/scikit-learn, and I checked and it's not very active anymore. Here we switch to prettytable which is very active and maintained. It slightly changes the table formats, but it should be fine.

@adrinjalali adrinjalali merged commit f032cc0 into skops-dev:main Jan 30, 2025
@adrinjalali adrinjalali deleted the tabular branch January 30, 2025 13:04
Comment thread skops/card/_model_card.py
Comment on lines +204 to +206
pass # type: ignore
else:
headers = self.table.keys()
self.table.keys()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these lines do anything? They can just be removed now, right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

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.

2 participants