Commit 817b0c0
docs: adjust strip method examples to match latest pandas (#1797)
The string representation of pandas Series has changed, causing
doctest failures in `accessor.py`. This commit updates the
expected output in the doctests for `lstrip`, `rstrip`, and
`strip` to reflect the new string representation.
The changes involve removing the `<BLANKLINE>` before `<NA>`
and adjusting the spacing in the doctest examples.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent 36bc179 commit 817b0c0
File tree
1 file changed
+19
-39
lines changed- third_party/bigframes_vendored/pandas/core/strings
1 file changed
+19
-39
lines changedLines changed: 19 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
264 | 261 | | |
265 | 262 | | |
266 | 263 | | |
| |||
269 | 266 | | |
270 | 267 | | |
271 | 268 | | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
276 | 273 | | |
277 | 274 | | |
278 | 275 | | |
| |||
543 | 540 | | |
544 | 541 | | |
545 | 542 | | |
546 | | - | |
| 543 | + | |
547 | 544 | | |
548 | 545 | | |
549 | 546 | | |
| |||
555 | 552 | | |
556 | 553 | | |
557 | 554 | | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
| 555 | + | |
567 | 556 | | |
568 | 557 | | |
569 | 558 | | |
570 | | - | |
| 559 | + | |
571 | 560 | | |
572 | 561 | | |
573 | 562 | | |
| |||
584 | 573 | | |
585 | 574 | | |
586 | 575 | | |
587 | | - | |
| 576 | + | |
588 | 577 | | |
589 | 578 | | |
590 | 579 | | |
| |||
596 | 585 | | |
597 | 586 | | |
598 | 587 | | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
| 588 | + | |
608 | 589 | | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
614 | 594 | | |
615 | 595 | | |
616 | 596 | | |
| |||
0 commit comments