Skip to content

Commit

Permalink
micro + nanosecond time support
Browse files Browse the repository at this point in the history
  • Loading branch information
wuan committed Sep 30, 2013
1 parent c8ab2dd commit 2e79864
Show file tree
Hide file tree
Showing 19 changed files with 911 additions and 486 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Expand Up @@ -30,15 +30,11 @@ pandas/io/*.dat
pandas/io/*.json
*.log
.noseids

.idea/libraries/sass_stdlib.xml

.idea/pandas.iml
.build_cache_dir
.vagrant
*.whl
**/wheelhouse/*

.project
.pydevproject
.settings
.idea
23 changes: 23 additions & 0 deletions doc/source/v0.13.0.txt
Expand Up @@ -425,6 +425,29 @@ Enhancements
the file if the data has correctly separated and properly aligned columns
using the delimiter provided to the function (:issue:`4488`).

- support for nanosecond times in periods

.. warning::

These operations require ``numpy >= 1.7``

Period conversions in the range of seconds and below were reworked and extended
up to nanoseconds. Periods in the nanosecond range are now available.

.. ipython:: python
date_range('2013-01-01', periods=5, freq='5N')

or with frequency as offset

.. ipython:: python
date_range('2013-01-01', periods=5, freq=pd.offsets.Nano(5))

Timestamps can be modified in the nanosecond range

.. ipython:: python
t = Timestamp('20130101 09:01:02')
t + pd.datetools.Nano(123)

.. _whatsnew_0130.experimental:

Experimental
Expand Down

0 comments on commit 2e79864

Please sign in to comment.