Skip to content

Commit 2e79864

Browse files
committed
micro + nanosecond time support
1 parent c8ab2dd commit 2e79864

19 files changed

+911
-486
lines changed

.gitignore

+1-5
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,11 @@ pandas/io/*.dat
3030
pandas/io/*.json
3131
*.log
3232
.noseids
33-
34-
.idea/libraries/sass_stdlib.xml
35-
36-
.idea/pandas.iml
3733
.build_cache_dir
3834
.vagrant
3935
*.whl
4036
**/wheelhouse/*
41-
4237
.project
4338
.pydevproject
4439
.settings
40+
.idea

doc/source/v0.13.0.txt

+23
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,29 @@ Enhancements
425425
the file if the data has correctly separated and properly aligned columns
426426
using the delimiter provided to the function (:issue:`4488`).
427427

428+
- support for nanosecond times in periods
429+
430+
.. warning::
431+
432+
These operations require ``numpy >= 1.7``
433+
434+
Period conversions in the range of seconds and below were reworked and extended
435+
up to nanoseconds. Periods in the nanosecond range are now available.
436+
437+
.. ipython:: python
438+
date_range('2013-01-01', periods=5, freq='5N')
439+
440+
or with frequency as offset
441+
442+
.. ipython:: python
443+
date_range('2013-01-01', periods=5, freq=pd.offsets.Nano(5))
444+
445+
Timestamps can be modified in the nanosecond range
446+
447+
.. ipython:: python
448+
t = Timestamp('20130101 09:01:02')
449+
t + pd.datetools.Nano(123)
450+
428451
.. _whatsnew_0130.experimental:
429452

430453
Experimental

0 commit comments

Comments
 (0)