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
Create multiple small and simple dfs that will be easy to observe and compare (e.g. 2x2 squares with single value in every cell etc.)
Make a separate test for each index_mode
Compare outcomes with string signature approach iow you get the output, convert it to string and then check it right inside the test. For ref see tests in amp/helpers/test/test_hpandas.py e.g. Test_merge_dfs1
See unit test doc to follow the code style
Also highly recommend to read this doc before submitting 1st PR
We want to add unit tests for
compute_weighted_sum()
Function location -
kaizenflow/helpers/hpandas.py
Line 1662 in b3469cc
Guides for the test:
index_mode
amp/helpers/test/test_hpandas.py
e.g.Test_merge_dfs1
See unit test doc to follow the code style
Also highly recommend to read this doc before submitting 1st PR
FYI @gpsaggese @sonaalKant @DanilYachmenev
The text was updated successfully, but these errors were encountered: