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

DOC: Note -> Notes (numpydoc docstring section) #5207

Merged
merged 1 commit into from
Oct 14, 2013
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
8 changes: 4 additions & 4 deletions pandas/core/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -1990,8 +1990,8 @@ def transform(self, func, *args, **kwargs):
f : function
Function to apply to each subframe

Note
----
Notes
-----
Each subframe is endowed the attribute 'name' in case you need to know
which group you are working on.

Expand Down Expand Up @@ -2102,8 +2102,8 @@ def filter(self, func, dropna=True, *args, **kwargs):
dropna : Drop groups that do not pass the filter. True by default;
if False, groups that evaluate False are filled with NaNs.

Note
----
Notes
-----
Each subframe is endowed the attribute 'name' in case you need to know
which group you are working on.

Expand Down
12 changes: 6 additions & 6 deletions pandas/core/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class Index(FrozenNDArray):
name : object
Name to be stored in the index

Note
----
Notes
-----
An Index instance can **only** contain hashable objects
"""
# To hand over control to subclasses
Expand Down Expand Up @@ -1634,8 +1634,8 @@ class Int64Index(Index):
name : object
Name to be stored in the index

Note
----
Notes
-----
An Index instance can **only** contain hashable objects
"""

Expand Down Expand Up @@ -1731,8 +1731,8 @@ class Float64Index(Index):
name : object
Name to be stored in the index

Note
----
Notes
-----
An Index instance can **only** contain hashable objects
"""

Expand Down
4 changes: 2 additions & 2 deletions pandas/core/reshape.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ def pivot_simple(index, columns, values):
values : ndarray
Values to use for populating new frame's values

Note
----
Notes
-----
Obviously, all 3 of the input arguments must have the same length

Returns
Expand Down
4 changes: 2 additions & 2 deletions pandas/core/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ def str_extract(arr, pat, flags=0):
extracted groups : Series (one group) or DataFrame (multiple groups)


Note
----
Notes
-----
Compare to the string method match, which returns re.match objects.
"""
regex = re.compile(pat, flags=flags)
Expand Down
4 changes: 2 additions & 2 deletions pandas/tseries/offsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1354,8 +1354,8 @@ def generate_range(start=None, end=None, periods=None,
time_rule : (legacy) name of DateOffset object to be used, optional
Corresponds with names expected by tseries.frequencies.get_offset

Note
----
Notes
-----
* This method is faster for generating weekdays than dateutil.rrule
* At least two of (start, end, periods) must be specified.
* If both start and end are specified, the returned dates will
Expand Down