-
Notifications
You must be signed in to change notification settings - Fork 170
Open
5 / 95 of 9 issues completedLabels
api designenhancementNew feature or requestNew feature or requesthigh priorityYour PR will be reviewed very quickly if you address thisYour PR will be reviewed very quickly if you address this
Description
Currently we're a bit inconsistent with IO functions:
- from_native
- from_dict
- from_arrow
- new_series
- from_numpy
I think we might be better off movings towards:
from_native: may return Series, DataFrame, or LazyFrame, depending on the input. This one staysDataFrame.from_native: likefrom_native(..., eager_only=True, allow_series=False)LazyFrame.from_native: likefrom_native(...).lazy()Series.from_native: likefrom_native(..., series_only=True)DataFrame.from_dict,DataFrame.from_arrow,DataFrame.from_numpy. Remove the top-level onesSeries.from_iterable,Series.from_numpy. Removenw.new_series, that's an inconsistent name
All of this would only affect the main namespace and stable.v2 onwards, stable.v1 should remain unaffected
PRs
dangotbannedEdAbati, matthewwardrop and FBruzzesi
Sub-issues
Metadata
Metadata
Assignees
Labels
api designenhancementNew feature or requestNew feature or requesthigh priorityYour PR will be reviewed very quickly if you address thisYour PR will be reviewed very quickly if you address this