<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [147]: pandas.Timestamp('4 pm')
---------------------------------------------------------------------------
OutOfBoundsDatetime                       Traceback (most recent call last)
&lt;ipython-input-147-333a3814fcab&gt; in &lt;module&gt;()
----&gt; 1 pandas.Timestamp('4 pm')

pandas/tslib.pyx in pandas.tslib.Timestamp.__new__ (pandas/tslib.c:10447)()

pandas/tslib.pyx in pandas.tslib.convert_to_tsobject (pandas/tslib.c:27555)()

pandas/tslib.pyx in pandas.tslib.convert_str_to_tsobject (pandas/tslib.c:29955)()

pandas/tslib.pyx in pandas.tslib.convert_to_tsobject (pandas/tslib.c:28700)()

pandas/tslib.pyx in pandas.tslib._check_dts_bounds (pandas/tslib.c:32835)()

OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 1-01-01 16:00:00

"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">147</span>]: <span class="pl-s1">pandas</span>.<span class="pl-v">Timestamp</span>(<span class="pl-s">'4 pm'</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-c1">-</span>
<span class="pl-v">OutOfBoundsDatetime</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">147</span><span class="pl-c1">-</span><span class="pl-c1">333</span><span class="pl-s1">a3814fcab</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">pandas</span>.<span class="pl-v">Timestamp</span>(<span class="pl-s">'4 pm'</span>)

<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-v">Timestamp</span>.<span class="pl-en">__new__</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">10447</span>)()

<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">convert_to_tsobject</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">27555</span>)()

<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">convert_str_to_tsobject</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">29955</span>)()

<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">convert_to_tsobject</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">28700</span>)()

<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">_check_dts_bounds</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">32835</span>)()

<span class="pl-v">OutOfBoundsDatetime</span>: <span class="pl-v">Out</span> <span class="pl-s1">of</span> <span class="pl-s1">bounds</span> <span class="pl-s1">nanosecond</span> <span class="pl-s1">timestamp</span>: <span class="pl-c1">1</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">16</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span>
</pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">this type of string conversion doesn't work with 0.19.2 since upgrade from 0.16.0<br>
traced the problem using git bisect to this commit:<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pandas-dev/pandas/commit/c2ea0d4d1f7333dfb5f35d0795267d8894a37d83/hovercard" href="https://github.com/pandas-dev/pandas/commit/c2ea0d4d1f7333dfb5f35d0795267d8894a37d83"><tt>c2ea0d4</tt></a></p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">In [3]: pandas.Timestamp('4 pm')<br>
Out[3]: Timestamp('2017-04-20 16:00:00')</p>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.6.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-112-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: None.None
<p dir="auto">pandas: 0.19.2<br>
nose: None<br>
pip: 9.0.1<br>
setuptools: 34.3.3<br>
Cython: None<br>
numpy: 1.11.2<br>
scipy: None<br>
statsmodels: None<br>
xarray: None<br>
IPython: 5.3.0<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.5.3<br>
pytz: 2016.7<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
matplotlib: None<br>
openpyxl: None<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: None<br>
html5lib: None<br>
httplib2: None<br>
apiclient: None<br>
sqlalchemy: None<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: None<br>
boto: None<br>
pandas_datareader: None</p>
</details>
<p dir="auto">I assume that this was officially supported before. Haven't narrowed it down any more than sometime between 0.16.2 and 0.17.0.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: pd.__version__
Out[1]: '0.16.2'

