Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions doc/source/whatsnew/v0.24.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ Removal of prior version deprecations/changes
- Removed the ``pandas.formats.style`` shim for :class:`pandas.io.formats.style.Styler` (:issue:`16059`)
- :meth:`Categorical.searchsorted` and :meth:`Series.searchsorted` have renamed the ``v`` argument to ``value`` (:issue:`14645`)
- :meth:`TimedeltaIndex.searchsorted`, :meth:`DatetimeIndex.searchsorted`, and :meth:`PeriodIndex.searchsorted` have renamed the ``key`` argument to ``value`` (:issue:`14645`)
- Removal of the previously deprecated module ``pandas.json`` (:issue:`19944`)

.. _whatsnew_0240.performance:

Expand Down
3 changes: 0 additions & 3 deletions pandas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@
# extension module deprecations
from pandas.util._depr_module import _DeprecatedModule

json = _DeprecatedModule(deprmod='pandas.json',
moved={'dumps': 'pandas.io.json.dumps',
'loads': 'pandas.io.json.loads'})
parser = _DeprecatedModule(deprmod='pandas.parser',
removals=['na_values'],
moved={'CParserError': 'pandas.errors.ParserError'})
Expand Down
7 changes: 0 additions & 7 deletions pandas/json.py

This file was deleted.

9 changes: 1 addition & 8 deletions pandas/tests/api/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class TestPDApi(Base):
'util', 'options', 'io']

# these are already deprecated; awaiting removal
deprecated_modules = ['parser', 'json', 'lib', 'tslib']
deprecated_modules = ['parser', 'lib', 'tslib']

# misc
misc = ['IndexSlice', 'NaT']
Expand Down Expand Up @@ -173,13 +173,6 @@ def test_get_store(self):
s.close()


class TestJson(object):

def test_deprecation_access_func(self):
with catch_warnings(record=True):
pd.json.dumps([])


class TestParser(object):

def test_deprecation_access_func(self):
Expand Down