Skip to content

DOC: Fix missing periods and non capitalized summary beginnings (#27977) #28858

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

Merged
merged 1 commit into from
Oct 9, 2019
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
6 changes: 3 additions & 3 deletions pandas/_libs/tslibs/period.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,7 @@ cdef class _Period:
def asfreq(self, freq, how='E'):
"""
Convert Period to desired frequency, either at the start or end of the
interval
interval.

Parameters
----------
Expand Down Expand Up @@ -1777,7 +1777,7 @@ cdef class _Period:
def to_timestamp(self, freq=None, how='start', tz=None):
"""
Return the Timestamp representation of the Period at the target
frequency at the specified end (how) of the Period
frequency at the specified end (how) of the Period.

Parameters
----------
Expand Down Expand Up @@ -2380,7 +2380,7 @@ cdef class _Period:

class Period(_Period):
"""
Represents a period of time
Represents a period of time.

Parameters
----------
Expand Down
4 changes: 2 additions & 2 deletions pandas/_libs/tslibs/timedeltas.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ class Timedelta(_Timedelta):

def floor(self, freq):
"""
return a new Timedelta floored to this resolution.
Return a new Timedelta floored to this resolution.

Parameters
----------
Expand All @@ -1355,7 +1355,7 @@ class Timedelta(_Timedelta):

def ceil(self, freq):
"""
return a new Timedelta ceiled to this resolution.
Return a new Timedelta ceiled to this resolution.

Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/arrays/interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ def length(self):
@property
def mid(self):
"""
Return the midpoint of each Interval in the IntervalArray as an Index
Return the midpoint of each Interval in the IntervalArray as an Index.
"""
try:
return 0.5 * (self.left + self.right)
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/formats/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ def set_uuid(self, uuid):

def set_caption(self, caption):
"""
Set the caption on a Styler
Set the caption on a Styler.
Parameters
----------
Expand Down
6 changes: 3 additions & 3 deletions pandas/plotting/_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

def table(ax, data, rowLabels=None, colLabels=None, **kwargs):
"""
Helper function to convert DataFrame and Series to matplotlib.table
Helper function to convert DataFrame and Series to matplotlib.table.

Parameters
----------
Expand All @@ -32,7 +32,7 @@ def table(ax, data, rowLabels=None, colLabels=None, **kwargs):

def register(explicit=True):
"""
Register Pandas Formatters and Converters with matplotlib
Register Pandas Formatters and Converters with matplotlib.

This function modifies the global ``matplotlib.units.registry``
dictionary. Pandas adds custom converters for
Expand All @@ -54,7 +54,7 @@ def register(explicit=True):

def deregister():
"""
Remove pandas' formatters and converters
Remove pandas' formatters and converters.

Removes the custom converters added by :func:`register`. This
attempts to set the state of the registry back to the state before
Expand Down