Skip to content

Commit 531f157

Browse files
committed
Fix sai-cli process error dtype incompatible with int64
1 parent a291ced commit 531f157

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/cli/process/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def interpolate_missing_properties(df_source, df_query, k_nearest=3):
132132
_, ii = tree.query(df_query[xyz], k=k_nearest)
133133
n = df_query.shape[0]
134134

135-
df_result = pd.DataFrame(0, index=range(n), columns=df_source.columns)
135+
df_result = pd.DataFrame(0.0, index=range(n), columns=df_source.columns)
136136
df_result[xyz] = df_query[xyz]
137137
other_cols = [c for c in df_source.columns if c not in xyz]
138138

0 commit comments

Comments
 (0)