Kinda started using that with polars, force the scan/read schema as string, and down the road cast as the necessary type when needed. I'm calling it "just in time" data cleaning.
this post was submitted on 10 Sep 2025
522 points (98.2% liked)
Programmer Humor
26281 readers
1243 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
make everything a string then cast all data every time you want to use that data in a variable.
If it's not getting used in a mathematical function, I'm making it a string