Skip to content

Commit

Permalink
CLN: Removed outtype in DataFrame.to_dict (pandas-dev#13627)
Browse files Browse the repository at this point in the history
Follows up from pandas-dev#8486 in 0.15.0 by removing outtype in DataFrame.to_dict()
  • Loading branch information
gfyoung authored and nateGeorge committed Aug 15, 2016
1 parent 05a2d04 commit c4e93bd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 13 additions & 0 deletions doc/source/whatsnew/v0.19.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,19 @@ Deprecations
- top-level ``pd.ordered_merge()`` has been renamed to ``pd.merge_ordered()`` and the original name will be removed in a future version (:issue:`13358`)
- ``Timestamp.offset`` property (and named arg in the constructor), has been deprecated in favor of ``freq`` (:issue:`12160`)

<<<<<<< HEAD
=======

.. _whatsnew_0190.prior_deprecations:

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`)


>>>>>>> 7c357d2... CLN: Removed outtype in DataFrame.to_dict (#13627)
.. _whatsnew_0190.performance:

Performance Improvements
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 c4e93bd

Please sign in to comment.