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