This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Commit c788989
authored
SAT-2978 - SDC Series binops corrupt operands if fill_value is used (#891)
* SAT-2978 - SDC Series binops corrupt operands if fill_value is used
This PR solves multiple issues in implementation of Series arithmetic and
comparison methods:
* fixes wrong filling behavior (e.g. np.nan + np.nan was 2 * fill_value)
* removes inplace=True operations that corrupt operands
* fixes broken scalar + series use cases
* fixes a sub case of common case when series indexes are equal, and hence
no alignment should happen
* adds performance tests for all different implementations
* moves operators and binop methods unit tests to a separate test suite
* unskips many tests incorrectly decorated with skip_parallel
* Fixing PEP and other remarks1 parent 7d176c8 commit c788989
15 files changed
Lines changed: 2491 additions & 2057 deletions
File tree
- buildscripts
- sdc
- datatypes
- functions
- tests
- tests_perf
- utilities
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
122 | 128 | | |
| 129 | + | |
| 130 | + | |
123 | 131 | | |
124 | 132 | | |
125 | 133 | | |
| |||
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
139 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
140 | 151 | | |
| 152 | + | |
| 153 | + | |
141 | 154 | | |
142 | 155 | | |
143 | 156 | | |
144 | 157 | | |
145 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
146 | 162 | | |
| 163 | + | |
| 164 | + | |
147 | 165 | | |
148 | 166 | | |
149 | 167 | | |
150 | 168 | | |
151 | 169 | | |
152 | 170 | | |
153 | | - | |
154 | 171 | | |
155 | 172 | | |
156 | 173 | | |
157 | 174 | | |
158 | 175 | | |
159 | | - | |
160 | 176 | | |
161 | 177 | | |
162 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4137 | 4137 | | |
4138 | 4138 | | |
4139 | 4139 | | |
4140 | | - | |
4141 | | - | |
4142 | 4140 | | |
4143 | 4141 | | |
4144 | 4142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
| 606 | + | |
606 | 607 | | |
607 | 608 | | |
608 | 609 | | |
| |||
0 commit comments