Commit 1a68b40
authored
BUG: Use object dtype for STRING, ARRAY, and STRUCT columns when there are zero rows. (#285)
* BUG: Use object dtype for STRING, ARRAY, and STRUCT columns when there are zero rows.
If a there are no rows, the default dtype is used (which is now
float64, must previously have been object).
* Add PR number to changelog.
* Blacken1 parent 526ec32 commit 1a68b40
File tree
3 files changed
+27
-14
lines changed- docs/source
- pandas_gbq
- tests/system
3 files changed
+27
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
| 675 | + | |
| 676 | + | |
675 | 677 | | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
676 | 682 | | |
677 | 683 | | |
678 | 684 | | |
679 | 685 | | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | 686 | | |
684 | 687 | | |
685 | 688 | | |
686 | 689 | | |
687 | 690 | | |
| 691 | + | |
| 692 | + | |
688 | 693 | | |
| 694 | + | |
689 | 695 | | |
690 | 696 | | |
691 | 697 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
584 | 583 | | |
585 | 584 | | |
586 | | - | |
587 | 585 | | |
588 | 586 | | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
593 | 591 | | |
594 | 592 | | |
595 | | - | |
| 593 | + | |
| 594 | + | |
596 | 595 | | |
597 | | - | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
598 | 599 | | |
599 | 600 | | |
600 | 601 | | |
| |||
0 commit comments