Skip to content

Commit c2ed921

Browse files
committed
Pandas
1 parent 6d85e2b commit c2ed921

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3224,7 +3224,7 @@ Name: a, dtype: int64
32243224
+--------------+-------------+-------------+---------------+
32253225
```
32263226
* **Methods ffill(), interpolate(), fillna() and dropna() accept `'inplace=True'`.**
3227-
* **Agg/transform() pass Series to functions that raise Type/Value/AttrError on single item.**
3227+
* **Agg() and transform() pass a Series to a function if it raises Type/Val/AttrError on a scalar.**
32283228
* **Last result has a multi-index. Use `'<S>[key_1, key_2]'` to get its values.**
32293229

32303230
### DataFrame

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
<body>
5757
<header>
58-
<aside>December 6, 2024</aside>
58+
<aside>December 7, 2024</aside>
5959
<a href="https://gto76.github.io" rel="author">Jure Šorn</a>
6060
</header>
6161

@@ -2628,7 +2628,7 @@ <h3 id="format-2">Format</h3><div><h4 id="forstandardtypesizesandmanualalignment
26282628

26292629
<ul>
26302630
<li><strong>Methods ffill(), interpolate(), fillna() and dropna() accept <code class="python hljs"><span class="hljs-string">'inplace=True'</span></code>.</strong></li>
2631-
<li><strong>Agg/transform() pass Series to functions that raise Type/Value/AttrError on single item.</strong></li>
2631+
<li><strong>Agg() and transform() pass a Series to a function if it raises Type/Val/AttrError on a scalar.</strong></li>
26322632
<li><strong>Last result has a multi-index. Use <code class="python hljs"><span class="hljs-string">'&lt;S&gt;[key_1, key_2]'</span></code> to get its values.</strong></li>
26332633
</ul>
26342634
<div><h3 id="dataframe">DataFrame</h3><p><strong>Table with labeled rows and columns.</strong></p><pre><code class="python language-python hljs"><span class="hljs-meta">&gt;&gt;&gt; </span>df = pd.DataFrame([[<span class="hljs-number">1</span>, <span class="hljs-number">2</span>], [<span class="hljs-number">3</span>, <span class="hljs-number">4</span>]], index=[<span class="hljs-string">'a'</span>, <span class="hljs-string">'b'</span>], columns=[<span class="hljs-string">'x'</span>, <span class="hljs-string">'y'</span>]); df
@@ -2924,7 +2924,7 @@ <h3 id="format-2">Format</h3><div><h4 id="forstandardtypesizesandmanualalignment
29242924

29252925

29262926
<footer>
2927-
<aside>December 6, 2024</aside>
2927+
<aside>December 7, 2024</aside>
29282928
<a href="https://gto76.github.io" rel="author">Jure Šorn</a>
29292929
</footer>
29302930

0 commit comments

Comments
 (0)