|
310 | 310 |
|
311 | 311 | class DataFrame(NDFrame):
|
312 | 312 | """
|
313 |
| - Two-dimensional size-mutable, potentially heterogeneous tabular data |
314 |
| - structure with labeled axes (rows and columns). Arithmetic operations |
315 |
| - align on both row and column labels. Can be thought of as a dict-like |
316 |
| - container for Series objects. The primary pandas data structure. |
| 313 | + Two-dimensional, size-mutable, potentially heterogeneous tabular data. |
| 314 | +
|
| 315 | + Data structure also contains labeled axes (rows and columns). |
| 316 | + Arithmetic operations align on both row and column labels. Can be |
| 317 | + thought of as a dict-like container for Series objects. The primary |
| 318 | + pandas data structure. |
317 | 319 |
|
318 | 320 | Parameters
|
319 | 321 | ----------
|
@@ -4798,8 +4800,9 @@ def dropna(self, axis=0, how="any", thresh=None, subset=None, inplace=False):
|
4798 | 4800 |
|
4799 | 4801 | def drop_duplicates(self, subset=None, keep="first", inplace=False):
|
4800 | 4802 | """
|
4801 |
| - Return DataFrame with duplicate rows removed, optionally only |
4802 |
| - considering certain columns. Indexes, including time indexes |
| 4803 | + Return DataFrame with duplicate rows removed. |
| 4804 | +
|
| 4805 | + Considering certain columns is optional. Indexes, including time indexes |
4803 | 4806 | are ignored.
|
4804 | 4807 |
|
4805 | 4808 | Parameters
|
@@ -4834,8 +4837,9 @@ def drop_duplicates(self, subset=None, keep="first", inplace=False):
|
4834 | 4837 |
|
4835 | 4838 | def duplicated(self, subset=None, keep="first"):
|
4836 | 4839 | """
|
4837 |
| - Return boolean Series denoting duplicate rows, optionally only |
4838 |
| - considering certain columns. |
| 4840 | + Return boolean Series denoting duplicate rows. |
| 4841 | +
|
| 4842 | + Considering certain columns is optional. |
4839 | 4843 |
|
4840 | 4844 | Parameters
|
4841 | 4845 | ----------
|
@@ -7536,9 +7540,12 @@ def cov(self, min_periods=None):
|
7536 | 7540 |
|
7537 | 7541 | def corrwith(self, other, axis=0, drop=False, method="pearson"):
|
7538 | 7542 | """
|
7539 |
| - Compute pairwise correlation between rows or columns of DataFrame |
7540 |
| - with rows or columns of Series or DataFrame. DataFrames are first |
7541 |
| - aligned along both axes before computing the correlations. |
| 7543 | + Compute pairwise correlation. |
| 7544 | +
|
| 7545 | + Pairwise correlation is computed between rows or columns of |
| 7546 | + DataFrame with rows or columns of Series or DataFrame. DataFrames |
| 7547 | + are first aligned along both axes before computing the |
| 7548 | + correlations. |
7542 | 7549 |
|
7543 | 7550 | Parameters
|
7544 | 7551 | ----------
|
|
0 commit comments