Skip to content

Updation of fork #8

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

Merged
merged 89 commits into from
Sep 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
66e83cc
REGR: follow-up to return copy with df.interpolate on empty DataFrame…
simonjayhawkins Aug 18, 2020
97ec062
CLN: remove unused variable (#35783)
jbrockmendel Aug 18, 2020
ddf4f24
DOC: clean v1.1.1 release notes (#35787)
simonjayhawkins Aug 19, 2020
33593a4
lreshape and wide_to_long documentation (Closes #33417) (#33418)
tpanza Aug 19, 2020
06f1718
Changed 'int' type to 'integer' in to_numeric docstring (#35776)
edwardkong Aug 19, 2020
bdc7bb1
CI: Unpin Pytest + Pytest Asyncio Min Version (#35757)
alimcmaster1 Aug 19, 2020
a1ac051
BUG: pd.crosstab fails when passed multiple columns, margins True and…
CloseChoice Aug 19, 2020
71dfed7
ENH: GH-35611 Tests for top-level Pandas functions serializable (#35692)
ikedaosushi Aug 19, 2020
eec6080
fix bug when combining groupby with resample and interpolate with dat…
CloseChoice Aug 19, 2020
5d18e13
CI: unpin numpy and matplotlib #35779 (#35780)
fangchenli Aug 19, 2020
741a21b
CI/DOC: unpin sphinx, fix autodoc usage (#35815)
fangchenli Aug 20, 2020
073048f
CI: more xfail failing 32-bit tests (#35809)
simonjayhawkins Aug 20, 2020
2778c3e
ROADMAP: add consistent missing values for all dtypes to the roadmap …
jorisvandenbossche Aug 20, 2020
6b24380
DOC: another pass of v1.1.1 release notes (#35801)
simonjayhawkins Aug 20, 2020
8cbf46b
Add new core members (#35812)
alimcmaster1 Aug 20, 2020
98d8065
REF: insert self.on column _after_ concat (#35746)
jbrockmendel Aug 20, 2020
a67e988
Pyarrow Min Versoin (#35828)
alimcmaster1 Aug 20, 2020
db6414f
DOC: Start 1.1.2 (#35825)
simonjayhawkins Aug 20, 2020
8f79543
DOC: timezone warning for dates beyond TODAY (#34100)
joooeey Aug 21, 2020
712ffbd
Moto server (#35655)
martindurant Aug 21, 2020
0e199f3
REF: simplify _cython_agg_blocks (#35841)
jbrockmendel Aug 21, 2020
4e3940f
CI: avoid file leak from ipython tests (#35836)
jbrockmendel Aug 21, 2020
5746d34
CI/DOC: unpin gitdb #35823 (#35824)
fangchenli Aug 21, 2020
7e91937
BUG: issubclass check with dtype instead of type, closes GH#24883 (#3…
jbrockmendel Aug 21, 2020
9468071
REF: _apply_blockwise define exclude in terms of skipped (#35740)
jbrockmendel Aug 21, 2020
8bf2bc4
TST: add test for agg on ordered categorical cols (#35630)
mathurk1 Aug 21, 2020
e2a622c
TST: resample does not yield empty groups (#10603) (#35799)
tkmz-n Aug 21, 2020
3ff1b5f
REF: remove unnecesary try/except (#35839)
jbrockmendel Aug 22, 2020
82f9a0e
BUG: DataFrame.apply with result_type=reduce incorrect index (#35777)
jbrockmendel Aug 22, 2020
3269f54
Avoid redirect (#35674)
chankeypathak Aug 22, 2020
068e654
PERF: Allow jitting of groupby agg loop (#35759)
mroeschke Aug 22, 2020
23b1717
DOC: Fixed docstring for mode() (#35624)
MarianD Aug 22, 2020
ee8967f
REF: move towards making _apply_blockwise actually block-wise (#35730)
jbrockmendel Aug 23, 2020
eca6068
DOC: Fix code of conduct link (#35857)
Aug 23, 2020
a23af4e
DOC: Mention NA for missing data in README (#35638)
dsaxton Aug 24, 2020
da667af
CLN/PERF: delay evaluation of get_day_of_month (#35866)
jbrockmendel Aug 24, 2020
0798380
DOC: Updated aggregate docstring (#35042)
gurukiran07 Aug 24, 2020
03fc7f9
DEPR: deprecate dtype param in Index.copy (#35853)
topper-123 Aug 24, 2020
a3e94de
REF: use Block.apply in cython_agg_blocks (#35854)
jbrockmendel Aug 24, 2020
0fde208
REF: implement Block.reduce for DataFrame._reduce (#35867)
jbrockmendel Aug 24, 2020
02b0a86
REF: make window _apply_blockwise actually blockwise (#35861)
jbrockmendel Aug 24, 2020
5a0059d
COMPAT: Ensure rolling indexers return intp during take operations (#…
mroeschke Aug 24, 2020
e582602
REGR: DatetimeIndex.intersection incorrectly raising AssertionError (…
jbrockmendel Aug 24, 2020
8607a93
DOC: fix documentation for pandas.Series.transform (#35885)
onshek Aug 25, 2020
d3d74c5
TST: Fix test_parquet failures for pyarrow 1.0 (#35814)
alimcmaster1 Aug 25, 2020
e87b8bc
BUG: to_dict_of_blocks failing to invalidate item_cache (#35874)
jbrockmendel Aug 25, 2020
2f15d1c
REF: reuse _combine instead of reset_dropped_locs (#35884)
jbrockmendel Aug 25, 2020
c74ed38
DOC: avoid StorageOptions type alias in docstrings (#35894)
jorisvandenbossche Aug 25, 2020
9f3e429
CI: Mark s3 tests parallel safe (#35895)
TomAugspurger Aug 26, 2020
d90b73b
CLN/BUG: Clean/Simplify _wrap_applied_output (#35792)
rhshadrach Aug 26, 2020
b7a31eb
PERF: RangeIndex.format performance (#35712)
topper-123 Aug 26, 2020
e666f5c
TST: Verify whether read-only datetime64 array can be factorized (356…
avinashpancham Aug 26, 2020
d1e29be
Bump asv Python version (#35798)
dsaxton Aug 26, 2020
d0ca4b3
Fix Series construction from Sparse["datetime64[ns]"] (#35838)
dsaxton Aug 27, 2020
e3bcf8d
Attempt to unpin pytest-xdist (#35910)
alimcmaster1 Aug 27, 2020
a1f6056
TYP: annotate tseries.holiday (#35913)
jbrockmendel Aug 27, 2020
1f35b06
TYP: annotations in pandas.plotting (#35935)
jbrockmendel Aug 28, 2020
328a1dc
remove unnecessary trailing commas (#35930)
MarcoGorelli Aug 28, 2020
47af138
CLN remove unnecessary trailing commas to get ready for new version o…
MarcoGorelli Aug 28, 2020
00cb992
CLN remove unnecessary trailing commas to get ready for new version o…
MarcoGorelli Aug 28, 2020
85d048b
TYP: misc cleanup in core\groupby\generic.py (#35955)
simonjayhawkins Aug 28, 2020
cb76a6d
Issue35925 remove trailing commas (#35956)
jpribyl Aug 28, 2020
c413df6
Issue35925 remove more trailing commas (#35959)
jpribyl Aug 28, 2020
92e4bd5
TYP: misc typing cleanups for #32911 (#35954)
simonjayhawkins Aug 29, 2020
b1da4a6
TYP: misc cleanup in core\generic.py (#35963)
simonjayhawkins Aug 29, 2020
5368397
TYP: annotate plotting based on _get_axe_freq (#35960)
jbrockmendel Aug 30, 2020
9632f2e
TYP: Remove NDFrame._add_series_or_dataframe_operations (#35957)
topper-123 Aug 30, 2020
48098ce
TYP: Annotations (#35933)
jbrockmendel Aug 30, 2020
972f491
TYP: annotate plotting._matplotlib.converter (#35978)
jbrockmendel Aug 30, 2020
5a9ee74
TYP: misc typing cleanups for #29116 (#35953)
simonjayhawkins Aug 30, 2020
1a576eb
TYP: check_untyped_defs core.dtypes.cast (#35992)
simonjayhawkins Aug 31, 2020
e5af011
Issue35925 Remove trailing commas (#35996)
metehankutlu Aug 31, 2020
0e621bc
TYP: annotate plotting._matplotlib.tools (#35968)
jbrockmendel Aug 31, 2020
132e191
TYP: annotations in core.groupby (#35939)
jbrockmendel Aug 31, 2020
b45327f
REGR: Fix inplace updates on column to set correct values (#35936)
jorisvandenbossche Aug 31, 2020
f46ebe8
TYP: misc typing fixes for pandas\core\frame.py (#35990)
simonjayhawkins Aug 31, 2020
6043ba5
CI: suppress another setuptools warning (#36011)
jbrockmendel Aug 31, 2020
b8981f4
TYP: typing errors in _xlsxwriter.py #35994 (#35995)
fangchenli Aug 31, 2020
7254769
DOC clean up doc/source/getting_started/overview.rst (#35981)
0xpranjal Aug 31, 2020
8f33d73
REF: use BlockManager.apply for Rolling.count (#35883)
jbrockmendel Aug 31, 2020
2fd8021
DOC: complement the documentation for pandas.DataFrame.agg #35912 (#3…
onshek Aug 31, 2020
54ce729
Update SparseDtype user guide doc (#35837)
dsaxton Aug 31, 2020
094c7ca
clarify VS installer instructions (#35640)
bdforbes Aug 31, 2020
a7a7f6c
TYP: check_untyped_defs core.internals.concat (#36008)
simonjayhawkins Aug 31, 2020
945a543
CLN: window/rolling.py (#35982)
mroeschke Aug 31, 2020
668724b
TYP: misc typing cleanup for core/computation/expressions.py (#36005)
simonjayhawkins Aug 31, 2020
bcb9e1b
BUG: Attributes are lost when subsetting columns in groupby (#35444)
rhshadrach Aug 31, 2020
d7f30b4
REGR: Fix comparison broadcasting over array of Intervals (#35938)
dsaxton Aug 31, 2020
b528be6
BUG: None in Float64Index raising TypeError, should return False (#35…
jbrockmendel Sep 1, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ its way towards this goal.
Here are just a few of the things that pandas does well:

- Easy handling of [**missing data**][missing-data] (represented as
`NaN`) in floating point as well as non-floating point data
`NaN`, `NA`, or `NaT`) in floating point as well as non-floating point data
- Size mutability: columns can be [**inserted and
deleted**][insertion-deletion] from DataFrame and higher dimensional
objects
Expand Down
2 changes: 1 addition & 1 deletion asv_bench/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// The Pythons you'd like to test against. If not provided, defaults
// to the current version of Python used to run `asv`.
// "pythons": ["2.7", "3.4"],
"pythons": ["3.6"],
"pythons": ["3.8"],

// The matrix of dependencies to test. Each key is the name of a
// package (in PyPI) and the values are version numbers. An empty
Expand Down
1 change: 1 addition & 0 deletions ci/deps/azure-37-locale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies:
- lxml
- matplotlib>=3.3.0
- moto
- flask
- nomkl
- numexpr
- numpy=1.16.*
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/azure-37-slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ dependencies:
- python-dateutil
- pytz
- s3fs>=0.4.0
- moto>=1.3.14
- scipy
- sqlalchemy
- xlrd
- xlsxwriter
- xlwt
- moto
- flask
6 changes: 4 additions & 2 deletions ci/deps/azure-38-locale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ dependencies:

# tools
- cython>=0.29.16
- pytest>=5.0.1,<6.0.0 # https://github.com/pandas-dev/pandas/issues/35620
- pytest>=5.0.1
- pytest-xdist>=1.21
- pytest-asyncio
- pytest-asyncio>=0.12.0
- hypothesis>=3.58.0
- pytest-azurepipelines

# pandas dependencies
- beautifulsoup4
- flask
- html5lib
- ipython
- jinja2
Expand All @@ -32,6 +33,7 @@ dependencies:
- xlrd
- xlsxwriter
- xlwt
- moto
- pyarrow>=0.15
- pip
- pip:
Expand Down
9 changes: 5 additions & 4 deletions ci/deps/azure-windows-37.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,29 @@ dependencies:
# tools
- cython>=0.29.16
- pytest>=5.0.1
- pytest-xdist>=1.21,<2.0.0 # GH 35737
- pytest-xdist>=1.21
- hypothesis>=3.58.0
- pytest-azurepipelines

# pandas dependencies
- beautifulsoup4
- bottleneck
- fsspec>=0.7.4
- fsspec>=0.8.0
- gcsfs>=0.6.0
- html5lib
- jinja2
- lxml
- matplotlib=2.2.*
- moto
- moto>=1.3.14
- flask
- numexpr
- numpy=1.16.*
- openpyxl
- pyarrow=0.15
- pytables
- python-dateutil
- pytz
- s3fs>=0.4.0
- s3fs>=0.4.2
- scipy
- sqlalchemy
- xlrd
Expand Down
6 changes: 5 additions & 1 deletion ci/deps/azure-windows-38.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ dependencies:
# tools
- cython>=0.29.16
- pytest>=5.0.1
- pytest-xdist>=1.21,<2.0.0 # GH 35737
- pytest-xdist>=1.21
- hypothesis>=3.58.0
- pytest-azurepipelines

# pandas dependencies
- blosc
- bottleneck
- fastparquet>=0.3.2
- flask
- fsspec>=0.8.0
- matplotlib=3.1.3
- moto>=1.3.14
- numba
- numexpr
- numpy=1.18.*
Expand All @@ -26,6 +29,7 @@ dependencies:
- pytables
- python-dateutil
- pytz
- s3fs>=0.4.0
- scipy
- xlrd
- xlsxwriter
Expand Down
1 change: 1 addition & 0 deletions ci/deps/travis-37-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ dependencies:
- python-dateutil
- pytz
- pip
- flask
- pip:
- moto
3 changes: 2 additions & 1 deletion ci/deps/travis-37-cov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ dependencies:
- geopandas
- html5lib
- matplotlib
- moto
- moto>=1.3.14
- flask
- nomkl
- numexpr
- numpy=1.16.*
Expand Down
3 changes: 2 additions & 1 deletion ci/deps/travis-37-locale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ dependencies:
- jinja2
- lxml=4.3.0
- matplotlib=3.0.*
- moto
- nomkl
- numexpr
- numpy
- openpyxl
- pandas-gbq=0.12.0
- pyarrow>=0.17
- psycopg2=2.7
- pyarrow>=0.15.0 # GH #35813
- pymysql=0.7.11
- pytables
- python-dateutil
Expand Down
4 changes: 2 additions & 2 deletions ci/deps/travis-37.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ dependencies:
- pyarrow
- pytz
- s3fs>=0.4.0
- moto>=1.3.14
- flask
- tabulate
- pyreadstat
- pip
- pip:
- moto
1 change: 1 addition & 0 deletions doc/source/development/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ You will need `Build Tools for Visual Studio 2017
You DO NOT need to install Visual Studio 2019.
You only need "Build Tools for Visual Studio 2019" found by
scrolling down to "All downloads" -> "Tools for Visual Studio 2019".
In the installer, select the "C++ build tools" workload.

**Mac OS**

Expand Down
26 changes: 26 additions & 0 deletions doc/source/development/roadmap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,32 @@ need to implement certain operations expected by pandas users (for example
the algorithm used in, ``Series.str.upper``). That work may be done outside of
pandas.

Consistent missing value handling
---------------------------------

Currently, pandas handles missing data differently for different data types. We
use different types to indicate that a value is missing (``np.nan`` for
floating-point data, ``np.nan`` or ``None`` for object-dtype data -- typically
strings or booleans -- with missing values, and ``pd.NaT`` for datetimelike
data). Integer data cannot store missing data or are cast to float. In addition,
pandas 1.0 introduced a new missing value sentinel, ``pd.NA``, which is being
used for the experimental nullable integer, boolean, and string data types.

These different missing values have different behaviors in user-facing
operations. Specifically, we introduced different semantics for the nullable
data types for certain operations (e.g. propagating in comparison operations
instead of comparing as False).

Long term, we want to introduce consistent missing data handling for all data
types. This includes consistent behavior in all operations (indexing, arithmetic
operations, comparisons, etc.). We want to eventually make the new semantics the
default.

This has been discussed at
`github #28095 <https://github.com/pandas-dev/pandas/issues/28095>`__ (and
linked issues), and described in more detail in this
`design doc <https://hackmd.io/@jorisvandenbossche/Sk0wMeAmB>`__.

Apache Arrow interoperability
-----------------------------

Expand Down
16 changes: 8 additions & 8 deletions doc/source/getting_started/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Package overview
**pandas** is a `Python <https://www.python.org>`__ package providing fast,
flexible, and expressive data structures designed to make working with
"relational" or "labeled" data both easy and intuitive. It aims to be the
fundamental high-level building block for doing practical, **real world** data
fundamental high-level building block for doing practical, **real-world** data
analysis in Python. Additionally, it has the broader goal of becoming **the
most powerful and flexible open source data analysis / manipulation tool
most powerful and flexible open source data analysis/manipulation tool
available in any language**. It is already well on its way toward this goal.

pandas is well suited for many different kinds of data:
Expand All @@ -21,7 +21,7 @@ pandas is well suited for many different kinds of data:
- Ordered and unordered (not necessarily fixed-frequency) time series data.
- Arbitrary matrix data (homogeneously typed or heterogeneous) with row and
column labels
- Any other form of observational / statistical data sets. The data actually
- Any other form of observational / statistical data sets. The data
need not be labeled at all to be placed into a pandas data structure

The two primary data structures of pandas, :class:`Series` (1-dimensional)
Expand Down Expand Up @@ -57,7 +57,7 @@ Here are just a few of the things that pandas does well:
Excel files, databases, and saving / loading data from the ultrafast **HDF5
format**
- **Time series**-specific functionality: date range generation and frequency
conversion, moving window statistics, date shifting and lagging.
conversion, moving window statistics, date shifting, and lagging.

Many of these principles are here to address the shortcomings frequently
experienced using other languages / scientific research environments. For data
Expand Down Expand Up @@ -101,12 +101,12 @@ fashion.

Also, we would like sensible default behaviors for the common API functions
which take into account the typical orientation of time series and
cross-sectional data sets. When using ndarrays to store 2- and 3-dimensional
cross-sectional data sets. When using the N-dimensional array (ndarrays) to store 2- and 3-dimensional
data, a burden is placed on the user to consider the orientation of the data
set when writing functions; axes are considered more or less equivalent (except
when C- or Fortran-contiguousness matters for performance). In pandas, the axes
are intended to lend more semantic meaning to the data; i.e., for a particular
data set there is likely to be a "right" way to orient the data. The goal,
data set, there is likely to be a "right" way to orient the data. The goal,
then, is to reduce the amount of mental effort required to code up data
transformations in downstream functions.

Expand Down Expand Up @@ -148,8 +148,8 @@ pandas possible. Thanks to `all of our contributors <https://github.com/pandas-d
If you're interested in contributing, please visit the :ref:`contributing guide <contributing>`.

pandas is a `NumFOCUS <https://www.numfocus.org/open-source-projects/>`__ sponsored project.
This will help ensure the success of development of pandas as a world-class open-source
project, and makes it possible to `donate <https://pandas.pydata.org/donate.html>`__ to the project.
This will help ensure the success of the development of pandas as a world-class open-source
project and makes it possible to `donate <https://pandas.pydata.org/donate.html>`__ to the project.

Project governance
------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/source/getting_started/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ Various tutorials
* `Intro to pandas data structures, by Greg Reda <http://www.gregreda.com/2013/10/26/intro-to-pandas-data-structures/>`_
* `Pandas and Python: Top 10, by Manish Amde <https://manishamde.github.io/blog/2013/03/07/pandas-and-python-top-10/>`_
* `Pandas DataFrames Tutorial, by Karlijn Willems <https://www.datacamp.com/community/tutorials/pandas-tutorial-dataframe-python>`_
* `A concise tutorial with real life examples <https://tutswiki.com/pandas-cookbook/chapter1>`_
* `A concise tutorial with real life examples <https://tutswiki.com/pandas-cookbook/chapter1/>`_
1 change: 1 addition & 0 deletions doc/source/reference/frame.rst
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ Sparse-dtype specific methods and attributes are provided under the

.. autosummary::
:toctree: api/
:template: autosummary/accessor_method.rst

DataFrame.sparse.from_spmatrix
DataFrame.sparse.to_coo
Expand Down
1 change: 1 addition & 0 deletions doc/source/reference/series.rst
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ Sparse-dtype specific methods and attributes are provided under the

.. autosummary::
:toctree: api/
:template: autosummary/accessor_method.rst

Series.sparse.from_coo
Series.sparse.to_coo
Expand Down
7 changes: 4 additions & 3 deletions doc/source/user_guide/sparse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,15 @@ The :attr:`SparseArray.dtype` property stores two pieces of information
sparr.dtype


A :class:`SparseDtype` may be constructed by passing each of these
A :class:`SparseDtype` may be constructed by passing only a dtype

.. ipython:: python

pd.SparseDtype(np.dtype('datetime64[ns]'))

The default fill value for a given NumPy dtype is the "missing" value for that dtype,
though it may be overridden.
in which case a default fill value will be used (for NumPy dtypes this is often the
"missing" value for that dtype). To override this default an explicit fill value may be
passed instead

.. ipython:: python

Expand Down
9 changes: 7 additions & 2 deletions doc/source/user_guide/timeseries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2319,13 +2319,18 @@ you can use the ``tz_convert`` method.
Instead, the datetime needs to be localized using the ``localize`` method
on the ``pytz`` time zone object.

.. warning::

Be aware that for times in the future, correct conversion between time zones
(and UTC) cannot be guaranteed by any time zone library because a timezone's
offset from UTC may be changed by the respective government.

.. warning::

If you are using dates beyond 2038-01-18, due to current deficiencies
in the underlying libraries caused by the year 2038 problem, daylight saving time (DST) adjustments
to timezone aware dates will not be applied. If and when the underlying libraries are fixed,
the DST transitions will be applied. It should be noted though, that time zone data for far future time zones
are likely to be inaccurate, as they are simple extrapolations of the current set of (regularly revised) rules.
the DST transitions will be applied.

For example, for two dates that are in British Summer Time (and so would normally be GMT+1), both the following asserts evaluate as true:

Expand Down
2 changes: 2 additions & 0 deletions doc/source/user_guide/visualization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ A ``ValueError`` will be raised if there are any negative values in your data.
plt.figure()

.. ipython:: python
:okwarning:

series = pd.Series(3 * np.random.rand(4),
index=['a', 'b', 'c', 'd'], name='series')
Expand Down Expand Up @@ -742,6 +743,7 @@ If you pass values whose sum total is less than 1.0, matplotlib draws a semicirc
plt.figure()

.. ipython:: python
:okwarning:

series = pd.Series([0.1] * 4, index=['a', 'b', 'c', 'd'], name='series2')

Expand Down
1 change: 1 addition & 0 deletions doc/source/whatsnew/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Version 1.1
.. toctree::
:maxdepth: 2

v1.1.2
v1.1.1
v1.1.0

Expand Down
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v0.25.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ with :attr:`numpy.nan` in the case of an empty :class:`DataFrame` (:issue:`26397

.. ipython:: python

df.describe()
df.describe()

``__str__`` methods now call ``__repr__`` rather than vice versa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Loading