-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Is your feature request related to a problem? Please describe.
The assert_scmdf_almost_equal function is a bit messier and harder to use than is necessary.
Describe the solution you'd like
We clean up the function. Immediate things to do:
- rename to
assert_scmrun_almost_equal - check whether the
allow_unorderedandcheck_ts_namesarguments are still relevant. If they are, try to better capture what they do - fix the type hints to refer to
BaseScmRun - see if we can unify the paths through the function so they all use
pdt.assert_frame_equaland we can removenpt.assert_allclose(in theory, the pandas function also uses assert all close so this feels like it should be possible, we may have issues with the time point comparisons of course) - add type hints throughout the entire module
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
This would be a breaking change, so would need appropriate deprecation warnings (probably over at least two minor releases)
lewisjared
Metadata
Metadata
Assignees
Labels
No labels