summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorAndrew Liu <andrewlliu@gmail.com>2019-09-10 17:04:07 -0700
committerAndrew Liu <andrewlliu@gmail.com>2019-09-10 17:04:07 -0700
commitaa013846e5c2d4e83e20f6b80b498eded1a9ff3c (patch)
tree68be9053ff9575456366f3453fefd94197cfd219 /doc/source/reference
parentb42c2e3f02e6c6d0682ae148923db1b7123c5ac6 (diff)
downloadnumpy-aa013846e5c2d4e83e20f6b80b498eded1a9ff3c.tar.gz
DOC: add timedelta64 signature
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/arrays.datetime.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/source/reference/arrays.datetime.rst b/doc/source/reference/arrays.datetime.rst
index 387515f59..836373c74 100644
--- a/doc/source/reference/arrays.datetime.rst
+++ b/doc/source/reference/arrays.datetime.rst
@@ -100,7 +100,9 @@ Datetime and Timedelta Arithmetic
NumPy allows the subtraction of two Datetime values, an operation which
produces a number with a time unit. Because NumPy doesn't have a physical
quantities system in its core, the timedelta64 data type was created
-to complement datetime64.
+to complement datetime64. The arguments for timedelta64 are a number,
+to represent the number of units, and a date/time unit, such as
+(D)ay, (M)onth, (Y)ear, (h)ours, (m)inutes, or (s)econds.
Datetimes and Timedeltas work together to provide ways for
simple datetime calculations.