-
Notifications
You must be signed in to change notification settings - Fork 185
[Enh]: Testing module #2804
Copy link
Copy link
Closed as duplicate of#739
Description
We would like to learn about your use case. For example, if this feature is needed to adopt Narwhals in an open source project, could you please enter the link to it below?
At first hierarchicalforecast, in the future also our other open-source libraries in the nixtla ecosystem
Please describe the purpose of the new feature or describe the problem to solve.
Pandas and Polars support testing functionalies, like the following functions:
pd.testing.assert_frame_equal
pl.testing.assert_frame_equal
This is really convenient e.g. when unit testing functionality. Ideally, Narwhals has it too, so that we can abstract away from the dataframe provided and run the unit test on any desired dataframe engine.
Suggest a solution if possible.
Include wrappers for this testing functionality, or include native Narwhals testing functionality, e.g.
nw.testing.asserts.assert_frame_equal
If you have tried alternatives, please describe them below.
No response
Additional information that may help us understand your needs.
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels