@@ -720,7 +720,7 @@ Time series-related instance methods
720
720
Shifting / lagging
721
721
~~~~~~~~~~~~~~~~~~
722
722
723
- One may want to *shift * or *lag * the values in a TimeSeries back and forward in
723
+ One may want to *shift * or *lag * the values in a time series back and forward in
724
724
time. The method for this is ``shift ``, which is available on all of the pandas
725
725
objects. In DataFrame, ``shift `` will currently only shift along the ``index ``
726
726
and in Panel along the ``major_axis ``.
@@ -739,7 +739,7 @@ The shift method accepts an ``freq`` argument which can accept a
739
739
ts.shift(5 , freq = ' BM' )
740
740
741
741
Rather than changing the alignment of the data and the index, ``DataFrame `` and
742
- ``TimeSeries `` objects also have a ``tshift `` convenience method that changes
742
+ ``Series `` objects also have a ``tshift `` convenience method that changes
743
743
all the dates in the index by a specified number of offsets:
744
744
745
745
.. ipython :: python
@@ -1114,16 +1114,16 @@ time zones using ``tz_convert``:
1114
1114
rng_berlin[5 ]
1115
1115
rng_eastern[5 ].tz_convert(' Europe/Berlin' )
1116
1116
1117
- Localization of Timestamps functions just like DatetimeIndex and TimeSeries :
1117
+ Localization of Timestamps functions just like DatetimeIndex and Series :
1118
1118
1119
1119
.. ipython :: python
1120
1120
1121
1121
rng[5 ]
1122
1122
rng[5 ].tz_localize(' Asia/Shanghai' )
1123
1123
1124
1124
1125
- Operations between TimeSeries in different time zones will yield UTC
1126
- TimeSeries , aligning the data on the UTC timestamps:
1125
+ Operations between Series in different time zones will yield UTC
1126
+ Series , aligning the data on the UTC timestamps:
1127
1127
1128
1128
.. ipython :: python
1129
1129
@@ -1337,4 +1337,3 @@ The following are equivalent statements in the two versions of numpy.
1337
1337
else :
1338
1338
y / np.timedelta64(1 ,' D' )
1339
1339
y / np.timedelta64(1 ,' s' )
1340
-
0 commit comments