Skip to content

Commit e8d8c61

Browse files
Merge pull request #7215 from jorisvandenbossche/doc-fixes2
DOC: fix datetime-like Series ops in docs + some extra api docs
2 parents 3afb09d + 39e4338 commit e8d8c61

File tree

3 files changed

+37
-19
lines changed

3 files changed

+37
-19
lines changed

doc/source/api.rst

+35-16
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,15 @@ Data manipulations
127127
:toctree: generated/
128128

129129
melt
130+
pivot
130131
pivot_table
131132
crosstab
132133
cut
133134
qcut
134135
merge
135136
concat
136137
get_dummies
138+
factorize
137139

138140
Top-level missing data
139141
~~~~~~~~~~~~~~~~~~~~~~
@@ -320,6 +322,7 @@ Computations / Descriptive Stats
320322
:toctree: generated/
321323

322324
Series.abs
325+
Series.all
323326
Series.any
324327
Series.autocorr
325328
Series.between
@@ -362,6 +365,7 @@ Reindexing / Selection / Label manipulation
362365

363366
Series.align
364367
Series.drop
368+
Series.equals
365369
Series.first
366370
Series.head
367371
Series.idxmax
@@ -422,22 +426,6 @@ Time series-related
422426
Series.resample
423427
Series.tz_convert
424428
Series.tz_localize
425-
Series.year
426-
Series.month
427-
Series.day
428-
Series.hour
429-
Series.minute
430-
Series.second
431-
Series.microsecond
432-
Series.nanosecond
433-
Series.date
434-
Series.time
435-
Series.dayofyear
436-
Series.weekofyear
437-
Series.week
438-
Series.dayofweek
439-
Series.weekday
440-
Series.quarter
441429

442430
String handling
443431
~~~~~~~~~~~~~~~~~~~
@@ -500,8 +488,12 @@ Serialization / IO / Conversion
500488
Series.to_dict
501489
Series.to_frame
502490
Series.to_hdf
491+
Series.to_sql
492+
Series.to_gbq
493+
Series.to_msgpack
503494
Series.to_json
504495
Series.to_sparse
496+
Series.to_dense
505497
Series.to_string
506498
Series.to_clipboard
507499

@@ -624,6 +616,7 @@ Computations / Descriptive Stats
624616
:toctree: generated/
625617

626618
DataFrame.abs
619+
DataFrame.all
627620
DataFrame.any
628621
DataFrame.clip
629622
DataFrame.clip_lower
@@ -666,6 +659,7 @@ Reindexing / Selection / Label manipulation
666659
DataFrame.drop
667660
DataFrame.drop_duplicates
668661
DataFrame.duplicated
662+
DataFrame.equals
669663
DataFrame.filter
670664
DataFrame.first
671665
DataFrame.head
@@ -759,14 +753,18 @@ Serialization / IO / Conversion
759753
DataFrame.to_pickle
760754
DataFrame.to_csv
761755
DataFrame.to_hdf
756+
DataFrame.to_sql
762757
DataFrame.to_dict
763758
DataFrame.to_excel
764759
DataFrame.to_json
765760
DataFrame.to_html
766761
DataFrame.to_latex
767762
DataFrame.to_stata
763+
DataFrame.to_msgpack
764+
DataFrame.to_gbq
768765
DataFrame.to_records
769766
DataFrame.to_sparse
767+
DataFrame.to_dense
770768
DataFrame.to_string
771769
DataFrame.to_clipboard
772770

@@ -911,6 +909,7 @@ Reindexing / Selection / Label manipulation
911909
Panel.add_prefix
912910
Panel.add_suffix
913911
Panel.drop
912+
Panel.equals
914913
Panel.filter
915914
Panel.first
916915
Panel.last
@@ -1039,6 +1038,7 @@ Modifying and Computations
10391038
Index.copy
10401039
Index.delete
10411040
Index.diff
1041+
Index.sym_diff
10421042
Index.drop
10431043
Index.equals
10441044
Index.factorize
@@ -1197,8 +1197,13 @@ Indexing, iteration
11971197
GroupBy.groups
11981198
GroupBy.indices
11991199
GroupBy.get_group
1200+
1201+
.. currentmodule:: pandas
1202+
12001203
Grouper
12011204

1205+
.. currentmodule:: pandas.core.groupby
1206+
12021207
Function application
12031208
~~~~~~~~~~~~~~~~~~~~
12041209
.. autosummary::
@@ -1219,6 +1224,20 @@ Computations / Descriptive Stats
12191224
GroupBy.var
12201225
GroupBy.ohlc
12211226

1227+
.. currentmodule:: pandas
1228+
1229+
Working with options
1230+
--------------------
1231+
1232+
.. autosummary::
1233+
:toctree: generated/
1234+
1235+
describe_option
1236+
reset_option
1237+
get_option
1238+
set_option
1239+
option_context
1240+
12221241
..
12231242
HACK - see github issue #4539. To ensure old links remain valid, include
12241243
here the autosummaries with previous currentmodules as a comment and add

doc/source/timeseries.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -579,8 +579,7 @@ calendars which account for local holidays and local weekend conventions.
579579
bday_egypt = CustomBusinessDay(holidays=holidays, weekmask=weekmask_egypt)
580580
dt = datetime(2013, 4, 30)
581581
dt + 2 * bday_egypt
582-
dts = date_range(dt, periods=5, freq=bday_egypt).to_series()
583-
dts
582+
dts = date_range(dt, periods=5, freq=bday_egypt)
584583
Series(dts.weekday, dts).map(Series('Mon Tue Wed Thu Fri Sat Sun'.split()))
585584
586585
As of v0.14 holiday calendars can be used to provide the list of holidays. See the

doc/source/v0.12.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ Experimental Features
380380
bday_egypt = CustomBusinessDay(holidays=holidays, weekmask=weekmask_egypt)
381381
dt = datetime(2013, 4, 30)
382382
print(dt + 2 * bday_egypt)
383-
dts = date_range(dt, periods=5, freq=bday_egypt).to_series()
383+
dts = date_range(dt, periods=5, freq=bday_egypt)
384384
print(Series(dts.weekday, dts).map(Series('Mon Tue Wed Thu Fri Sat Sun'.split())))
385385

386386
Bug Fixes

0 commit comments

Comments
 (0)