Skip to content

Commit bddeb26

Browse files
committed
trailing whitespace
1 parent 445c7ed commit bddeb26

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pandas/core/frame.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@
350350
* "many_to_one" or "m:1": check if merge keys are unique in right
351351
dataset.
352352
* "many_to_many" or "m:m": allowed, but does not result in checks.
353+
preserve_index : str, optional
354+
____________
353355
354356
Returns
355357
-------
@@ -8564,7 +8566,7 @@ def pivot(self, index=None, columns=None, values=None) -> DataFrame:
85648566
margins : bool, default False
85658567
Add all row / columns (e.g. for subtotal / grand totals).
85668568
dropna : bool, default True
8567-
Do not include columns whose entries are all NaN. If true:
8569+
Do not include columns whose entries are all NaN. If true:
85688570
exclude rows containing missing data from aggregated margins.
85698571
margins_name : str, default 'All'
85708572
Name of the row / column that will contain the totals
@@ -10047,6 +10049,8 @@ def merge(
1004710049
copy: bool = True,
1004810050
indicator: bool = False,
1004910051
validate: str | None = None,
10052+
preserve_index: str | None = None,
10053+
1005010054
) -> DataFrame:
1005110055
from pandas.core.reshape.merge import merge
1005210056

@@ -10064,6 +10068,7 @@ def merge(
1006410068
copy=copy,
1006510069
indicator=indicator,
1006610070
validate=validate,
10071+
preserve_index=preserve_index,
1006710072
)
1006810073

1006910074
def round(

0 commit comments

Comments
 (0)