Skip to content

Commit

Permalink
fixed warnings in Table.as_text Docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsp94 committed Oct 15, 2020
1 parent 7633314 commit 7bd10fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datascience/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -2789,7 +2789,7 @@ def as_text(self, max_rows=0, sep=" | "):
Returns:
String form of the table
The table is just converted to a string with columns seperated by the seperator(argument- default(' | ')) and rows seperated by '\n'
The table is just converted to a string with columns seperated by the seperator(argument- default(' | ')) and rows seperated by '\\n'
Few examples of the as_text() method are as follows:
1.
Expand Down Expand Up @@ -2825,14 +2825,14 @@ def as_text(self, max_rows=0, sep=" | "):
>>> sizes_astext
'size | count\\nsmall | 50\\nmedium | 100\\nbig | 50'
3.
>>> sizes_astext = sizes.as_text(1)
>>> sizes_astext
'size | count\\nsmall | 50\\n... (2 rows omitted)'
4.
4.
>>> sizes_astext = sizes.as_text(2, ' - ')
>>> sizes_astext
Expand Down

0 comments on commit 7bd10fb

Please sign in to comment.