File tree 4 files changed +11
-15
lines changed
4 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -577,10 +577,8 @@ row-wise. For example:
577
577
578
578
df - df.iloc[0 ]
579
579
580
- In the special case of working with time series data, if the Series is a
581
- TimeSeries (which it will be automatically if the index contains datetime
582
- objects), and the DataFrame index also contains dates, the broadcasting will be
583
- column-wise:
580
+ In the special case of working with time series data, and the DataFrame index
581
+ also contains dates, the broadcasting will be column-wise:
584
582
585
583
.. ipython :: python
586
584
:okwarning:
Original file line number Diff line number Diff line change @@ -207,9 +207,9 @@ properties. Here are the pandas equivalents:
207
207
Frequency conversion
208
208
~~~~~~~~~~~~~~~~~~~~
209
209
210
- Frequency conversion is implemented using the ``resample `` method on TimeSeries
211
- and DataFrame objects (multiple time series) . ``resample `` also works on panels
212
- (3D). Here is some code that resamples daily data to monthly :
210
+ Frequency conversion is implemented using the ``resample `` method on Series
211
+ and DataFrame objects with a DatetimeIndex or PeriodIndex . ``resample `` also
212
+ works on panels (3D). Here is some code that resamples daily data to montly :
213
213
214
214
.. ipython :: python
215
215
@@ -369,4 +369,3 @@ just a thin layer around the ``QTableView``.
369
369
mw = MainWidget()
370
370
mw.show()
371
371
app.exec_()
372
-
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Package overview
9
9
:mod: `pandas ` consists of the following things
10
10
11
11
* A set of labeled array data structures, the primary of which are
12
- Series/TimeSeries and DataFrame
12
+ Series and DataFrame
13
13
* Index objects enabling both simple axis indexing and multi-level /
14
14
hierarchical axis indexing
15
15
* An integrated group by engine for aggregating and transforming data sets
@@ -32,7 +32,6 @@ Data structures at a glance
32
32
:widths: 15, 20, 50
33
33
34
34
1, Series, "1D labeled homogeneously-typed array"
35
- 1, TimeSeries, "Series with index containing datetimes"
36
35
2, DataFrame, "General 2D labeled, size-mutable tabular structure with
37
36
potentially heterogeneously-typed columns"
38
37
3, Panel, "General 3D labeled, also size-mutable array"
Original file line number Diff line number Diff line change @@ -1008,7 +1008,7 @@ Time series-related instance methods
1008
1008
Shifting / lagging
1009
1009
~~~~~~~~~~~~~~~~~~
1010
1010
1011
- One may want to *shift * or *lag * the values in a TimeSeries back and forward in
1011
+ One may want to *shift * or *lag * the values in a time series back and forward in
1012
1012
time. The method for this is ``shift ``, which is available on all of the pandas
1013
1013
objects.
1014
1014
@@ -1026,7 +1026,7 @@ The shift method accepts an ``freq`` argument which can accept a
1026
1026
ts.shift(5 , freq = ' BM' )
1027
1027
1028
1028
Rather than changing the alignment of the data and the index, ``DataFrame `` and
1029
- ``TimeSeries `` objects also have a ``tshift `` convenience method that changes
1029
+ ``Series `` objects also have a ``tshift `` convenience method that changes
1030
1030
all the dates in the index by a specified number of offsets:
1031
1031
1032
1032
.. ipython :: python
@@ -1569,16 +1569,16 @@ time zones using ``tz_convert``:
1569
1569
rng_berlin[5 ]
1570
1570
rng_eastern[5 ].tz_convert(' Europe/Berlin' )
1571
1571
1572
- Localization of Timestamps functions just like DatetimeIndex and TimeSeries :
1572
+ Localization of Timestamps functions just like DatetimeIndex and Series :
1573
1573
1574
1574
.. ipython :: python
1575
1575
1576
1576
rng[5 ]
1577
1577
rng[5 ].tz_localize(' Asia/Shanghai' )
1578
1578
1579
1579
1580
- Operations between TimeSeries in different time zones will yield UTC
1581
- TimeSeries , aligning the data on the UTC timestamps:
1580
+ Operations between Series in different time zones will yield UTC
1581
+ Series , aligning the data on the UTC timestamps:
1582
1582
1583
1583
.. ipython :: python
1584
1584
You can’t perform that action at this time.
0 commit comments