mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
PY-75425 View as Series does not display correctly #PY-75425 Fixed
* fixed statement without effect that leads to the wrong offset for data retrieving GitOrigin-RevId: 6cb37c9ee0f446b2e470f61b99d60e09045f5e00
This commit is contained in:
committed by
intellij-monorepo-bot
parent
205645559d
commit
418e8405a2
@@ -574,7 +574,7 @@ def dataframe_to_thrift_struct(df, name, roffset, coffset, rows, cols, format):
|
||||
elif dim == -1:
|
||||
df = df[roffset: roffset + rows]
|
||||
else:
|
||||
df.iloc[roffset: roffset + rows]
|
||||
df = df.iloc[roffset: roffset + rows]
|
||||
|
||||
rows = df.shape[0]
|
||||
cols = df.shape[1] if dim > 1 else 1
|
||||
|
||||
@@ -776,7 +776,7 @@ def dataframe_to_xml(df, name, roffset, coffset, rows, cols, format):
|
||||
elif dim == -1:
|
||||
df = df[roffset: roffset + rows]
|
||||
else:
|
||||
df.iloc[roffset: roffset + rows]
|
||||
df = df.iloc[roffset: roffset + rows]
|
||||
|
||||
rows = df.shape[0]
|
||||
cols = df.shape[1] if dim > 1 else 1
|
||||
|
||||
Reference in New Issue
Block a user