Skip to content

Commit ba00973

Browse files
committed
API: remove deprecated _verbose_info (GH3215)
1 parent 9ae8499 commit ba00973

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

doc/source/release.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ API Changes
235235
on indexes on non ``Float64Index`` will raise a ``TypeError``, e.g. ``Series(range(5))[3.5:4.5]`` (:issue:`263`)
236236
- Make Categorical repr nicer (:issue:`4368`)
237237
- Remove deprecated ``Factor`` (:issue:`3650`)
238-
- Remove ``set_printoptions/reset_printoptions`` (:issue:``3046``)
238+
- Remove deprecated ``set_printoptions/reset_printoptions`` (:issue:``3046``)
239+
- Remove deprecated ``_verbose_info`` (:issue:`3215`)
239240

240241
Internal Refactoring
241242
~~~~~~~~~~~~~~~~~~~~

doc/source/v0.13.0.txt

+4
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ API changes
6868
df1 and df2
6969
s1 and s2
7070

71+
- Remove deprecated ``Factor`` (:issue:`3650`)
72+
- Remove deprecated ``set_printoptions/reset_printoptions`` (:issue:``3046``)
73+
- Remove deprecated ``_verbose_info`` (:issue:`3215`)
74+
7175
Indexing API Changes
7276
~~~~~~~~~~~~~~~~~~~~
7377

pandas/core/frame.py

-7
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@ class DataFrame(NDFrame):
371371
read_csv / read_table / read_clipboard
372372
"""
373373
_auto_consolidate = True
374-
_verbose_info = True
375374

376375
@property
377376
def _constructor(self):
@@ -554,12 +553,6 @@ def _init_ndarray(self, values, index, columns, dtype=None,
554553

555554
return create_block_manager_from_blocks([values.T], [columns, index])
556555

557-
@property
558-
def _verbose_info(self):
559-
warnings.warn('The _verbose_info property will be removed in version '
560-
'0.13. please use "max_info_rows"', FutureWarning)
561-
return get_option('display.max_info_rows') is None
562-
563556
@property
564557
def axes(self):
565558
return [self.index, self.columns]

pandas/sparse/frame.py

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class SparseDataFrame(DataFrame):
4646
Default fill_value for converting Series to SparseSeries. Will not
4747
override SparseSeries passed in
4848
"""
49-
_verbose_info = False
5049
_constructor_sliced = SparseSeries
5150
_subtyp = 'sparse_frame'
5251

0 commit comments

Comments
 (0)