Commit 04134d5
BUG: Fix np.inf + np.nan sum issue on groupby mean (#52964)
* BUG: Fix np.inf + np.nan sum issue on groupby mean
* BUG: Change variable name
* TST: add test case to validate the fix
* Bug: Set Compensation to 0 when it is NaN
* TST: Fix failing test
* Remove Space
* Add Comments
* TST: assign expected to seperate variable
* Update comment
* TST: Fix issue with Linux32 dtype ValueError
---------
Co-authored-by: Richard Shadrach <45562402+rhshadrach@users.noreply.github.com>1 parent 1720520 commit 04134d5
2 files changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
1078 | 1085 | | |
1079 | 1086 | | |
1080 | 1087 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
0 commit comments