-
Notifications
You must be signed in to change notification settings - Fork 983
[REVIEW] Upgrade pandas to 1.5
#11617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 42 commits
a39281b
f87f232
fc1647a
b7b3d76
41d0381
1b92423
7095878
01bd01e
28d12db
47eea3c
8d53832
a558088
5fae833
988443d
d8d545e
817bcf1
ff61af7
092d20c
287756a
f95fd4b
e409cc6
d49ee36
8b6d105
08869aa
9424341
e7b9647
825d6e0
a421ecc
13a1010
5547a48
d97b09c
158d441
d433fa3
ff6b7b2
0cda494
1abc7d9
7e53b8b
eb12f7a
4c19a38
80bbc02
6c9a580
2f00321
645feb5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3752,8 +3752,9 @@ def endswith(self, pat: str) -> SeriesOrIndex: | |
| dtype: bool | ||
| """ | ||
| if pat is None: | ||
| result_col = column.column_empty( | ||
| len(self._column), dtype="bool", masked=True | ||
| raise TypeError( | ||
| f"expected a string or a sequence-like object, not " | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note, in 1.5. we also further restricted
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did see that change, I'll be opening a follow-up PR because that will need some discussions & libcudf side changes too. |
||
| f"{type(pat).__name__}" | ||
| ) | ||
| elif is_scalar(pat): | ||
| result_col = libstrings.endswith( | ||
|
|
@@ -3814,8 +3815,9 @@ def startswith(self, pat: Union[str, Sequence]) -> SeriesOrIndex: | |
| dtype: bool | ||
| """ | ||
| if pat is None: | ||
| result_col = column.column_empty( | ||
| len(self._column), dtype="bool", masked=True | ||
| raise TypeError( | ||
| f"expected a string or a sequence-like object, not " | ||
| f"{type(pat).__name__}" | ||
| ) | ||
| elif is_scalar(pat): | ||
| result_col = libstrings.startswith( | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.