File tree Expand file tree Collapse file tree 4 files changed +11
-15
lines changed Expand file tree Collapse file tree 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:
577577
578578 df - df.iloc[0 ]
579579
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:
584582
585583.. ipython :: python
586584 :okwarning:
Original file line number Diff line number Diff line change @@ -207,9 +207,9 @@ properties. Here are the pandas equivalents:
207207Frequency conversion
208208~~~~~~~~~~~~~~~~~~~~
209209
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 :
213213
214214.. ipython :: python
215215
@@ -369,4 +369,3 @@ just a thin layer around the ``QTableView``.
369369 mw = MainWidget()
370370 mw.show()
371371 app.exec_()
372-
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Package overview
99:mod: `pandas ` consists of the following things
1010
1111 * A set of labeled array data structures, the primary of which are
12- Series/TimeSeries and DataFrame
12+ Series and DataFrame
1313 * Index objects enabling both simple axis indexing and multi-level /
1414 hierarchical axis indexing
1515 * An integrated group by engine for aggregating and transforming data sets
@@ -32,7 +32,6 @@ Data structures at a glance
3232 :widths: 15, 20, 50
3333
3434 1, Series, "1D labeled homogeneously-typed array"
35- 1, TimeSeries, "Series with index containing datetimes"
3635 2, DataFrame, "General 2D labeled, size-mutable tabular structure with
3736 potentially heterogeneously-typed columns"
3837 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
10081008Shifting / lagging
10091009~~~~~~~~~~~~~~~~~~
10101010
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
10121012time. The method for this is ``shift ``, which is available on all of the pandas
10131013objects.
10141014
@@ -1026,7 +1026,7 @@ The shift method accepts an ``freq`` argument which can accept a
10261026 ts.shift(5 , freq = ' BM' )
10271027
10281028 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
10301030all the dates in the index by a specified number of offsets:
10311031
10321032.. ipython :: python
@@ -1569,16 +1569,16 @@ time zones using ``tz_convert``:
15691569 rng_berlin[5 ]
15701570 rng_eastern[5 ].tz_convert(' Europe/Berlin' )
15711571
1572- Localization of Timestamps functions just like DatetimeIndex and TimeSeries :
1572+ Localization of Timestamps functions just like DatetimeIndex and Series :
15731573
15741574.. ipython :: python
15751575
15761576 rng[5 ]
15771577 rng[5 ].tz_localize(' Asia/Shanghai' )
15781578
15791579
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:
15821582
15831583.. ipython :: python
15841584
You can’t perform that action at this time.
0 commit comments