In [2]: pd.date_range(&quot;Jan 1&quot;, &quot;March 31&quot;, name=&quot;date&quot;)
Out[2]:
DatetimeIndex(['2015-01-01', '2015-01-02', '2015-01-03', '2015-01-04',
               '2015-01-05', '2015-01-06', '2015-01-07', '2015-01-08',
               '2015-01-09', '2015-01-10', '2015-01-11', '2015-01-12',
..."><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">pd</span>.<span class="pl-s1">__version__</span>
<span class="pl-v">Out</span>[<span class="pl-c1">1</span>]: <span class="pl-s">'0.16.2'</span>

<span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">"Jan 1"</span>, <span class="pl-s">"March 31"</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"date"</span>)
<span class="pl-v">Out</span>[<span class="pl-c1">2</span>]:
<span class="pl-v">DatetimeIndex</span>([<span class="pl-s">'2015-01-01'</span>, <span class="pl-s">'2015-01-02'</span>, <span class="pl-s">'2015-01-03'</span>, <span class="pl-s">'2015-01-04'</span>,
               <span class="pl-s">'2015-01-05'</span>, <span class="pl-s">'2015-01-06'</span>, <span class="pl-s">'2015-01-07'</span>, <span class="pl-s">'2015-01-08'</span>,
               <span class="pl-s">'2015-01-09'</span>, <span class="pl-s">'2015-01-10'</span>, <span class="pl-s">'2015-01-11'</span>, <span class="pl-s">'2015-01-12'</span>,
...</pre></div>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: pd.__version__
Out[1]: '0.17.0'

In [2]: pd.date_range(&quot;Jan 1&quot;, &quot;March 31&quot;, name=&quot;date&quot;)
---------------------------------------------------------------------------
OutOfBoundsDatetime                       Traceback (most recent call last)
&lt;ipython-input-2-8eaca08051ac&gt; in &lt;module&gt;()
----&gt; 1 pd.date_range(&quot;Jan 1&quot;, &quot;March 31&quot;, name=&quot;date&quot;)

/Users/tom.augspurger/Envs/py3/lib/python3.5/site-packages/pandas/tseries/index.py in date_range(start, end, periods, freq, tz, normalize, name, closed)
   1912     return DatetimeIndex(start=start, end=end, periods=periods,
   1913                          freq=freq, tz=tz, normalize=normalize, name=name,
-&gt; 1914                          closed=closed)
   1915
   1916

/Users/tom.augspurger/Envs/py3/lib/python3.5/site-packages/pandas/util/decorators.py in wrapper(*args, **kwargs)
     87                 else:
     88                     kwargs[new_arg_name] = new_arg_value
---&gt; 89             return func(*args, **kwargs)
     90         return wrapper
     91     return _deprecate_kwarg

/Users/tom.augspurger/Envs/py3/lib/python3.5/site-packages/pandas/tseries/index.py in __new__(cls, data, freq, start, end, periods, copy, name, tz, verify_integrity, normalize, closed, ambiguous, dtype, **kwargs)
    234             return cls._generate(start, end, periods, name, freq,
    235                                  tz=tz, normalize=normalize, closed=closed,
--&gt; 236                                  ambiguous=ambiguous)
    237
    238         if not isinstance(data, (np.ndarray, Index, ABCSeries)):

/Users/tom.augspurger/Envs/py3/lib/python3.5/site-packages/pandas/tseries/index.py in _generate(cls, start, end, periods, name, offset, tz, normalize, ambiguous, closed)
    383
    384         if start is not None:
--&gt; 385             start = Timestamp(start)
    386
    387         if end is not None:

pandas/tslib.pyx in pandas.tslib.Timestamp.__new__ (pandas/tslib.c:8967)()

pandas/tslib.pyx in pandas.tslib.convert_to_tsobject (pandas/tslib.c:22303)()

pandas/tslib.pyx in pandas.tslib.convert_str_to_tsobject (pandas/tslib.c:24364)()

pandas/tslib.pyx in pandas.tslib.convert_to_tsobject (pandas/tslib.c:23344)()

pandas/tslib.pyx in pandas.tslib._check_dts_bounds (pandas/tslib.c:26590)()

OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 1-01-01 00:00:00"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">pd</span>.<span class="pl-s1">__version__</span>
<span class="pl-v">Out</span>[<span class="pl-c1">1</span>]: <span class="pl-s">'0.17.0'</span>

<span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">"Jan 1"</span>, <span class="pl-s">"March 31"</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"date"</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-c1">-</span>
<span class="pl-v">OutOfBoundsDatetime</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">2</span><span class="pl-c1">-</span><span class="pl-c1">8</span><span class="pl-s1">eaca08051ac</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">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">"Jan 1"</span>, <span class="pl-s">"March 31"</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"date"</span>)

<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">tom</span>.<span class="pl-s1">augspurger</span><span class="pl-c1">/</span><span class="pl-v">Envs</span><span class="pl-c1">/</span><span class="pl-s1">py3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">5</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">tseries</span><span class="pl-c1">/</span><span class="pl-s1">index</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">date_range</span>(<span class="pl-s1">start</span>, <span class="pl-s1">end</span>, <span class="pl-s1">periods</span>, <span class="pl-s1">freq</span>, <span class="pl-s1">tz</span>, <span class="pl-s1">normalize</span>, <span class="pl-s1">name</span>, <span class="pl-s1">closed</span>)
   <span class="pl-c1">1912</span>     <span class="pl-k">return</span> <span class="pl-v">DatetimeIndex</span>(<span class="pl-s1">start</span><span class="pl-c1">=</span><span class="pl-s1">start</span>, <span class="pl-s1">end</span><span class="pl-c1">=</span><span class="pl-s1">end</span>, <span class="pl-s1">periods</span><span class="pl-c1">=</span><span class="pl-s1">periods</span>,
   <span class="pl-c1">1913</span>                          <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s1">freq</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s1">tz</span>, <span class="pl-s1">normalize</span><span class="pl-c1">=</span><span class="pl-s1">normalize</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s1">name</span>,
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1914</span>                          <span class="pl-s1">closed</span><span class="pl-c1">=</span><span class="pl-s1">closed</span>)
   <span class="pl-c1">1915</span>
   <span class="pl-c1">1916</span>

<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">tom</span>.<span class="pl-s1">augspurger</span><span class="pl-c1">/</span><span class="pl-v">Envs</span><span class="pl-c1">/</span><span class="pl-s1">py3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">5</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">util</span><span class="pl-c1">/</span><span class="pl-s1">decorators</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">wrapper</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
     <span class="pl-c1">87</span>                 <span class="pl-s1">else</span>:
     <span class="pl-c1">88</span>                     <span class="pl-s1">kwargs</span>[<span class="pl-s1">new_arg_name</span>] <span class="pl-c1">=</span> <span class="pl-s1">new_arg_value</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">89</span>             <span class="pl-s1">return</span> <span class="pl-en">func</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
     <span class="pl-c1">90</span>         <span class="pl-k">return</span> <span class="pl-s1">wrapper</span>
     <span class="pl-c1">91</span>     <span class="pl-s1">return</span> <span class="pl-s1">_deprecate_kwarg</span>

<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">tom</span>.<span class="pl-s1">augspurger</span><span class="pl-c1">/</span><span class="pl-v">Envs</span><span class="pl-c1">/</span><span class="pl-s1">py3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">5</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">tseries</span><span class="pl-c1">/</span><span class="pl-s1">index</span>.<span class="pl-s1">py</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">freq</span>, <span class="pl-s1">start</span>, <span class="pl-s1">end</span>, <span class="pl-s1">periods</span>, <span class="pl-s1">copy</span>, <span class="pl-s1">name</span>, <span class="pl-s1">tz</span>, <span class="pl-s1">verify_integrity</span>, <span class="pl-s1">normalize</span>, <span class="pl-s1">closed</span>, <span class="pl-s1">ambiguous</span>, <span class="pl-s1">dtype</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
    <span class="pl-c1">234</span>             <span class="pl-k">return</span> <span class="pl-s1">cls</span>.<span class="pl-en">_generate</span>(<span class="pl-s1">start</span>, <span class="pl-s1">end</span>, <span class="pl-s1">periods</span>, <span class="pl-s1">name</span>, <span class="pl-s1">freq</span>,
    <span class="pl-c1">235</span>                                  <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s1">tz</span>, <span class="pl-s1">normalize</span><span class="pl-c1">=</span><span class="pl-s1">normalize</span>, <span class="pl-s1">closed</span><span class="pl-c1">=</span><span class="pl-s1">closed</span>,
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">236</span>                                  <span class="pl-s1">ambiguous</span><span class="pl-c1">=</span><span class="pl-s1">ambiguous</span>)
    <span class="pl-c1">237</span>
    <span class="pl-c1">238</span>         <span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">data</span>, (<span class="pl-s1">np</span>.<span class="pl-s1">ndarray</span>, <span class="pl-v">Index</span>, <span class="pl-v">ABCSeries</span>)):

<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">tom</span>.<span class="pl-s1">augspurger</span><span class="pl-c1">/</span><span class="pl-v">Envs</span><span class="pl-c1">/</span><span class="pl-s1">py3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">5</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">tseries</span><span class="pl-c1">/</span><span class="pl-s1">index</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_generate</span>(<span class="pl-s1">cls</span>, <span class="pl-s1">start</span>, <span class="pl-s1">end</span>, <span class="pl-s1">periods</span>, <span class="pl-s1">name</span>, <span class="pl-s1">offset</span>, <span class="pl-s1">tz</span>, <span class="pl-s1">normalize</span>, <span class="pl-s1">ambiguous</span>, <span class="pl-s1">closed</span>)
    <span class="pl-c1">383</span>
    <span class="pl-c1">384</span>         <span class="pl-k">if</span> <span class="pl-s1">start</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">385</span>             <span class="pl-s1">start</span> <span class="pl-c1">=</span> <span class="pl-v">Timestamp</span>(<span class="pl-s1">start</span>)
    <span class="pl-c1">386</span>
    <span class="pl-c1">387</span>         <span class="pl-k">if</span> <span class="pl-s1">end</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:

<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-v">Timestamp</span>.<span class="pl-en">__new__</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">8967</span>)()

<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">convert_to_tsobject</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">22303</span>)()

<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">convert_str_to_tsobject</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">24364</span>)()

<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">convert_to_tsobject</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">23344</span>)()

<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">_check_dts_bounds</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">26590</span>)()

<span class="pl-v">OutOfBoundsDatetime</span>: <span class="pl-v">Out</span> <span class="pl-s1">of</span> <span class="pl-s1">bounds</span> <span class="pl-s1">nanosecond</span> <span class="pl-s1">timestamp</span>: <span class="pl-c1">1</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></pre></div>