diff --git a/README.md b/README.md index 2965512..98d904b 100644 --- a/README.md +++ b/README.md @@ -3119,7 +3119,7 @@ Name: a, dtype: int64 = .rank/diff/cumsum/ffill/interpl() # Or: .agg/transform() = .fillna() # Or: .apply/agg/transform/map() ``` -* **The way `'aggregate()'` and `'transform()'` find out whether a function accepts an element or the whole Series is by passing it a single value at first and if it raises an error, then they pass it the whole Series.** +* **The way `'aggregate()'` and `'transform()'` find out whether the passed function accepts an element or the whole Series is by passing it a single value at first and if it raises an error, then they pass it the whole Series.** ```python >>> sr = Series([1, 2], index=['x', 'y']) diff --git a/index.html b/index.html index 2e664af..e5484c8 100644 --- a/index.html +++ b/index.html @@ -2659,7 +2659,7 @@ Name: a, dtype: int64
    -
  • The way 'aggregate()' and 'transform()' find out whether a function accepts an element or the whole Series is by passing it a single value at first and if it raises an error, then they pass it the whole Series.
  • +
  • The way 'aggregate()' and 'transform()' find out whether the passed function accepts an element or the whole Series is by passing it a single value at first and if it raises an error, then they pass it the whole Series.
>>> sr = Series([1, 2], index=['x', 'y'])
 x    1