|
34 | 34 |
|
35 | 35 |
|
36 | 36 | frame_max_cols_sub = dedent(
|
37 |
| - """\ |
| 37 | + """ |
38 | 38 | max_cols : int, optional
|
39 | 39 | When to switch from the verbose to the truncated output. If the
|
40 | 40 | DataFrame has more than `max_cols` columns, the truncated output
|
|
44 | 44 |
|
45 | 45 |
|
46 | 46 | show_counts_sub = dedent(
|
47 |
| - """\ |
| 47 | + """ |
48 | 48 | show_counts : bool, optional
|
49 | 49 | Whether to show the non-null counts. By default, this is shown
|
50 | 50 | only if the DataFrame is smaller than
|
|
54 | 54 | )
|
55 | 55 |
|
56 | 56 | null_counts_sub = dedent(
|
57 |
| - """\ |
| 57 | + """ |
58 | 58 | null_counts : bool, optional
|
59 | 59 | .. deprecated:: 1.2.0
|
60 | 60 | Use show_counts instead."""
|
61 | 61 | )
|
62 | 62 |
|
63 | 63 |
|
64 | 64 | frame_examples_sub = dedent(
|
65 |
| - """\ |
| 65 | + """ |
66 | 66 | >>> int_values = [1, 2, 3, 4, 5]
|
67 | 67 | >>> text_values = ['alpha', 'beta', 'gamma', 'delta', 'epsilon']
|
68 | 68 | >>> float_values = [0.0, 0.25, 0.5, 0.75, 1.0]
|
|
148 | 148 |
|
149 | 149 |
|
150 | 150 | frame_see_also_sub = dedent(
|
151 |
| - """\ |
| 151 | + """ |
152 | 152 | DataFrame.describe: Generate descriptive statistics of DataFrame
|
153 | 153 | columns.
|
154 | 154 | DataFrame.memory_usage: Memory usage of DataFrame columns."""
|
|
168 | 168 |
|
169 | 169 |
|
170 | 170 | series_examples_sub = dedent(
|
171 |
| - """\ |
| 171 | + """ |
172 | 172 | >>> int_values = [1, 2, 3, 4, 5]
|
173 | 173 | >>> text_values = ['alpha', 'beta', 'gamma', 'delta', 'epsilon']
|
174 | 174 | >>> s = pd.Series(text_values, index=int_values)
|
|
230 | 230 |
|
231 | 231 |
|
232 | 232 | series_see_also_sub = dedent(
|
233 |
| - """\ |
| 233 | + """ |
234 | 234 | Series.describe: Generate descriptive statistics of Series.
|
235 | 235 | Series.memory_usage: Memory usage of Series."""
|
236 | 236 | )
|
|
280 | 280 | made based in column dtype and number of rows assuming values
|
281 | 281 | consume the same memory amount for corresponding dtypes. With deep
|
282 | 282 | memory introspection, a real memory usage calculation is performed
|
283 |
| - at the cost of computational resources. |
284 |
| - {show_counts_sub} |
| 283 | + at the cost of computational resources.\ |
| 284 | + {show_counts_sub}\ |
285 | 285 | {null_counts_sub}
|
286 | 286 |
|
287 | 287 | Returns
|
|
290 | 290 | This method prints a summary of a {klass} and returns None.
|
291 | 291 |
|
292 | 292 | See Also
|
293 |
| - -------- |
| 293 | + --------\ |
294 | 294 | {see_also_sub}
|
295 | 295 |
|
296 | 296 | Examples
|
297 |
| - -------- |
| 297 | + --------\ |
298 | 298 | {examples_sub}
|
299 | 299 | """
|
300 | 300 | )
|
|
0 commit comments