Skip to content

Commit 1957796

Browse files
author
y-p
committed
CLN: clarify message for deprecated pandas-dev#2918 df._verbose_info_
1 parent 184f2db commit 1957796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -565,14 +565,14 @@ def _wrap_array(self, arr, axes, copy=False):
565565
def _verbose_info(self):
566566
import warnings
567567
warnings.warn('The _verbose_info property will be removed in version '
568-
'0.12', FutureWarning)
568+
'0.12. please use "max_info_rows"', FutureWarning)
569569
return get_option('display.max_info_rows') is None
570570

571571
@_verbose_info.setter
572572
def _verbose_info(self, value):
573573
import warnings
574574
warnings.warn('The _verbose_info property will be removed in version '
575-
'0.12', FutureWarning)
575+
'0.12. please use "max_info_rows"', FutureWarning)
576576

577577
value = None if value else 1000000
578578
set_option('display.max_info_rows', value)

0 commit comments

Comments
 (0)