Skip to content

Commit e51a8be

Browse files
lbeltramewesm
authored andcommitted
ENH: Add support for converting DataFrames to R data.frames and
matrices, close #350 Conflicts: pandas/rpy/common.py
1 parent 5d52e10 commit e51a8be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/rpy/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def test_convert_r_matrix():
315315
assert np.array_equal(convert_robj(r_dataframe.colnames), frame.columns)
316316

317317
for column in r_dataframe.colnames:
318-
coldata = r_dataframe.rx(True, column)
318+
coldata = r_dataframe.rx2(column)
319319
original_data = frame[column]
320320
assert np.array_equal(convert_robj(coldata), original_data)
321321

0 commit comments

Comments
 (0)