Skip to content

Commit 2aaa92d

Browse files
DOC fixes
1 parent d9af945 commit 2aaa92d

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

pandas/core/frame.py

+8-7
Original file line numberDiff line numberDiff line change
@@ -4918,12 +4918,13 @@ def quantile(self, q=0.5, axis=0, numeric_only=True,
49184918
.. versionadded:: 0.18.0
49194919
This optional parameter specifies the interpolation method to use,
49204920
when the desired quantile lies between two data points `i` and `j`:
4921-
* linear: `i + (j - i) * fraction`, where `fraction` is the
4922-
fractional part of the index surrounded by `i` and `j`.
4923-
* lower: `i`.
4924-
* higher: `j`.
4925-
* nearest: `i` or `j` whichever is nearest.
4926-
* midpoint: (`i` + `j`) / 2.
4921+
4922+
* linear: `i + (j - i) * fraction`, where `fraction` is the
4923+
fractional part of the index surrounded by `i` and `j`.
4924+
* lower: `i`.
4925+
* higher: `j`.
4926+
* nearest: `i` or `j` whichever is nearest.
4927+
* midpoint: (`i` + `j`) / 2.
49274928
49284929
Returns
49294930
-------
@@ -4938,7 +4939,7 @@ def quantile(self, q=0.5, axis=0, numeric_only=True,
49384939
--------
49394940
49404941
>>> df = DataFrame(np.array([[1, 1], [2, 10], [3, 100], [4, 100]]),
4941-
columns=['a', 'b'])
4942+
columns=['a', 'b'])
49424943
>>> df.quantile(.1)
49434944
a 1.3
49444945
b 3.7

pandas/core/window.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def count(self):
511511
----------
512512
func : function
513513
Must produce a single value from an ndarray input
514-
*args and **kwargs are passed to the function""")
514+
\*args and \*\*kwargs are passed to the function""")
515515

516516
def apply(self, func, args=(), kwargs={}):
517517
# TODO: _level is unused?

pandas/util/nosetester.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def test(self, label='fast', verbose=1, extra_argv=None,
138138
* 'full' - fast (as above) and slow tests as in the
139139
'no -A' option to nosetests - this is the same as ''.
140140
* None or '' - run all tests.
141-
attribute_identifier - string passed directly to nosetests as '-A'.
141+
* attribute_identifier - string passed directly to nosetests as '-A'.
142142
verbose : int, optional
143143
Verbosity value for test outputs, in the range 1-10. Default is 1.
144144
extra_argv : list, optional
@@ -147,14 +147,14 @@ def test(self, label='fast', verbose=1, extra_argv=None,
147147
If True, run doctests in module. Default is False.
148148
coverage : bool, optional
149149
If True, report coverage of NumPy code. Default is False.
150-
(This requires the `coverage module:
151-
<http://nedbatchelder.com/code/modules/coverage.html>`_).
150+
(This requires the `coverage module
151+
<http://nedbatchelder.com/code/modules/coverage.html>`_).
152152
raise_warnings : str or sequence of warnings, optional
153153
This specifies which warnings to configure as 'raise' instead
154154
of 'warn' during the test execution. Valid strings are:
155155
156-
- "develop" : equals ``(DeprecationWarning, RuntimeWarning)``
157-
- "release" : equals ``()``, don't raise on any warnings.
156+
- "develop" : equals ``(DeprecationWarning, RuntimeWarning)``
157+
- "release" : equals ``()``, don't raise on any warnings.
158158
159159
Returns
160160
-------

0 commit comments

Comments
 (0)