diff options
author | Pierre de Buyl <pdebuyl@pdebuyl.be> | 2020-03-06 10:21:40 +0100 |
---|---|---|
committer | Pierre de Buyl <pdebuyl@pdebuyl.be> | 2020-03-06 10:21:40 +0100 |
commit | 91991e6d9aca5d32724039856e170141d2aca2ed (patch) | |
tree | 055a0f468eea36edfe03b008f8a00a237dcd8951 /doc | |
parent | e95b05ae013b3c2fd3ba5f7806706d355dd33f8b (diff) | |
download | numpy-91991e6d9aca5d32724039856e170141d2aca2ed.tar.gz |
reinstate example with offset
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/reference/arrays.datetime.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source/reference/arrays.datetime.rst b/doc/source/reference/arrays.datetime.rst index 2503132bc..364f6f8f2 100644 --- a/doc/source/reference/arrays.datetime.rst +++ b/doc/source/reference/arrays.datetime.rst @@ -103,6 +103,8 @@ because the moment of time is still being represented exactly. >>> np.datetime64('2005') == np.datetime64('2005-01-01') True + >>> np.datetime64('2010-03-14T15') == np.datetime64('2010-03-14T15:00:00.00') + True Datetime and Timedelta Arithmetic ================================= |