You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should make all packages required by view_as() optional, so we need some way to emit an error if you try to view data with an uninstalled package.
This could especially help with making this extensible if people want to plug it into more niche data classes. An interesting example is that we could plug this into ROOT's RDataFrame via this class: https://root.cern.ch/doc/master/classROOT_1_1Internal_1_1RDF_1_1RNumpyDS.html, and I don't think we want ROOT as a hard requirement.
This will also improve the package import time.
The text was updated successfully, but these errors were encountered:
How do you think this should be implemented? Should we add an additional option to [options.extras_require] called view_as, which contains the dependencies of awkward, pandas, etc.? I wonder because functions other than view_as also use these packages. Should this extra requirement be explicit for additional external formats like RDataFrame?
I would go through the code base and check which of these third-party libraries are actually used elsewhere. We could then group those that are only used in view_as() in a group called extras or something:
We should make all packages required by
view_as()
optional, so we need some way to emit an error if you try to view data with an uninstalled package.This could especially help with making this extensible if people want to plug it into more niche data classes. An interesting example is that we could plug this into ROOT's RDataFrame via this class: https://root.cern.ch/doc/master/classROOT_1_1Internal_1_1RDF_1_1RNumpyDS.html, and I don't think we want ROOT as a hard requirement.
This will also improve the package import time.
The text was updated successfully, but these errors were encountered: