Commit c321b3d
[SPARK-43875][PS][TESTS] Enabling Categorical tests for Pandas 2.0.0 and above
### What changes were proposed in this pull request?
This PR proposes to enable Categorical tests for pandas 2.0.0 and above. See https://pandas.pydata.org/docs/whatsnew/v2.0.0.html for more detail.
### Why are the changes needed?
To match the behavior with pandas 2.0.0 and above.
### Does this PR introduce _any_ user-facing change?
No, this is test-only.
### How was this patch tested?
Enabling & updating the existing UTs.
Closes #42530 from itholic/pandas_categorical_test.
Authored-by: itholic <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>1 parent 48faaa8 commit c321b3d
File tree
2 files changed
+8
-35
lines changed- python/pyspark/pandas/tests
- indexes
2 files changed
+8
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 78 | | |
83 | 79 | | |
84 | 80 | | |
| |||
92 | 88 | | |
93 | 89 | | |
94 | 90 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
109 | 95 | | |
110 | 96 | | |
111 | 97 | | |
| |||
122 | 108 | | |
123 | 109 | | |
124 | 110 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 111 | | |
130 | 112 | | |
131 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | 201 | | |
206 | 202 | | |
207 | 203 | | |
| |||
212 | 208 | | |
213 | 209 | | |
214 | 210 | | |
215 | | - | |
216 | | - | |
| 211 | + | |
| 212 | + | |
217 | 213 | | |
218 | 214 | | |
219 | 215 | | |
| |||
345 | 341 | | |
346 | 342 | | |
347 | 343 | | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | 344 | | |
354 | 345 | | |
355 | 346 | | |
| |||
360 | 351 | | |
361 | 352 | | |
362 | 353 | | |
363 | | - | |
364 | | - | |
| 354 | + | |
| 355 | + | |
365 | 356 | | |
366 | 357 | | |
367 | 358 | | |
| |||
0 commit comments