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

Use column index in constructor #376

Merged
merged 5 commits into from
Jul 4, 2024

Conversation

MarcAntoineSchmidtQC
Copy link
Member

This fixes the failing tests in glum.

Checklist

  • Added a CHANGELOG.rst entry

@MarcAntoineSchmidtQC
Copy link
Member Author

Still need to apply the same changes to polars

@MarcAntoineSchmidtQC
Copy link
Member Author

@lbittarello, I would like to get your review when you have time. I've refactored the code so the from_polars and from_pandas functions use the same underlying function (_from_dataframe). All the "engine"-dependent logic has been bundled in small functions to make the main code clear.

src/tabmat/constructor.py Outdated Show resolved Hide resolved
src/tabmat/constructor.py Show resolved Hide resolved
@MarcAntoineSchmidtQC MarcAntoineSchmidtQC merged commit c0c8626 into main Jul 4, 2024
24 checks passed
@MarcAntoineSchmidtQC MarcAntoineSchmidtQC deleted the revert-constructor-changes branch July 4, 2024 19:06
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