Skip to content

Commit f08371b

Browse files
committed
minor doc fixes
1 parent 536db7a commit f08371b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/source/basics.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -919,20 +919,20 @@ be the keys, the inner the name of the functions.
919919

920920
.. ipython:: python
921921
922-
tsdf.A.agg({'foo' : ['sum', 'mean']})
922+
tsdf.A.agg({'foo': ['sum', 'mean']})
923923
924924
Alternatively, using multiple dictionaries, you can have renamed elements with the aggregation
925925

926926
.. ipython:: python
927927
928-
tsdf.A.agg({'foo' : 'sum', 'bar': 'mean'})
928+
tsdf.A.agg({'foo': 'sum', 'bar': 'mean'})
929929
930930
Multiple keys will yield a MultiIndex Series. The outer level will be the keys, the inner
931931
the names of the functions.
932932

933933
.. ipython:: python
934934
935-
tsdf.A.agg({'foo' : ['sum', 'mean'], 'bar': ['min', 'max', lambda x: x.sum()+1]})
935+
tsdf.A.agg({'foo': ['sum', 'mean'], 'bar': ['min', 'max', lambda x: x.sum()+1]})
936936
937937
.. _basics.aggregation.mixed_dtypes:
938938

pandas/tests/groupby/test_whitelist.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_tab_completion(mframe):
233233
expected = set(
234234
['A', 'B', 'C', 'agg', 'aggregate', 'apply', 'boxplot', 'filter',
235235
'first', 'get_group', 'groups', 'hist', 'indices', 'last', 'max',
236-
'mean', 'median', 'min', 'name', 'ngroups', 'nth', 'ohlc', 'plot',
236+
'mean', 'median', 'min', 'ngroups', 'nth', 'ohlc', 'plot',
237237
'prod', 'size', 'std', 'sum', 'transform', 'var', 'sem', 'count',
238238
'nunique', 'head', 'describe', 'cummax', 'quantile',
239239
'rank', 'cumprod', 'tail', 'resample', 'cummin', 'fillna',

0 commit comments

Comments
 (0)