Type hinting

15 views
Skip to first unread message

zlju...@gmail.com

unread,
Feb 13, 2021, 7:23:12 AM2/13/21
to PyData
Hi,

recently I saw this package https://github.com/CedricFR/dataenforce.
Sadly, it doesn't work with mypy.

Is there mypy way of type checking not only dataframe, but its format which includes (multy)columns names, (multy)columns format, (multy)index names, (multy)index formats?

It would be really nice if we have an oportunity to set function/method signature that will ensure that input and output dataframes are in certain formats.

Regards.
Reply all
Reply to author
Forward
0 new messages