We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be97c4c commit d755d08Copy full SHA for d755d08
rdata/conversion/to_r.py
@@ -126,6 +126,7 @@ def dataframe_constructor(
126
if isinstance(index, pd.RangeIndex):
127
assert isinstance(index.start, int)
128
if index.start == 1 and index.stop == data.shape[0] + 1 and index.step == 1:
129
+ # Construct default row names stored as [R_INT_NA, -len]
130
row_names = np.ma.array(
131
data=[R_INT_NA, -data.shape[0]],
132
mask=[True, False],
0 commit comments