Add timestamp method+test; closes #17329
- [x] closes #17329
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=h1) Report
> Merging [#17906](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/5bf7f9a4ff6968fd444fa7098f8dc95586591994?src=pr&el=desc) will **decrease** coverage by `0.01%`.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/17906/graphs/tree.svg?height=150&width=650&token=eZ4WkYLtcO&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #17906      +/-   ##
==========================================
- Coverage   91.23%   91.22%   -0.02%     
==========================================
  Files         163      163              
  Lines       50105    50105              
==========================================
- Hits        45715    45706       -9     
- Misses       4390     4399       +9
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `89.03% <ø> (ø)` | :arrow_up: |
| #single | `40.31% <ø> (-0.06%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/io/gbq.py](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=tree#diff-cGFuZGFzL2lvL2dicS5weQ==) | `25% <0%> (-58.34%)` | :arrow_down: |
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `97.75% <0%> (-0.1%)` | :arrow_down: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=footer). Last update [5bf7f9a...a88419d](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
 # [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=h1) Report
> Merging [#17906](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/fc1e50733ea4c372f4c9eb3a53bf35e102d5d215?src=pr&el=desc) will **increase** coverage by `0.01%`.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/17906/graphs/tree.svg?width=650&height=150&src=pr&token=eZ4WkYLtcO)](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #17906      +/-   ##
==========================================
+ Coverage   91.24%   91.25%   +0.01%     
==========================================
  Files         163      163              
  Lines       50173    50173              
==========================================
+ Hits        45778    45786       +8     
+ Misses       4395     4387       -8
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `89.06% <ø> (+0.03%)` | :arrow_up: |
| #single | `40.29% <ø> (-0.05%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/io/gbq.py](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=tree#diff-cGFuZGFzL2lvL2dicS5weQ==) | `25% <0%> (-58.34%)` | :arrow_down: |
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `97.75% <0%> (-0.1%)` | :arrow_down: |
| [pandas/plotting/\_converter.py](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=tree#diff-cGFuZGFzL3Bsb3R0aW5nL19jb252ZXJ0ZXIucHk=) | `65.2% <0%> (+1.81%)` | :arrow_up: |
| [pandas/io/msgpack/\_version.py](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=tree#diff-cGFuZGFzL2lvL21zZ3BhY2svX3ZlcnNpb24ucHk=) | `44.65% <0%> (+1.9%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=footer). Last update [fc1e507...7992462](https://codecov.io/gh/pandas-dev/pandas/pull/17906?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
 Please remove me from the list

On Tue, Oct 17, 2017 at 7:53 PM jbrockmendel <notifications@github.com>
wrote:

>
>    - closes #17329 <https://github.com/pandas-dev/pandas/issues/17329>
>    - tests added / passed
>    - passes git diff upstream/master -u -- "*.py" | flake8 --diff
>    - whatsnew entry
>
> ------------------------------
> You can view, comment on, or merge this pull request online at:
>
>   https://github.com/pandas-dev/pandas/pull/17906
> Commit Summary
>
>    - Add timestamp method+test; closes #17329
>    - whatsnew entry
>
> File Changes
>
>    - *M* doc/source/whatsnew/v0.21.0.txt
>    <https://github.com/pandas-dev/pandas/pull/17906/files#diff-0> (1)
>    - *M* pandas/_libs/tslib.pyx
>    <https://github.com/pandas-dev/pandas/pull/17906/files#diff-1> (6)
>    - *M* pandas/tests/scalar/test_timestamp.py
>    <https://github.com/pandas-dev/pandas/pull/17906/files#diff-2> (12)
>
> Patch Links:
>
>    - https://github.com/pandas-dev/pandas/pull/17906.patch
>    - https://github.com/pandas-dev/pandas/pull/17906.diff
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/pandas-dev/pandas/pull/17906>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAJfaxH6VMPu__Vl7ywaSM3mPR7NsBb7ks5stOkfgaJpZM4P8i8g>
> .
>
-- 
Greg Gurevich
greggurevich@gmail.com
cell: 1-917-504-7105
 try. test where u take a min zero nanosecond Timestamp then do .timestamp() and create this as a datetime it will lose the nanoseconds thanks 