You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<S> = <S>.dt.year/month/day/hour <spanclass="hljs-comment"># Use pd.to_datetime(<S>) to get S of datetimes.</span>
2609
2609
<S> = <S>.dt.to_period(<spanclass="hljs-string">'y/m/d/h'</span>) <spanclass="hljs-comment"># Quantizes datetimes into Period objects.</span>
2610
2610
</code></pre>
2611
-
<pre><codeclass="python language-python hljs"><S>.plot.line/area/bar/pie/hist() <spanclass="hljs-comment"># Generates a plot. `plt.show()` displays it.</span>
2611
+
<pre><codeclass="python language-python hljs"><S>.plot.line/area/bar/pie/hist() <spanclass="hljs-comment"># Generates a plot. Accepts `title=<str>`.</span>
2612
+
plt.show() <spanclass="hljs-comment"># Displays the plot. Also plt.savefig(<path>).</span>
2612
2613
</code></pre>
2613
2614
<ul>
2614
2615
<li><strong>Use <codeclass="python hljs"><spanclass="hljs-string">'print(<S>.to_string())'</span></code> to print a Series that has more than 60 items.</strong></li>
0 commit comments