Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation issues [skip ci] #10306

Merged
merged 1 commit into from
Feb 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions python/cudf/cudf/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -3857,8 +3857,8 @@ def is_leap_year(self):
Series
Booleans indicating if dates belong to a leap year.

Example
-------
Examples
--------
>>> import pandas as pd, cudf
>>> s = cudf.Series(
... pd.date_range(start='2000-02-01', end='2013-02-01', freq='1Y'))
Expand Down Expand Up @@ -3915,7 +3915,7 @@ def quarter(self):
Integer indicating which quarter the date belongs to.

Examples
-------
--------
>>> import cudf
>>> s = cudf.Series(["2020-05-31 08:00:00","1999-12-31 18:40:00"],
... dtype="datetime64[ms]")
Expand Down Expand Up @@ -3991,8 +3991,8 @@ def days_in_month(self):
Series
Integers representing the number of days in month

Example
-------
Examples
--------
>>> import pandas as pd, cudf
>>> s = cudf.Series(
... pd.date_range(start='2000-08-01', end='2001-08-01', freq='1M'))
Expand Down Expand Up @@ -4042,8 +4042,8 @@ def is_month_end(self):
Series
Booleans indicating if dates are the last day of the month.

Example
-------
Examples
--------
>>> import pandas as pd, cudf
>>> s = cudf.Series(
... pd.date_range(start='2000-08-26', end='2000-09-03', freq='1D'))
Expand Down Expand Up @@ -4088,8 +4088,8 @@ def is_quarter_start(self):
Series
Booleans indicating if dates are the begining of a quarter

Example
-------
Examples
--------
>>> import pandas as pd, cudf
>>> s = cudf.Series(
... pd.date_range(start='2000-09-26', end='2000-10-03', freq='1D'))
Expand Down Expand Up @@ -4134,8 +4134,8 @@ def is_quarter_end(self):
Series
Booleans indicating if dates are the end of a quarter

Example
-------
Examples
--------
>>> import pandas as pd, cudf
>>> s = cudf.Series(
... pd.date_range(start='2000-09-26', end='2000-10-03', freq='1D'))
Expand Down Expand Up @@ -4182,8 +4182,8 @@ def is_year_start(self):
Series
Booleans indicating if dates are the first day of the year.

Example
-------
Examples
--------
>>> import pandas as pd, cudf
>>> s = cudf.Series(pd.date_range("2017-12-30", periods=3))
>>> dates
Expand Down Expand Up @@ -4216,8 +4216,8 @@ def is_year_end(self):
Series
Booleans indicating if dates are the last day of the year.

Example
-------
Examples
--------
>>> import pandas as pd, cudf
>>> dates = cudf.Series(pd.date_range("2017-12-30", periods=3))
>>> dates
Expand Down
4 changes: 2 additions & 2 deletions python/cudf/cudf/core/window/rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ def apply(self, func, *args, **kwargs):
-----
See notes of the :meth:`cudf.Series.applymap`

Example
-------
Examples
--------

>>> import cudf
>>> def count_if_gt_3(window):
Expand Down