-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
Create empty dataframe from Pandas DataFrame Model #1880
Create empty dataframe from Pandas DataFrame Model #1880
Conversation
8fd96a3
to
c54b556
Compare
Signed-off-by: Mamoru Miura <mamo3gr@gmail.com>
c54b556
to
918abf7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1880 +/- ##
==========================================
- Coverage 94.28% 93.26% -1.02%
==========================================
Files 91 121 +30
Lines 7013 9299 +2286
==========================================
+ Hits 6612 8673 +2061
- Misses 401 626 +225 ☔ View full report in Codecov by Sentry. |
pandera/api/dataframe/model.py
Outdated
@@ -20,6 +20,8 @@ | |||
cast, | |||
) | |||
|
|||
import pandas as pd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the generic dataframe.model
module should not depend on any dataframe library, can you move this to https://github.com/unionai-oss/pandera/blob/main/pandera/api/pandas/model.py?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I have done it with 38a5a95.
Signed-off-by: Mamoru Miura <mamo3gr@gmail.com>
Signed-off-by: Mamoru Miura <mamo3gr@gmail.com>
11aef4d
to
fb1ac6a
Compare
cfef591
to
d4987ac
Compare
Signed-off-by: Mamoru Miura <mamo3gr@gmail.com>
d4987ac
to
bd42149
Compare
thanks @mamo3gr ! 🚀 |
I'm interested in #1039 however it has not been merged. I would like to salvage the PR partially (temporarily), that is, only for DataFrame Model.