Skip to content

Commit 4873f9d

Browse files
authored
chore: fix docstrings typos (#1134)
* chore: fix docstring typos * fix docstrings typos
1 parent 4ef8bac commit 4873f9d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

notebooks/remote_functions/remote_function.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@
903903
}
904904
],
905905
"source": [
906-
"# Let's try to simulate a scenario in which user shares this remote funciton to\n",
906+
"# Let's try to simulate a scenario in which user shares this remote function to\n",
907907
"# their colleague who simply wants to reuse it. BigFrames provides an API to do\n",
908908
"# so via `read_gbq_function`. Usage details are available via `help` command.\n",
909909
"help(pd.read_gbq_function)"

third_party/bigframes_vendored/pandas/core/frame.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2649,7 +2649,7 @@ def add(self, other, axis: str | int = "columns") -> DataFrame:
26492649
raise NotImplementedError(constants.ABSTRACT_METHOD_ERROR_MESSAGE)
26502650

26512651
def __add__(self, other) -> DataFrame:
2652-
"""Get addition of DataFrame and other, column-wise, using arithmatic
2652+
"""Get addition of DataFrame and other, column-wise, using arithmetic
26532653
operator `+`.
26542654
26552655
Equivalent to ``DataFrame.add(other)``.
@@ -3308,7 +3308,7 @@ def floordiv(self, other, axis: str | int = "columns") -> DataFrame:
33083308

33093309
def __floordiv__(self, other):
33103310
"""
3311-
Get integer divison of DataFrame by other, using arithmatic operator `//`.
3311+
Get integer division of DataFrame by other, using arithmetic operator `//`.
33123312
33133313
Equivalent to `DataFrame.floordiv(other)`.
33143314
@@ -4358,7 +4358,7 @@ def merge(
43584358
>>> import bigframes.pandas as bpd
43594359
>>> bpd.options.display.progress_bar = None
43604360
4361-
Merge DataFrames df1 and df2 by specifiying type of merge:
4361+
Merge DataFrames df1 and df2 by specifying type of merge:
43624362
43634363
>>> df1 = bpd.DataFrame({'a': ['foo', 'bar'], 'b': [1, 2]})
43644364
>>> df1

third_party/bigframes_vendored/pandas/core/series.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ def apply(
11911191
>>> import bigframes.pandas as bpd
11921192
>>> bpd.options.display.progress_bar = None
11931193
1194-
For applying arbitrary python function a `remote_funciton` is recommended.
1194+
For applying arbitrary python function a `remote_function` is recommended.
11951195
Let's use ``reuse=False`` flag to make sure a new `remote_function`
11961196
is created every time we run the following code, but you can skip it
11971197
to potentially reuse a previously deployed `remote_function` from
@@ -2663,7 +2663,7 @@ def floordiv(self, other) -> Series:
26632663

26642664
def __floordiv__(self, other):
26652665
"""
2666-
Get integer divison of Series by other, using arithmatic operator `//`.
2666+
Get integer division of Series by other, using arithmetic operator `//`.
26672667
26682668
Equivalent to `Series.floordiv(other)`.
26692669
@@ -2716,7 +2716,7 @@ def rfloordiv(self, other) -> Series:
27162716

27172717
def __rfloordiv__(self, other):
27182718
"""
2719-
Get integer divison of other by Series, using arithmatic operator `//`.
2719+
Get integer division of other by Series, using arithmetic operator `//`.
27202720
27212721
Equivalent to `Series.rfloordiv(other)`.
27222722
@@ -2725,7 +2725,7 @@ def __rfloordiv__(self, other):
27252725
Object to divide by the Series.
27262726
27272727
Returns:
2728-
Series: The result of the integer divison.
2728+
Series: The result of the integer division.
27292729
"""
27302730
raise NotImplementedError(constants.ABSTRACT_METHOD_ERROR_MESSAGE)
27312731

0 commit comments

Comments
 (0)