|
379 | 379 | merge_asof : Merge on nearest keys.
|
380 | 380 | DataFrame.join : Similar method using indices.
|
381 | 381 |
|
382 |
| -Notes |
383 |
| ------ |
384 |
| -Support for specifying index levels as the `on`, `left_on`, and |
385 |
| -`right_on` parameters was added in version 0.23.0 |
386 |
| -Support for merging named Series objects was added in version 0.24.0 |
387 |
| -
|
388 | 382 | Examples
|
389 | 383 | --------
|
390 | 384 | >>> df1 = pd.DataFrame({'lkey': ['foo', 'bar', 'baz', 'foo'],
|
@@ -1501,7 +1495,7 @@ def dot(self, other: AnyArrayLike | DataFrame) -> DataFrame | Series:
|
1501 | 1495 | This method computes the matrix product between the DataFrame and the
|
1502 | 1496 | values of an other Series, DataFrame or a numpy array.
|
1503 | 1497 |
|
1504 |
| - It can also be called using ``self @ other`` in Python >= 3.5. |
| 1498 | + It can also be called using ``self @ other``. |
1505 | 1499 |
|
1506 | 1500 | Parameters
|
1507 | 1501 | ----------
|
@@ -1619,13 +1613,13 @@ def __matmul__(self, other: AnyArrayLike | DataFrame) -> DataFrame | Series:
|
1619 | 1613 |
|
1620 | 1614 | def __matmul__(self, other: AnyArrayLike | DataFrame) -> DataFrame | Series:
|
1621 | 1615 | """
|
1622 |
| - Matrix multiplication using binary `@` operator in Python>=3.5. |
| 1616 | + Matrix multiplication using binary `@` operator. |
1623 | 1617 | """
|
1624 | 1618 | return self.dot(other)
|
1625 | 1619 |
|
1626 | 1620 | def __rmatmul__(self, other) -> DataFrame:
|
1627 | 1621 | """
|
1628 |
| - Matrix multiplication using binary `@` operator in Python>=3.5. |
| 1622 | + Matrix multiplication using binary `@` operator. |
1629 | 1623 | """
|
1630 | 1624 | try:
|
1631 | 1625 | return self.T.dot(np.transpose(other)).T
|
@@ -2700,8 +2694,8 @@ def to_feather(self, path: FilePath | WriteBuffer[bytes], **kwargs) -> None:
|
2700 | 2694 | it will be used as Root Directory path when writing a partitioned dataset.
|
2701 | 2695 | **kwargs :
|
2702 | 2696 | Additional keywords passed to :func:`pyarrow.feather.write_feather`.
|
2703 |
| - Starting with pyarrow 0.17, this includes the `compression`, |
2704 |
| - `compression_level`, `chunksize` and `version` keywords. |
| 2697 | + This includes the `compression`, `compression_level`, `chunksize` |
| 2698 | + and `version` keywords. |
2705 | 2699 |
|
2706 | 2700 | .. versionadded:: 1.1.0
|
2707 | 2701 |
|
@@ -4631,8 +4625,8 @@ def select_dtypes(self, include=None, exclude=None) -> Self:
|
4631 | 4625 | * To select timedeltas, use ``np.timedelta64``, ``'timedelta'`` or
|
4632 | 4626 | ``'timedelta64'``
|
4633 | 4627 | * To select Pandas categorical dtypes, use ``'category'``
|
4634 |
| - * To select Pandas datetimetz dtypes, use ``'datetimetz'`` (new in |
4635 |
| - 0.20.0) or ``'datetime64[ns, tz]'`` |
| 4628 | + * To select Pandas datetimetz dtypes, use ``'datetimetz'`` |
| 4629 | + or ``'datetime64[ns, tz]'`` |
4636 | 4630 |
|
4637 | 4631 | Examples
|
4638 | 4632 | --------
|
@@ -9983,9 +9977,6 @@ def join(
|
9983 | 9977 | Parameters `on`, `lsuffix`, and `rsuffix` are not supported when
|
9984 | 9978 | passing a list of `DataFrame` objects.
|
9985 | 9979 |
|
9986 |
| - Support for specifying index levels as the `on` parameter was added |
9987 |
| - in version 0.23.0. |
9988 |
| -
|
9989 | 9980 | Examples
|
9990 | 9981 | --------
|
9991 | 9982 | >>> df = pd.DataFrame({'key': ['K0', 'K1', 'K2', 'K3', 'K4', 'K5'],
|
|
0 commit comments