@@ -1414,7 +1414,7 @@ def to_stata(
1414
1414
write_index = write_index )
1415
1415
writer .write_file ()
1416
1416
1417
- @Appender (fmt .common_docstring + fmt . justify_docstring + fmt . return_docstring , indents = 1 )
1417
+ @Appender (fmt .docstring_to_string , indents = 1 )
1418
1418
def to_string (self , buf = None , columns = None , col_space = None ,
1419
1419
header = True , index = True , na_rep = 'NaN' , formatters = None ,
1420
1420
float_format = None , sparsify = None , index_names = True ,
@@ -1442,7 +1442,7 @@ def to_string(self, buf=None, columns=None, col_space=None,
1442
1442
result = formatter .buf .getvalue ()
1443
1443
return result
1444
1444
1445
- @Appender (fmt .common_docstring + fmt . justify_docstring + fmt . return_docstring , indents = 1 )
1445
+ @Appender (fmt .docstring_to_string , indents = 1 )
1446
1446
def to_html (self , buf = None , columns = None , col_space = None , colSpace = None ,
1447
1447
header = True , index = True , na_rep = 'NaN' , formatters = None ,
1448
1448
float_format = None , sparsify = None , index_names = True ,
0 commit comments