You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ba...@apache.org on 2022/10/31 18:45:42 UTC
[systemds] 03/03: [MINOR] Change python binding to frame
This is an automated email from the ASF dual-hosted git repository.
baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git
commit b54422cc70fd8c86037c8d97f20325e65052c48e
Author: baunsgaard <ba...@tugraz.at>
AuthorDate: Mon Oct 31 18:16:54 2022 +0100
[MINOR] Change python binding to frame
This commit fixes the python binding to use the new path
for the FrameBlock.
Closes #1717
---
src/main/python/systemds/utils/converters.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/python/systemds/utils/converters.py b/src/main/python/systemds/utils/converters.py
index 9f88271e4e..02066b741d 100644
--- a/src/main/python/systemds/utils/converters.py
+++ b/src/main/python/systemds/utils/converters.py
@@ -113,7 +113,7 @@ def pandas_to_frame_block(sds: "SystemDSContext", pd_df: pd.DataFrame):
try:
jc_ValueType = jvm.org.apache.sysds.common.Types.ValueType
jc_String = jvm.java.lang.String
- jc_FrameBlock = jvm.org.apache.sysds.runtime.matrix.data.FrameBlock
+ jc_FrameBlock = jvm.org.apache.sysds.runtime.frame.data.FrameBlock
j_valueTypeArray = java_gate.new_array(jc_ValueType, len(schema))
j_colNameArray = java_gate.new_array(jc_String, len(col_names))
j_dataArray = java_gate.new_array(jc_String, rows, cols)