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

fix: allow int columns in mo.ui.dataframe #1322

Merged
merged 2 commits into from
May 6, 2024
Merged

fix: allow int columns in mo.ui.dataframe #1322

merged 2 commits into from
May 6, 2024

Conversation

mscolnick
Copy link
Contributor

@mscolnick mscolnick commented May 6, 2024

Fixes #1319

Changes to allow for integer columns in mo.ui.dataframe. The diff is larger than expected since numeric-ness is lost
when using js maps, so need to switch to a List when serializing and an es Map<> on the frontend

  • other typing improvments
  • brute-force snapshot test
  • add test cases for integer columns

Copy link

vercel bot commented May 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 6, 2024 2:57pm
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 6, 2024 2:57pm

@@ -115,6 +115,18 @@ module.exports = {
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
// "@typescript-eslint/strict-boolean-expressions": [
Copy link
Contributor Author

Choose a reason for hiding this comment

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

leaving this in here since its good to turn on in development, but there are lots of noise that is not worth fixing in this PR

@mscolnick mscolnick merged commit d35e128 into main May 6, 2024
29 checks passed
@mscolnick mscolnick deleted the ms/int-columns branch May 6, 2024 17:31
Copy link

github-actions bot commented May 6, 2024

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.4.12-dev7

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.

ui.dataframe transforms incorrectly assume string column names
2 participants