<S> = <S>.dt.year/month/day/hour <spanclass="hljs-comment"># Use pd.to_datetime(<S>) to get S of datetimes.</span>
<S> = <S>.dt.to_period(<spanclass="hljs-string">'y/m/d/h'</span>) <spanclass="hljs-comment"># Quantizes datetimes into Period objects.</span>
</code></pre>
<pre><codeclass="python language-python hljs"><S>.plot.line/area/bar/pie/hist() <spanclass="hljs-comment"># Generates a plot. `plt.show()` displays it.</span>
<pre><codeclass="python language-python hljs"><S>.plot.line/area/bar/pie/hist() <spanclass="hljs-comment"># Generates a plot. Accepts `title=<str>`.</span>
plt.show() <spanclass="hljs-comment"># Displays the plot. Also plt.savefig(<path>).</span>
</code></pre>
<ul>
<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>