Skip to content

Commit bee8769

Browse files
DOC: document public/private subpackages in api.rst
1 parent 1f16ca7 commit bee8769

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

doc/source/api.rst

+43
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55
API Reference
66
*************
77

8+
This page gives an overview of all public pandas objects, functions and
9+
methods. In general, all classes and functions exposed in the top-level
10+
``pandas.*`` namespace are regarded as public.
11+
12+
Further some of the subpackages are public, including ``pandas.errors``,
13+
``pandas.plotting``, and ``pandas.testing``. Certain functions in the the
14+
``pandas.io`` and ``pandas.tseries`` submodules are public as well (those
15+
mentioned in the documentation). Further, the ``pandas.api.types`` subpackage
16+
holds some public functions related to data types in pandas.
17+
18+
19+
.. warning::
20+
21+
The ``pandas.core``, ``pandas.compat``, and ``pandas.util`` top-level modules are considered to be PRIVATE. Stability of functionality in those modules in not guaranteed.
22+
23+
824
.. _api.functions:
925

1026
Input/Output
@@ -1896,3 +1912,30 @@ Testing functions
18961912
testing.assert_frame_equal
18971913
testing.assert_series_equal
18981914
testing.assert_index_equal
1915+
1916+
1917+
Exceptions and warnings
1918+
~~~~~~~~~~~~~~~~~~~~~~~
1919+
1920+
.. autosummary::
1921+
:toctree: generated/
1922+
1923+
errors.DtypeWarning
1924+
errors.EmptyDataError
1925+
errors.OutOfBoundsDatetime
1926+
errors.ParserError
1927+
errors.ParserWarning
1928+
errors.PerformanceWarning
1929+
errors.UnsortedIndexError
1930+
errors.UnsupportedFunctionCall
1931+
1932+
1933+
Data types related functionality
1934+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1935+
1936+
.. autosummary::
1937+
:toctree: generated/
1938+
1939+
api.types.union_categoricals
1940+
api.types.infer_dtype
1941+
api.types.pandas_dtype

0 commit comments

Comments
 (0)