refactor: Rename exposed fixtures and pytest options#3556
refactor: Rename exposed fixtures and pytest options#3556FBruzzesi wants to merge 9 commits intofeat/testing-constructorsfrom
Conversation
Agreed, IMO this was already too much ceremony. result = pl.DataFrame({"a": [1, 2, 3]}).select()
result = nw.from_native(constructor_eager({"a": [1, 2, 3]}), eager_only=True).select()
👍 from me on skipping Note you probably already knew I was on board, I just wanted to make it more visible To bikeshed on the naming some more:
Combining those two points, you'd get something like this, where the concepts are embedded in the types, rather than the names: Mandatory plug for
|

Description
This PR addresses the section from #3552:
with the following renaming:
nw_frame_constructor(eager + lazy),nw_eager_constructor(eager only),nw_pandas_like_constructor(pandas like only).--nw-backends,--all-nw-backends,--use-external-nw-backendI know that
nw.from_native(nw_frame_constructor(data))is extremely verbose, but bear with me - I am also proposing to directly returnnw.LazyFrameornw.DataFramefrom thenw_frame_constructorfixture.From #3552:
TODO:
What type of PR is this? (check all applicable)