@@ -1396,7 +1396,7 @@ def to_stata(
1396
1396
writer .write_file ()
1397
1397
1398
1398
@Appender (fmt .docstring_to_string , indents = 1 )
1399
- def to_string (self , buf = None , columns = None , col_space = None , colSpace = None ,
1399
+ def to_string (self , buf = None , columns = None , col_space = None ,
1400
1400
header = True , index = True , na_rep = 'NaN' , formatters = None ,
1401
1401
float_format = None , sparsify = None , index_names = True ,
1402
1402
justify = None , line_width = None , max_rows = None , max_cols = None ,
@@ -1405,11 +1405,6 @@ def to_string(self, buf=None, columns=None, col_space=None, colSpace=None,
1405
1405
Render a DataFrame to a console-friendly tabular output.
1406
1406
"""
1407
1407
1408
- if colSpace is not None : # pragma: no cover
1409
- warnings .warn ("colSpace is deprecated, use col_space" ,
1410
- FutureWarning )
1411
- col_space = colSpace
1412
-
1413
1408
formatter = fmt .DataFrameFormatter (self , buf = buf , columns = columns ,
1414
1409
col_space = col_space , na_rep = na_rep ,
1415
1410
formatters = formatters ,
0 commit comments