-
Notifications
You must be signed in to change notification settings - Fork 10
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
Consider splitting out taxcalc features #39
Comments
Pandas handles its optional/soft fastparquet dependency like this:
If you wanted to do something like this, then you could add a note to the install instructions telling people that taxcalc should be installed separately. One thing to note is that Pandas can still read parquet files without other packages like fastpaquet being installed. |
Interesting, thanks @hdoupe. Based on this and some more poking around the code, looks like this is how
I'll mirror this approach. |
For completeness, here's the current error when importing
|
Importing |
Thanks again, @hdoupe for the guidance here! |
microdf
supports data and tasks that include but are not limited totaxcalc
, and it's increasingly general. Giventaxcalc
's size and large dependency set, ideally it would be an optional dependency. Whilepip
supports optional dependencies, they're not yet implemented inconda
(conda/conda#7502).Another option is creating a new package like
microdf-taxcalc
which includes bothmicrodf
andtaxcalc
as dependencies, and includes functions likecalc_df
.It's OK for now but placeholder for future consideration.
The text was updated successfully, but these errors were encountered: