<p dir="auto">Following behaviour:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd
# version '0.12.0'
!wget -O 'Vertikale_Netzlast_2013.csv' 'http://www.50hertz.com/transmission/files/sync/Netzkennzahlen/Netzlast/ArchivCSV/Vertikale_Netzlast_2013.csv'
df = pd.read_csv('Vertikale_Netzlast_2013.csv', header=6, sep=';', parse_dates=[[0, 1]], index_col=0, na_values=['n.v.'])
df.rename(columns={'Unnamed: 3': 'Load'}, inplace=True)
df.Load = df.Load.interpolate()
df.count"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-c"># version '0.12.0'</span>
!w<span class="pl-s1">get</span> <span class="pl-c1">-</span><span class="pl-v">O</span> <span class="pl-s">'Vertikale_Netzlast_2013.csv'</span> <span class="pl-s">'http://www.50hertz.com/transmission/files/sync/Netzkennzahlen/Netzlast/ArchivCSV/Vertikale_Netzlast_2013.csv'</span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_csv</span>(<span class="pl-s">'Vertikale_Netzlast_2013.csv'</span>, <span class="pl-s1">header</span><span class="pl-c1">=</span><span class="pl-c1">6</span>, <span class="pl-s1">sep</span><span class="pl-c1">=</span><span class="pl-s">';'</span>, <span class="pl-s1">parse_dates</span><span class="pl-c1">=</span>[[<span class="pl-c1">0</span>, <span class="pl-c1">1</span>]], <span class="pl-s1">index_col</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">na_values</span><span class="pl-c1">=</span>[<span class="pl-s">'n.v.'</span>])
<span class="pl-s1">df</span>.<span class="pl-en">rename</span>(<span class="pl-s1">columns</span><span class="pl-c1">=</span>{<span class="pl-s">'Unnamed: 3'</span>: <span class="pl-s">'Load'</span>}, <span class="pl-s1">inplace</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">df</span>.<span class="pl-v">Load</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-v">Load</span>.<span class="pl-en">interpolate</span>()
<span class="pl-s1">df</span>.<span class="pl-s1">count</span></pre></div>
<p dir="auto">shows me, that everything is pretty ok:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;bound method DataFrame.count of &lt;class 'pandas.core.frame.DataFrame'&gt;
DatetimeIndex: 35044 entries, 2013-01-01 00:00:00 to 2013-12-31 23:45:00
Data columns (total 2 columns):
bis     35044  non-null values
Load    35044  non-null values
dtypes: float64(1), object(1)&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-s1">bound</span> <span class="pl-s1">method</span> <span class="pl-v">DataFrame</span>.<span class="pl-s1">count</span> <span class="pl-s1">of</span> <span class="pl-c1">&lt;</span><span class="pl-s1">class</span> <span class="pl-s">'pandas.core.frame.DataFrame'</span><span class="pl-c1">&gt;</span>
<span class="pl-v">DatetimeIndex</span>: <span class="pl-c1">35044</span> <span class="pl-s1">entries</span>, <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span> <span class="pl-s1">to</span> <span class="pl-c1">2013</span><span class="pl-c1">-</span><span class="pl-c1">12</span><span class="pl-c1">-</span><span class="pl-c1">31</span> <span class="pl-c1">23</span>:<span class="pl-c1">45</span>:<span class="pl-c1">00</span>
<span class="pl-v">Data</span> <span class="pl-en">columns</span> (<span class="pl-s1">total</span> <span class="pl-c1">2</span> <span class="pl-s1">columns</span>):
<span class="pl-s1">bis</span>     <span class="pl-c1">35044</span>  <span class="pl-s1">non</span><span class="pl-c1">-</span><span class="pl-s1">null</span> <span class="pl-s1">values</span>
<span class="pl-v">Load</span>    <span class="pl-c1">35044</span>  <span class="pl-s1">non</span><span class="pl-c1">-</span><span class="pl-s1">null</span> <span class="pl-s1">values</span>
<span class="pl-s1">dtypes</span>: <span class="pl-en">float64</span>(<span class="pl-c1">1</span>), <span class="pl-en">object</span>(<span class="pl-c1">1</span>)<span class="pl-c1">&gt;</span></pre></div>
<p dir="auto">But when I try to plot it with <code class="notranslate">df.Load.plot()</code> I get the error message:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
&lt;ipython-input-431-abfff097d131&gt; in &lt;module&gt;()
----&gt; 1 df.Load.plot()

/Library/Python/2.7/site-packages/pandas/tools/plotting.pyc in plot_series(series, label, kind, use_index, rot, xticks, yticks, xlim, ylim, ax, style, grid, legend, logx, logy, secondary_y, **kwds)
   1728                      secondary_y=secondary_y, **kwds)
   1729 
-&gt; 1730     plot_obj.generate()
   1731     plot_obj.draw()
   1732 

/Library/Python/2.7/site-packages/pandas/tools/plotting.pyc in generate(self)
    854         self._compute_plot_data()
    855         self._setup_subplots()
--&gt; 856         self._make_plot()
    857         self._post_plot_logic()
    858         self._adorn_subplots()

/Library/Python/2.7/site-packages/pandas/tools/plotting.pyc in _make_plot(self)
   1242             lines = []
   1243             labels = []
-&gt; 1244             x = self._get_xticks(convert_period=True)
   1245 
   1246             plotf = self._get_plot_function()

/Library/Python/2.7/site-packages/pandas/tools/plotting.pyc in _get_xticks(self, convert_period)
   1032                 x = index._mpl_repr()
   1033             elif is_datetype:
-&gt; 1034                 self.data = self.data.reindex(index=index.order())
   1035                 x = self.data.index._mpl_repr()
   1036             else:

/Library/Python/2.7/site-packages/pandas/core/series.pyc in reindex(self, index, method, level, fill_value, limit, copy, takeable)
   2644 
   2645         # GH4246 (dispatch to a common method with frame to handle possibly duplicate index)
-&gt; 2646         return self._reindex_with_indexers(new_index, indexer, copy=copy, fill_value=fill_value)
   2647 
   2648     def _reindex_with_indexers(self, index, indexer, copy, fill_value):

/Library/Python/2.7/site-packages/pandas/core/series.pyc in _reindex_with_indexers(self, index, indexer, copy, fill_value)
   2648     def _reindex_with_indexers(self, index, indexer, copy, fill_value):
   2649         new_values = com.take_1d(self.values, indexer, fill_value=fill_value)
-&gt; 2650         return Series(new_values, index=index, name=self.name)
   2651 
   2652     def reindex_axis(self, labels, axis=0, **kwargs):

/Library/Python/2.7/site-packages/pandas/core/series.pyc in __new__(cls, data, index, dtype, name, copy)
    490         else:
    491             subarr = subarr.view(Series)
--&gt; 492         subarr.index = index
    493         subarr.name = name
    494 

/Library/Python/2.7/site-packages/pandas/lib.so in pandas.lib.SeriesIndex.__set__ (pandas/lib.c:29541)()

AssertionError: Index length did not match values"><pre class="notranslate"><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">AssertionError</span>                            <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>)
<span class="pl-c1">&lt;</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">431</span><span class="pl-c1">-</span><span class="pl-s1">abfff097d131</span><span class="pl-c1">&gt;</span> <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>()
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1</span> <span class="pl-s1">df</span>.<span class="pl-v">Load</span>.<span class="pl-en">plot</span>()

<span class="pl-c1">/</span><span class="pl-v">Library</span><span class="pl-c1">/</span><span class="pl-v">Python</span><span class="pl-c1">/</span><span class="pl-c1">2.7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tools</span><span class="pl-c1">/</span><span class="pl-s1">plotting</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">plot_series</span>(<span class="pl-s1">series</span>, <span class="pl-s1">label</span>, <span class="pl-s1">kind</span>, <span class="pl-s1">use_index</span>, <span class="pl-s1">rot</span>, <span class="pl-s1">xticks</span>, <span class="pl-s1">yticks</span>, <span class="pl-s1">xlim</span>, <span class="pl-s1">ylim</span>, <span class="pl-s1">ax</span>, <span class="pl-s1">style</span>, <span class="pl-s1">grid</span>, <span class="pl-s1">legend</span>, <span class="pl-s1">logx</span>, <span class="pl-s1">logy</span>, <span class="pl-s1">secondary_y</span>, <span class="pl-c1">**</span><span class="pl-s1">kwds</span>)
   <span class="pl-c1">1728</span>                      <span class="pl-s1">secondary_y</span><span class="pl-c1">=</span><span class="pl-s1">secondary_y</span>, <span class="pl-c1">**</span><span class="pl-s1">kwds</span>)
   <span class="pl-c1">1729</span> 
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1730</span>     <span class="pl-s1">plot_obj</span>.<span class="pl-en">generate</span>()
   <span class="pl-c1">1731</span>     <span class="pl-s1">plot_obj</span>.<span class="pl-en">draw</span>()
   <span class="pl-c1">1732</span> 

<span class="pl-c1">/</span><span class="pl-v">Library</span><span class="pl-c1">/</span><span class="pl-v">Python</span><span class="pl-c1">/</span><span class="pl-c1">2.7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tools</span><span class="pl-c1">/</span><span class="pl-s1">plotting</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">generate</span>(<span class="pl-s1">self</span>)
    <span class="pl-c1">854</span>         <span class="pl-s1">self</span>.<span class="pl-en">_compute_plot_data</span>()
    <span class="pl-c1">855</span>         <span class="pl-s1">self</span>.<span class="pl-en">_setup_subplots</span>()
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">856</span>         <span class="pl-s1">self</span>.<span class="pl-en">_make_plot</span>()
    <span class="pl-c1">857</span>         <span class="pl-s1">self</span>.<span class="pl-en">_post_plot_logic</span>()
    <span class="pl-c1">858</span>         <span class="pl-s1">self</span>.<span class="pl-en">_adorn_subplots</span>()

<span class="pl-c1">/</span><span class="pl-v">Library</span><span class="pl-c1">/</span><span class="pl-v">Python</span><span class="pl-c1">/</span><span class="pl-c1">2.7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tools</span><span class="pl-c1">/</span><span class="pl-s1">plotting</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_make_plot</span>(<span class="pl-s1">self</span>)
   <span class="pl-c1">1242</span>             <span class="pl-s1">lines</span> <span class="pl-c1">=</span> []
   <span class="pl-c1">1243</span>             <span class="pl-s1">labels</span> <span class="pl-c1">=</span> []
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1244</span>             <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_xticks</span>(<span class="pl-s1">convert_period</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
   <span class="pl-c1">1245</span> 
   <span class="pl-c1">1246</span>             <span class="pl-s1">plotf</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_plot_function</span>()

<span class="pl-c1">/</span><span class="pl-v">Library</span><span class="pl-c1">/</span><span class="pl-v">Python</span><span class="pl-c1">/</span><span class="pl-c1">2.7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tools</span><span class="pl-c1">/</span><span class="pl-s1">plotting</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_get_xticks</span>(<span class="pl-s1">self</span>, <span class="pl-s1">convert_period</span>)
   <span class="pl-c1">1032</span>                 <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">index</span>.<span class="pl-en">_mpl_repr</span>()
   <span class="pl-c1">1033</span>             <span class="pl-s1">elif</span> <span class="pl-s1">is_datetype</span>:
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1034</span>                 <span class="pl-s1">self</span>.<span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">data</span>.<span class="pl-en">reindex</span>(<span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">index</span>.<span class="pl-en">order</span>())
   <span class="pl-c1">1035</span>                 <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">data</span>.<span class="pl-s1">index</span>.<span class="pl-en">_mpl_repr</span>()
   <span class="pl-c1">1036</span>             <span class="pl-s1">else</span>:

<span class="pl-c1">/</span><span class="pl-v">Library</span><span class="pl-c1">/</span><span class="pl-v">Python</span><span class="pl-c1">/</span><span class="pl-c1">2.7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">series</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">reindex</span>(<span class="pl-s1">self</span>, <span class="pl-s1">index</span>, <span class="pl-s1">method</span>, <span class="pl-s1">level</span>, <span class="pl-s1">fill_value</span>, <span class="pl-s1">limit</span>, <span class="pl-s1">copy</span>, <span class="pl-s1">takeable</span>)
   <span class="pl-c1">2644</span> 
   <span class="pl-c1">2645</span>         <span class="pl-c"># GH4246 (dispatch to a common method with frame to handle possibly duplicate index)</span>
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2646</span>         <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_reindex_with_indexers</span>(<span class="pl-s1">new_index</span>, <span class="pl-s1">indexer</span>, <span class="pl-s1">copy</span><span class="pl-c1">=</span><span class="pl-s1">copy</span>, <span class="pl-s1">fill_value</span><span class="pl-c1">=</span><span class="pl-s1">fill_value</span>)
   <span class="pl-c1">2647</span> 
   <span class="pl-c1">2648</span>     <span class="pl-k">def</span> <span class="pl-en">_reindex_with_indexers</span>(<span class="pl-s1">self</span>, <span class="pl-s1">index</span>, <span class="pl-s1">indexer</span>, <span class="pl-s1">copy</span>, <span class="pl-s1">fill_value</span>):

<span class="pl-c1">/</span><span class="pl-v">Library</span><span class="pl-c1">/</span><span class="pl-v">Python</span><span class="pl-c1">/</span><span class="pl-c1">2.7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">series</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_reindex_with_indexers</span>(<span class="pl-s1">self</span>, <span class="pl-s1">index</span>, <span class="pl-s1">indexer</span>, <span class="pl-s1">copy</span>, <span class="pl-s1">fill_value</span>)
   <span class="pl-c1">2648</span>     <span class="pl-k">def</span> <span class="pl-en">_reindex_with_indexers</span>(<span class="pl-s1">self</span>, <span class="pl-s1">index</span>, <span class="pl-s1">indexer</span>, <span class="pl-s1">copy</span>, <span class="pl-s1">fill_value</span>):
   <span class="pl-c1">2649</span>         <span class="pl-s1">new_values</span> <span class="pl-c1">=</span> <span class="pl-s1">com</span>.<span class="pl-en">take_1d</span>(<span class="pl-s1">self</span>.<span class="pl-s1">values</span>, <span class="pl-s1">indexer</span>, <span class="pl-s1">fill_value</span><span class="pl-c1">=</span><span class="pl-s1">fill_value</span>)
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2650</span>         <span class="pl-s1">return</span> <span class="pl-v">Series</span>(<span class="pl-s1">new_values</span>, <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">index</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">name</span>)
   <span class="pl-c1">2651</span> 
   <span class="pl-c1">2652</span>     <span class="pl-k">def</span> <span class="pl-en">reindex_axis</span>(<span class="pl-s1">self</span>, <span class="pl-s1">labels</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>):

<span class="pl-c1">/</span><span class="pl-v">Library</span><span class="pl-c1">/</span><span class="pl-v">Python</span><span class="pl-c1">/</span><span class="pl-c1">2.7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">series</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">__new__</span>(<span class="pl-s1">cls</span>, <span class="pl-s1">data</span>, <span class="pl-s1">index</span>, <span class="pl-s1">dtype</span>, <span class="pl-s1">name</span>, <span class="pl-s1">copy</span>)
    <span class="pl-c1">490</span>         <span class="pl-s1">else</span>:
    <span class="pl-c1">491</span>             <span class="pl-s1">subarr</span> <span class="pl-c1">=</span> <span class="pl-s1">subarr</span>.<span class="pl-en">view</span>(<span class="pl-v">Series</span>)
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">492</span>         <span class="pl-s1">subarr</span>.<span class="pl-s1">index</span> <span class="pl-c1">=</span> <span class="pl-s1">index</span>
    <span class="pl-c1">493</span>         <span class="pl-s1">subarr</span>.<span class="pl-s1">name</span> <span class="pl-c1">=</span> <span class="pl-s1">name</span>
    <span class="pl-c1">494</span> 

<span class="pl-c1">/</span><span class="pl-v">Library</span><span class="pl-c1">/</span><span class="pl-v">Python</span><span class="pl-c1">/</span><span class="pl-c1">2.7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">lib</span>.<span class="pl-s1">so</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">lib</span>.<span class="pl-v">SeriesIndex</span>.<span class="pl-en">__set__</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">lib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">29541</span>)()

<span class="pl-v">AssertionError</span>: <span class="pl-v">Index</span> <span class="pl-s1">length</span> <span class="pl-s1">did</span> <span class="pl-c1">not</span> <span class="pl-s1">match</span> <span class="pl-s1">values</span></pre></div>
<p dir="auto">But index as well as <code class="notranslate">Load</code> got 35044. Bug?</p>
<p dir="auto">I have what appears to be a valid <code class="notranslate">Series</code> with a time series index as follows:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [41]: inactive
Out[41]: 
2010-06-10 20:43:07    37.2
2010-06-21 06:37:28     0.0
2009-07-20 06:53:38     0.0
2012-05-17 01:50:13    27.4
2009-07-27 21:09:15     0.0
2010-05-04 09:06:54     0.0
2010-05-06 03:38:54    32.5
2010-05-09 08:33:16    56.9
2010-05-26 18:58:42     0.0
2010-05-31 18:40:41     0.0
2010-06-13 08:46:17     0.0
2010-06-16 18:27:51     0.0
2010-06-19 11:59:48     0.0
2010-06-24 15:24:26    33.4
2010-06-28 10:54:27     0.0
...
2008-11-02 07:35:22     71.2
2008-11-05 17:33:39     97.6
2009-10-22 23:15:39     75.7
2009-10-27 20:55:07     67.5
2009-06-02 13:57:15     35.8
2009-06-06 14:15:41     25.9
2008-11-07 01:22:46      0.0
2009-10-12 17:08:20    100.0
2010-09-19 10:21:39      0.0
2010-09-24 15:46:50      0.0
2010-09-30 16:48:09      0.0
2010-10-08 21:43:10      0.0
2010-10-15 19:27:11      0.0
2010-10-28 19:10:42      0.0
2010-06-13 10:32:45    100.0
Name: pdgt10, Length: 13536, dtype: float64"><pre class="notranslate"><code class="notranslate">In [41]: inactive
Out[41]: 
2010-06-10 20:43:07    37.2
2010-06-21 06:37:28     0.0
2009-07-20 06:53:38     0.0
2012-05-17 01:50:13    27.4
2009-07-27 21:09:15     0.0
2010-05-04 09:06:54     0.0
2010-05-06 03:38:54    32.5
2010-05-09 08:33:16    56.9
2010-05-26 18:58:42     0.0
2010-05-31 18:40:41     0.0
2010-06-13 08:46:17     0.0
2010-06-16 18:27:51     0.0
2010-06-19 11:59:48     0.0
2010-06-24 15:24:26    33.4
2010-06-28 10:54:27     0.0
...
2008-11-02 07:35:22     71.2
2008-11-05 17:33:39     97.6
2009-10-22 23:15:39     75.7
2009-10-27 20:55:07     67.5
2009-06-02 13:57:15     35.8
2009-06-06 14:15:41     25.9
2008-11-07 01:22:46      0.0
2009-10-12 17:08:20    100.0
2010-09-19 10:21:39      0.0
2010-09-24 15:46:50      0.0
2010-09-30 16:48:09      0.0
2010-10-08 21:43:10      0.0
2010-10-15 19:27:11      0.0
2010-10-28 19:10:42      0.0
2010-06-13 10:32:45    100.0
Name: pdgt10, Length: 13536, dtype: float64
</code></pre></div>
<p dir="auto">Note also:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [43]: inactive.isnull().sum()
Out[43]: 0

In [45]: inactive.index.size
Out[45]: 13536

In [46]: inactive.values.size
Out[46]: 13536"><pre class="notranslate"><code class="notranslate">In [43]: inactive.isnull().sum()
Out[43]: 0

In [45]: inactive.index.size
Out[45]: 13536

In [46]: inactive.values.size
Out[46]: 13536
</code></pre></div>
<p dir="auto">However, when I try calling <code class="notranslate">inactive.plot()</code> in order to get a time series plot, I receive a puzzling <code class="notranslate">AssertionError</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [40]: inactive.plot()
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
&lt;ipython-input-40-cdcfa4d871e5&gt; in &lt;module&gt;()
----&gt; 1 inactive.plot()

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in plot_series(series, label, kind, use_index, rot, xticks, yticks, xlim, ylim, ax, style, grid, legend, logx, logy, secondary_y, **kwds)
   1730                      secondary_y=secondary_y, **kwds)
   1731 
-&gt; 1732     plot_obj.generate()
   1733     plot_obj.draw()
   1734 

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in generate(self)
    856         self._compute_plot_data()
    857         self._setup_subplots()
--&gt; 858         self._make_plot()
    859         self._post_plot_logic()
    860         self._adorn_subplots()

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in _make_plot(self)
   1244             lines = []
   1245             labels = []
