Skip to content

Get rid of pandas dependency#222

Merged
yakutovicha merged 2 commits into
mainfrom
chore/remove-pandas-dependency
Mar 27, 2026
Merged

Get rid of pandas dependency#222
yakutovicha merged 2 commits into
mainfrom
chore/remove-pandas-dependency

Conversation

@yakutovicha

@yakutovicha yakutovicha commented Mar 16, 2026

Copy link
Copy Markdown
Member

fixes #221

@danielhollas

Copy link
Copy Markdown
Contributor

Same comment as in the corresponding AWB PR, can we try using tabulate package so we don't have to write HTML and CSS by hand here?

@edan-bainglass edan-bainglass left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! @danielhollas tabulate seems limited to text-based, very simple tables. I think here, this is fine, for now. Let's not hold it back.

We should, however, settle on a robust table package and use throughout our ecosystem. Another option is to write our own, as @superstar54 did with the TableWidget in the QE app. But whatever we do, we should standardize, generalize, and deploy under AWB for use by all!

@danielhollas danielhollas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@danielhollas tabulate seems limited to text-based, very simple tables.

Can you clarify what you mean by "text based"? Seems like our tables here are pretty simple and we don't need anything fancy?

Okay, I don't want to block, but would be good to write things down in an issue.

@yakutovicha can you merge main and re-run pre-commit. I think this should just re-format the code and fix the failing pre-commit. Alternatively, just merge this and I'll deal with the failing pre-commit in a follow-up PR (sorry about that, I shouldn't have merged that PR).

@edan-bainglass

edan-bainglass commented Mar 27, 2026

Copy link
Copy Markdown
Member

Can you clarify what you mean by "text based"? Seems like our tables here are pretty simple and we don't need anything fancy?

Just simply, text-based HTML tables. But yeah, if that's what is used here, one would imagine tabluate might work. Since you've raised this issue, mind opening it formally? 🙏

@yakutovicha same comment as here

@yakutovicha

Copy link
Copy Markdown
Member Author

@yakutovicha same comment as here

Here we go:

before:
image

after:
image

The only noticeable change is the process status. Before, None meant "None"; now None gets converted to an empty string

@yakutovicha

Copy link
Copy Markdown
Member Author

So, can I merge, @edan-bainglass?

@yakutovicha

Copy link
Copy Markdown
Member Author

Since you've raised this issue, mind opening it formally?

done #224

@yakutovicha yakutovicha merged commit 173de85 into main Mar 27, 2026
6 of 7 checks passed
@yakutovicha yakutovicha deleted the chore/remove-pandas-dependency branch March 27, 2026 14:05
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.

Get rid of pandas dependency

3 participants