File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ pandas 0.11.1
142
142
- Fix not consolidating before to_csv (GH3624 _)
143
143
- Fix alignment issue when setitem in a DataFrame with a piece of a DataFrame (GH3626 _)
144
144
- Fix plotting of unordered DatetimeIndex (GH3601 _)
145
+ - ``sql.write_frame `` failing when writing a single column to sqlite (GH3628 _),
146
+ thanks to @stonebig
145
147
146
148
.. _GH3164 : https://github.com/pydata/pandas/issues/3164
147
149
.. _GH2786 : https://github.com/pydata/pandas/issues/2786
@@ -202,6 +204,7 @@ pandas 0.11.1
202
204
.. _GH3571 : https://github.com/pydata/pandas/issues/3571
203
205
.. _GH1651 : https://github.com/pydata/pandas/issues/1651
204
206
.. _GH3141 : https://github.com/pydata/pandas/issues/3141
207
+ .. _GH3628 : https://github.com/pydata/pandas/issues/3628
205
208
.. _GH3638 : https://github.com/pydata/pandas/issues/3638
206
209
207
210
pandas 0.11.0
Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ def test_keyword_as_column_names(self):
221
221
222
222
def test_onecolumn_of_integer (self ):
223
223
'''
224
+ GH 3628
224
225
a column_of_integers dataframe should transfer well to sql
225
226
'''
226
227
mono_df = DataFrame ([1 , 2 ], columns = ['c0' ])
@@ -231,6 +232,9 @@ def test_onecolumn_of_integer(self):
231
232
# it should not fail, and gives 3 ( Issue #3628 )
232
233
self .assertEqual (the_sum , 3 )
233
234
235
+ result = sql .read_frame ("select * from mono_df" ,con_x )
236
+ tm .assert_frame_equal (result ,mono_df )
237
+
234
238
235
239
class TestMySQL (unittest .TestCase ):
236
240
You can’t perform that action at this time.
0 commit comments