File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 77
88@pytest .fixture
99def datetime_series ():
10+ """
11+ Fixture for Series of floats with DatetimeIndex
12+
13+ See pandas.util.testing.makeTimeSeries
14+ """
1015 s = tm .makeTimeSeries ()
1116 s .name = 'ts'
1217 return s
1318
1419
1520@pytest .fixture
1621def string_series ():
22+ """
23+ Fixture for Series of floats with Index of unique strings
24+
25+ See pandas.util.testing.makeStringSeries
26+ """
1727 s = tm .makeStringSeries ()
1828 s .name = 'series'
1929 return s
2030
2131
2232@pytest .fixture
2333def object_series ():
34+ """
35+ Fixture for Series of dtype datetime64[ns] with Index of unique strings
36+
37+ See pandas.util.testing.makeObjectSeries
38+ """
2439 s = tm .makeObjectSeries ()
2540 s .name = 'objects'
2641 return s
2742
2843
2944@pytest .fixture
3045def empty_series ():
46+ """
47+ Fixture for empty Series
48+ """
3149 return Series ([], index = [])
You can’t perform that action at this time.
0 commit comments