Skip to content

Commit 0af0871

Browse files
committed
minor doc fixes
1 parent d1557cf commit 0af0871

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
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

0 commit comments

Comments
 (0)