Skip to content

Commit 15d0334

Browse files
author
MomIsBestFriend
committed
Fix merge conflicts
2 parents 8b6bffa + 9a222ea commit 15d0334

26 files changed

+471
-452
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717

18+
- name: Setting conda path
19+
run: echo "::add-path::${HOME}/miniconda3/bin"
20+
1821
- name: Checkout
1922
uses: actions/checkout@v1
2023

21-
- name: Setting conda path
22-
run: echo "::set-env name=PATH::${HOME}/miniconda3/bin:${PATH}"
23-
2424
- name: Looking for unwanted patterns
2525
run: ci/code_checks.sh patterns
2626
if: true

ci/deps/azure-36-locale.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ dependencies:
2727
- xlrd=1.1.0
2828
- xlsxwriter=0.9.8
2929
- xlwt=1.2.0
30+
# lowest supported version of pyarrow (putting it here instead of in
31+
# azure-36-minimum_versions because it needs numpy >= 1.14)
32+
- pyarrow=0.12
3033
- pip
3134
- pip:
3235
- html5lib==1.0b2

ci/deps/azure-37-locale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: pandas-dev
22
channels:
3-
- defaults
43
- conda-forge
54
dependencies:
65
- python=3.7.*
@@ -33,3 +32,4 @@ dependencies:
3332
- xlrd
3433
- xlsxwriter
3534
- xlwt
35+
- pyarrow>=0.15

ci/deps/travis-36-cov.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ dependencies:
3333
# https://github.com/pydata/pandas-gbq/issues/271
3434
- google-cloud-bigquery<=1.11
3535
- psycopg2
36-
# pyarrow segfaults on load: https://github.com/pandas-dev/pandas/issues/26716
37-
# - pyarrow=0.9.0
36+
- pyarrow>=0.12.0
3837
- pymysql
3938
- pytables
4039
- python-snappy

ci/print_skipped.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
def main(filename):
77
if not os.path.isfile(filename):
8-
return
8+
raise RuntimeError(f"Could not find junit file {filename!r}")
99

1010
tree = et.parse(filename)
1111
root = tree.getroot()
1212
current_class = ""
13-
for el in root.findall("testcase"):
13+
for el in root.iter("testcase"):
1414
cn = el.attrib["classname"]
1515
for sk in el.findall("skipped"):
1616
old_class = current_class
@@ -32,8 +32,7 @@ def main(filename):
3232
print("-" * 80)
3333
else:
3434
print(
35-
"#{i} {class_name}.{test_name}: {message}".format(
36-
**dict(test_data, i=i)
37-
)
35+
f"#{i} {test_data['class_name']}."
36+
f"{test_data['test_name']}: {test_data['message']}"
3837
)
3938
i += 1

doc/redirects.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,6 @@ generated/pandas.Series.pow,../reference/api/pandas.Series.pow
11191119
generated/pandas.Series.prod,../reference/api/pandas.Series.prod
11201120
generated/pandas.Series.product,../reference/api/pandas.Series.product
11211121
generated/pandas.Series.ptp,../reference/api/pandas.Series.ptp
1122-
generated/pandas.Series.put,../reference/api/pandas.Series.put
11231122
generated/pandas.Series.quantile,../reference/api/pandas.Series.quantile
11241123
generated/pandas.Series.radd,../reference/api/pandas.Series.radd
11251124
generated/pandas.Series.rank,../reference/api/pandas.Series.rank

doc/source/reference/series.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ Attributes
3939
Series.empty
4040
Series.dtypes
4141
Series.name
42-
Series.put
4342

4443
Conversion
4544
----------

doc/source/whatsnew/v1.0.0.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,9 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more.
565565
- Passing multiple axes to :meth:`DataFrame.dropna` is no longer supported (:issue:`20995`)
566566
- Removed previously deprecated :meth:`Series.nonzero`, use `to_numpy().nonzero()` instead (:issue:`24048`)
567567
- Passing floating dtype ``codes`` to :meth:`Categorical.from_codes` is no longer supported, pass ``codes.astype(np.int64)`` instead (:issue:`21775`)
568+
- :meth:`Series.str.partition` and :meth:`Series.str.rpartition` no longer accept "pat" keyword, use "sep" instead (:issue:`23767`)
569+
- Removed the previously deprecated :meth:`Series.put` (:issue:`27106`)
570+
- Removed the previously deprecated :attr:`Series.real`, :attr:`Series.imag` (:issue:`27106`)
568571
- Removed the previously deprecated :meth:`Series.to_dense`, :meth:`DataFrame.to_dense` (:issue:`26684`)
569572
- Removed the previously deprecated :meth:`Index.dtype_str`, use ``str(index.dtype)`` instead (:issue:`27106`)
570573
- :meth:`Categorical.ravel` returns a :class:`Categorical` instead of a ``ndarray`` (:issue:`27199`)

doc/sphinxext/announce.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ def build_string(revision_range, heading="Contributors"):
113113
components["authors"] = "* " + "\n* ".join(components["authors"])
114114

115115
tpl = textwrap.dedent(
116-
"""\
117-
{heading}
118-
{uline}
116+
f"""\
117+
{components['heading']}
118+
{components['uline']}
119119
120-
{author_message}
121-
{authors}"""
122-
).format(**components)
120+
{components['author_message']}
121+
{components['authors']}"""
122+
)
123123
return tpl
124124

125125

doc/sphinxext/contributors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def run(self):
2727
except git.GitCommandError as exc:
2828
return [
2929
self.state.document.reporter.warning(
30-
"Cannot find contributors for range '{}': {}".format(range_, exc),
30+
f"Cannot find contributors for range {repr(range_)}: {exc}",
3131
line=self.lineno,
3232
)
3333
]

0 commit comments

Comments
 (0)