Skip to content

Commit fb286f5

Browse files
Use faster syntax
Co-authored-by: Sam Rausser <srausser@gmail.com> Signed-off-by: john.lemmon <john.lemmon@medely.com>
1 parent ffad7e9 commit fb286f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/python/feast/infra/offline_stores/snowflake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def _to_df_internal(self, timeout: Optional[int] = None) -> pd.DataFrame:
453453
Array(Float64),
454454
Array(Float32),
455455
]:
456-
df[feature.name] = df[feature.name].apply(lambda x: json.loads(x))
456+
df[feature.name] = [json.loads(x) for x in df[feature.name]]
457457

458458
return df
459459

0 commit comments

Comments
 (0)