Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Woodwork – An Open Source Python Library for Rich Semantic Data Typing (alteryx.com)
2 points by gsheni on May 9, 2022 | hide | past | favorite | 3 comments


I’ve been creating an open source library for rich semantic data typing, which helps you managing and communicating data typing information. If you’re curious what this library can do, check out our new blog post!


This is really interesting!

Have you given much thought to either type annotations or decorators. One or both of them could potentially be useful for attaching schema information to the DataFrame inputs/outputs of functions and for reducing boilerplate when you might want to validate those inputs/outputs before or after calling the functions.


I haven't given much thought to type annotations.

pandas recommends using accessors to extend DataFrames (as we do in Woodwork), which are actually just decorators: https://pandas.pydata.org/pandas-docs/stable/development/ext...




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: