Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pandas-dev/pandas
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.5.0
Choose a base ref
...
head repository: pandas-dev/pandas
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.5.1
Choose a head ref
Loading
Showing with 1,492 additions and 782 deletions.
  1. +1 −1 .github/workflows/docbuild-and-upload.yml
  2. +3 −3 .github/workflows/python-dev.yml
  3. +1 −1 doc/_templates/pandas_footer.html
  4. +1 −0 doc/redirects.csv
  5. +5 −5 doc/source/_static/index_api.svg
  6. +2 −2 doc/source/_static/index_contribute.svg
  7. +1 −1 doc/source/_static/index_getting_started.svg
  8. +1 −1 doc/source/_static/index_user_guide.svg
  9. +9 −0 doc/source/_static/logo_sas_white.svg
  10. +2 −2 doc/source/_static/logo_sql.svg
  11. +1 −1 doc/source/conf.py
  12. +117 −0 doc/source/development/community.rst
  13. +1 −1 doc/source/development/contributing_codebase.rst
  14. +1 −1 doc/source/development/index.rst
  15. +0 −31 doc/source/development/meeting.rst
  16. +1 −0 doc/source/whatsnew/index.rst
  17. +122 −0 doc/source/whatsnew/v1.5.1.rst
  18. +1 −1 environment.yml
  19. +2 −5 pandas/_config/config.py
  20. +1 −2 pandas/_libs/lib.pyx
  21. +2 −2 pandas/_libs/parsers.pyx
  22. +4 −0 pandas/_libs/testing.pyx
  23. +2 −3 pandas/_libs/tslib.pyx
  24. +1 −3 pandas/_libs/tslibs/conversion.pyx
  25. +2 −3 pandas/_libs/tslibs/nattype.pyx
  26. +4 −5 pandas/_libs/tslibs/offsets.pyx
  27. +2 −3 pandas/_libs/tslibs/parsing.pyx
  28. +1 −2 pandas/_libs/tslibs/period.pyx
  29. +4 −1 pandas/_libs/tslibs/strptime.pyx
  30. +4 −5 pandas/_libs/tslibs/timedeltas.pyx
  31. +10 −11 pandas/_libs/tslibs/timestamps.pyx
  32. +1 −1 pandas/_testing/__init__.py
  33. +8 −6 pandas/_testing/asserters.py
  34. +12 −2 pandas/_typing.py
  35. +1 −2 pandas/compat/_optional.py
  36. +1 −2 pandas/core/accessor.py
  37. +50 −26 pandas/core/algorithms.py
  38. +8 −3 pandas/core/apply.py
  39. +2 −5 pandas/core/arraylike.py
  40. +1 −4 pandas/core/arrays/arrow/_arrow_utils.py
  41. +3 −3 pandas/core/arrays/arrow/array.py
  42. +4 −2 pandas/core/arrays/base.py
  43. +15 −16 pandas/core/arrays/categorical.py
  44. +5 −6 pandas/core/arrays/datetimelike.py
  45. +7 −8 pandas/core/arrays/datetimes.py
  46. +1 −1 pandas/core/arrays/masked.py
  47. +2 −1 pandas/core/arrays/sparse/accessor.py
  48. +6 −10 pandas/core/arrays/sparse/array.py
  49. +1 −2 pandas/core/arrays/sparse/dtype.py
  50. +3 −3 pandas/core/base.py
  51. +2 −4 pandas/core/common.py
  52. +1 −4 pandas/core/computation/align.py
  53. +1 −2 pandas/core/computation/eval.py
  54. +1 −2 pandas/core/computation/expressions.py
  55. +2 −3 pandas/core/config_init.py
  56. +3 −4 pandas/core/construction.py
  57. +11 −3 pandas/core/describe.py
  58. +3 −3 pandas/core/dtypes/astype.py
  59. +7 −8 pandas/core/dtypes/cast.py
  60. +2 −3 pandas/core/dtypes/common.py
  61. +1 −2 pandas/core/dtypes/concat.py
  62. +1 −2 pandas/core/dtypes/inference.py
  63. +1 −6 pandas/core/dtypes/missing.py
  64. +14 −49 pandas/core/frame.py
  65. +28 −37 pandas/core/generic.py
  66. +8 −4 pandas/core/groupby/generic.py
  67. +43 −22 pandas/core/groupby/groupby.py
  68. +3 −4 pandas/core/groupby/grouper.py
  69. +6 −7 pandas/core/groupby/ops.py
  70. +1 −2 pandas/core/index.py
  71. +2 −3 pandas/core/indexers/utils.py
  72. +1 −2 pandas/core/indexes/accessors.py
  73. +3 −0 pandas/core/indexes/api.py
  74. +31 −28 pandas/core/indexes/base.py
  75. +3 −4 pandas/core/indexes/category.py
  76. +1 −2 pandas/core/indexes/datetimelike.py
  77. +6 −9 pandas/core/indexes/datetimes.py
  78. +9 −1 pandas/core/indexes/interval.py
  79. +17 −16 pandas/core/indexes/multi.py
  80. +1 −2 pandas/core/indexes/numeric.py
  81. +1 −2 pandas/core/indexes/period.py
  82. +4 −5 pandas/core/indexes/range.py
  83. +13 −9 pandas/core/indexing.py
  84. +1 −2 pandas/core/internals/__init__.py
  85. +5 −4 pandas/core/internals/blocks.py
  86. +1 −2 pandas/core/internals/construction.py
  87. +3 −4 pandas/core/internals/managers.py
  88. +1 −2 pandas/core/ops/__init__.py
  89. +36 −8 pandas/core/resample.py
  90. +1 −2 pandas/core/reshape/concat.py
  91. +1 −2 pandas/core/reshape/melt.py
  92. +5 −8 pandas/core/reshape/merge.py
  93. +1 −1 pandas/core/reshape/pivot.py
  94. +1 −2 pandas/core/reshape/reshape.py
  95. +9 −1 pandas/core/reshape/util.py
  96. +11 −14 pandas/core/series.py
  97. +3 −1 pandas/core/sorting.py
  98. +3 −8 pandas/core/strings/accessor.py
  99. +1 −2 pandas/core/tools/datetimes.py
  100. +1 −2 pandas/core/window/common.py
  101. +2 −3 pandas/core/window/ewm.py
  102. +5 −5 pandas/core/window/rolling.py
  103. +3 −4 pandas/io/clipboard/__init__.py
  104. +3 −4 pandas/io/clipboards.py
  105. +2 −3 pandas/io/common.py
  106. +4 −5 pandas/io/date_converters.py
  107. +30 −7 pandas/io/excel/_base.py
  108. +10 −0 pandas/io/excel/_odswriter.py
  109. +8 −0 pandas/io/excel/_openpyxl.py
  110. +15 −1 pandas/io/excel/_xlsxwriter.py
  111. +13 −2 pandas/io/excel/_xlwt.py
  112. +4 −5 pandas/io/formats/css.py
  113. +1 −2 pandas/io/formats/excel.py
  114. +7 −8 pandas/io/formats/style.py
  115. +2 −3 pandas/io/json/_table_schema.py
  116. +2 −0 pandas/io/parquet.py
  117. +2 −3 pandas/io/parsers/base_parser.py
  118. +1 −18 pandas/io/parsers/c_parser_wrapper.py
  119. +1 −2 pandas/io/parsers/python_parser.py
  120. +14 −10 pandas/io/parsers/readers.py
  121. +11 −13 pandas/io/pytables.py
  122. +1 −2 pandas/io/sas/sas_xport.py
  123. +12 −13 pandas/io/sql.py
  124. +8 −9 pandas/io/stata.py
  125. +1 −2 pandas/plotting/_core.py
  126. +1 −2 pandas/plotting/_matplotlib/boxplot.py
  127. +14 −9 pandas/plotting/_matplotlib/core.py
  128. +1 −2 pandas/plotting/_matplotlib/style.py
  129. +3 −4 pandas/plotting/_matplotlib/tools.py
  130. +35 −0 pandas/tests/apply/test_frame_apply.py
  131. +14 −0 pandas/tests/extension/test_arrow.py
  132. +18 −0 pandas/tests/frame/indexing/test_indexing.py
  133. +27 −1 pandas/tests/frame/methods/test_cov_corr.py
  134. +12 −0 pandas/tests/frame/methods/test_describe.py
  135. +13 −0 pandas/tests/frame/methods/test_fillna.py
  136. +3 −2 pandas/tests/frame/methods/test_sort_values.py
  137. +5 −0 pandas/tests/groupby/conftest.py
  138. +0 −22 pandas/tests/groupby/test_any_all.py
  139. +25 −0 pandas/tests/groupby/test_apply.py
  140. +17 −0 pandas/tests/groupby/test_categorical.py
  141. +69 −46 pandas/tests/groupby/test_groupby_dropna.py
  142. +3 −3 pandas/tests/groupby/test_size.py
  143. +3 −7 pandas/tests/groupby/transform/test_transform.py
  144. +11 −0 pandas/tests/indexes/multi/test_get_level_values.py
  145. +1 −2 pandas/tests/indexing/test_loc.py
  146. +11 −0 pandas/tests/io/excel/test_writers.py
  147. +14 −0 pandas/tests/io/parser/common/test_common_basic.py
  148. +13 −0 pandas/tests/io/pytables/test_store.py
  149. +10 −0 pandas/tests/io/test_parquet.py
  150. +11 −4 pandas/tests/io/test_sql.py
  151. +6 −0 pandas/tests/plotting/frame/test_frame.py
  152. +32 −0 pandas/tests/reshape/test_pivot.py
  153. +6 −0 pandas/tests/series/indexing/test_getitem.py
  154. +7 −0 pandas/tests/series/indexing/test_indexing.py
  155. +8 −0 pandas/tests/series/indexing/test_setitem.py
  156. +10 −2 pandas/tests/series/methods/test_describe.py
  157. +8 −2 pandas/tests/series/test_constructors.py
  158. +13 −0 pandas/tests/test_sorting.py
  159. +42 −0 pandas/tests/tools/test_to_datetime.py
  160. +23 −0 pandas/tests/util/test_assert_frame_equal.py
  161. +13 −0 pandas/tests/util/test_assert_index_equal.py
  162. +26 −0 pandas/tests/util/test_deprecate_nonkeyword_arguments.py
  163. +2 −3 pandas/tseries/frequencies.py
  164. +24 −7 pandas/util/_decorators.py
  165. +4 −9 pandas/util/_exceptions.py
  166. +1 −4 pandas/util/_validators.py
  167. +1 −2 pandas/util/testing.py
  168. +1 −1 requirements-dev.txt
  169. +1 −1 scripts/list_future_warnings.sh
  170. +1 −1 web/pandas/_templates/layout.html
  171. +2 −1 web/pandas/config.yml
  172. +3 −3 web/pandas/index.html
  173. +7 −0 web/pandas/static/css/pandas.css
2 changes: 1 addition & 1 deletion .github/workflows/docbuild-and-upload.yml
Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

- name: Upload prod docs
run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/version/${GITHUB_REF_NAME}
run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/version/${GITHUB_REF_NAME:1}
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')

- name: Move docs into site directory
6 changes: 3 additions & 3 deletions .github/workflows/python-dev.yml
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]

name: actions-311-dev
timeout-minutes: 80
timeout-minutes: 120

concurrency:
#https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -75,7 +75,7 @@ jobs:
run: |
python --version
python -m pip install --upgrade pip setuptools wheel
python -m pip install git+https://github.com/numpy/numpy.git
python -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
python -m pip install git+https://github.com/nedbat/coveragepy.git
python -m pip install python-dateutil pytz cython hypothesis==6.52.1 pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17
python -m pip list
@@ -84,7 +84,7 @@ jobs:
- name: Build Pandas
run: |
python setup.py build_ext -q -j1
python -m pip install -e . --no-build-isolation --no-use-pep517
python -m pip install -e . --no-build-isolation --no-use-pep517 --no-index
- name: Build Version
run: |
2 changes: 1 addition & 1 deletion doc/_templates/pandas_footer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<p class="copyright">
&copy {{copyright}} pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> Hosted by <a href="https://www.ovhcloud.com">OVH Cloud</a>.
&copy {{copyright}} pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> Hosted by <a href="https://www.ovhcloud.com">OVHcloud</a>.
</p>
1 change: 1 addition & 0 deletions doc/redirects.csv
Original file line number Diff line number Diff line change
@@ -45,6 +45,7 @@ contributing_docstring,development/contributing_docstring
developer,development/developer
extending,development/extending
internals,development/internals
development/meeting,community

# api moved function
reference/api/pandas.io.json.json_normalize,pandas.json_normalize
10 changes: 5 additions & 5 deletions doc/source/_static/index_api.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions doc/source/_static/index_contribute.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/source/_static/index_getting_started.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/source/_static/index_user_guide.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions doc/source/_static/logo_sas_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading