File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 19
19
upstream-dev :
20
20
name : upstream-dev
21
21
runs-on : ubuntu-latest
22
- if : ${{ contains( github.event.pull_request.labels.*.name, 'test-upstream') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
22
+ if : ${{ ( contains(github.event.pull_request.labels.*.name, 'test-upstream') && github.event_name == 'pull_request') || github.event_name == 'workflow_dispatch' }}
23
23
defaults :
24
24
run :
25
25
shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -31,17 +31,6 @@ def __eq__(self, other):
31
31
NINF = AlwaysLessThan ()
32
32
33
33
34
- # Pairs of types that, if both found, should be promoted to object dtype
35
- # instead of following NumPy's own type-promotion rules. These type promotion
36
- # rules match pandas instead. For reference, see the NumPy type hierarchy:
37
- # https://docs.scipy.org/doc/numpy-1.13.0/reference/arrays.scalars.html
38
- PROMOTE_TO_OBJECT = [
39
- {np .number , np .character }, # numpy promotes to character
40
- {np .bool_ , np .character }, # numpy promotes to character
41
- {np .bytes_ , np .unicode_ }, # numpy promotes to unicode
42
- ]
43
-
44
-
45
34
def maybe_promote (dtype ):
46
35
"""Simpler equivalent of pandas.core.common._maybe_promote
47
36
You can’t perform that action at this time.
0 commit comments