Skip to content

Commit

Permalink
CLN: Removed outtype in DataFrame.to_dict (#13627)
Browse files Browse the repository at this point in the history
Follows up from #8486 in 0.15.0 by removing outtype in DataFrame.to_dict()
  • Loading branch information
gfyoung authored and jorisvandenbossche committed Jul 12, 2016
1 parent dbd5330 commit 7c357d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions doc/source/whatsnew/v0.19.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ Removal of prior version deprecations/changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- ``DataFrame.to_csv()`` has dropped the ``engine`` parameter, as was deprecated in 0.17.1 (:issue:`11274`, :issue:`13419`)
- ``DataFrame.to_dict()`` has dropped the ``outtype`` parameter in favor of ``orient`` (:issue:`13627`, :issue:`8486`)


.. _whatsnew_0190.performance:
Expand Down
1 change: 0 additions & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,6 @@ def from_dict(cls, data, orient='columns', dtype=None):

return cls(data, index=index, columns=columns, dtype=dtype)

@deprecate_kwarg(old_arg_name='outtype', new_arg_name='orient')
def to_dict(self, orient='dict'):
"""Convert DataFrame to dictionary.
Expand Down

0 comments on commit 7c357d2

Please sign in to comment.