-&gt; 1246             x = self._get_xticks(convert_period=True)
   1247 
   1248             plotf = self._get_plot_function()

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in _get_xticks(self, convert_period)
   1034                 x = index._mpl_repr()
   1035             elif is_datetype:
-&gt; 1036                 self.data = self.data.reindex(index=index.order())
   1037                 x = self.data.index._mpl_repr()
   1038             else:

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/core/series.pyc in reindex(self, index, method, level, fill_value, limit, copy, takeable)
   2649 
   2650         # GH4246 (dispatch to a common method with frame to handle possibly duplicate index)
-&gt; 2651         return self._reindex_with_indexers(new_index, indexer, copy=copy, fill_value=fill_value)
   2652 
   2653     def _reindex_with_indexers(self, index, indexer, copy, fill_value):

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/core/series.pyc in _reindex_with_indexers(self, index, indexer, copy, fill_value)
   2653     def _reindex_with_indexers(self, index, indexer, copy, fill_value):
   2654         new_values = com.take_1d(self.values, indexer, fill_value=fill_value)
-&gt; 2655         return Series(new_values, index=index, name=self.name)
   2656 
   2657     def reindex_axis(self, labels, axis=0, **kwargs):

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/core/series.pyc in __new__(cls, data, index, dtype, name, copy)
    491         else:
    492             subarr = subarr.view(Series)
--&gt; 493         subarr.index = index
    494         subarr.name = name
    495 

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/lib.so in pandas.lib.SeriesIndex.__set__ (pandas/lib.c:29092)()

AssertionError: Index length did not match values"><pre class="notranslate"><code class="notranslate">In [40]: inactive.plot()
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
&lt;ipython-input-40-cdcfa4d871e5&gt; in &lt;module&gt;()
----&gt; 1 inactive.plot()

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in plot_series(series, label, kind, use_index, rot, xticks, yticks, xlim, ylim, ax, style, grid, legend, logx, logy, secondary_y, **kwds)
   1730                      secondary_y=secondary_y, **kwds)
   1731 
-&gt; 1732     plot_obj.generate()
   1733     plot_obj.draw()
   1734 

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in generate(self)
    856         self._compute_plot_data()
    857         self._setup_subplots()
--&gt; 858         self._make_plot()
    859         self._post_plot_logic()
    860         self._adorn_subplots()

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in _make_plot(self)
   1244             lines = []
   1245             labels = []
-&gt; 1246             x = self._get_xticks(convert_period=True)
   1247 
   1248             plotf = self._get_plot_function()

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/tools/plotting.pyc in _get_xticks(self, convert_period)
   1034                 x = index._mpl_repr()
   1035             elif is_datetype:
-&gt; 1036                 self.data = self.data.reindex(index=index.order())
   1037                 x = self.data.index._mpl_repr()
   1038             else:

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/core/series.pyc in reindex(self, index, method, level, fill_value, limit, copy, takeable)
   2649 
   2650         # GH4246 (dispatch to a common method with frame to handle possibly duplicate index)
-&gt; 2651         return self._reindex_with_indexers(new_index, indexer, copy=copy, fill_value=fill_value)
   2652 
   2653     def _reindex_with_indexers(self, index, indexer, copy, fill_value):

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/core/series.pyc in _reindex_with_indexers(self, index, indexer, copy, fill_value)
   2653     def _reindex_with_indexers(self, index, indexer, copy, fill_value):
   2654         new_values = com.take_1d(self.values, indexer, fill_value=fill_value)
-&gt; 2655         return Series(new_values, index=index, name=self.name)
   2656 
   2657     def reindex_axis(self, labels, axis=0, **kwargs):

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/core/series.pyc in __new__(cls, data, index, dtype, name, copy)
    491         else:
    492             subarr = subarr.view(Series)
--&gt; 493         subarr.index = index
    494         subarr.name = name
    495 

/Library/Python/2.7/site-packages/pandas-0.12.0_80_gfcaf9a6_20130729-py2.7-macosx-10.8-intel.egg/pandas/lib.so in pandas.lib.SeriesIndex.__set__ (pandas/lib.c:29092)()

AssertionError: Index length did not match values
</code></pre></div>
<p dir="auto">As I have shown above, my index length and my values are the same length.</p>
<p dir="auto">Running a recent (&lt;2 weeks) build from master on OS X 10.8.4 and Python 2.7.2.</p>