Skip to content

Commit 1e49e7b

Browse files
committed
TST: unit test for PR #684
1 parent 425c844 commit 1e49e7b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

RELEASE.rst

+3
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ pandas 0.7.0
162162
yourself) to ``groupby`` in some cases (GH #659)
163163
- Use ``kind`` argument to Series.order for selecting different sort kinds
164164
(GH #668)
165+
- Add option to Series.to_csv to omit the index (PR #684)
165166

166167
**Bug fixes**
167168

@@ -239,6 +240,7 @@ pandas 0.7.0
239240
- Fix SparseSeries.combine_first when passed a dense Series (GH #687)
240241
- Fix performance regression in HDFStore loading when DataFrame or Panel
241242
stored in table format with datetimes
243+
- Raise Exception in DateRange when offset with n=0 is passed (GH #683)
242244

243245
Thanks
244246
------
@@ -261,6 +263,7 @@ Thanks
261263
- Sam Reckoner
262264
- Craig Reeson
263265
- Jan Schulz
266+
- Skipper Seabold
264267
- Ted Square
265268
- Graham Taylor
266269
- Aman Thakral

pandas/tests/test_series.py

+4
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,10 @@ def test_to_csv(self):
14931493
lines = open('_foo', 'U').readlines()
14941494
assert(lines[1] != '\n')
14951495

1496+
self.ts.to_csv('_foo', index=False)
1497+
arr = np.loadtxt('_foo')
1498+
assert_almost_equal(arr, self.ts.values)
1499+
14961500
os.remove('_foo')
14971501

14981502
def test_to_dict(self):

0 commit comments

Comments
 (0)