Skip to content

Commit

Permalink
Use faster syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Rausser <[email protected]>
Signed-off-by: john.lemmon <[email protected]>
  • Loading branch information
JohnLemmonMedely and srausser committed Sep 15, 2023
1 parent ffad7e9 commit fb286f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/feast/infra/offline_stores/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def _to_df_internal(self, timeout: Optional[int] = None) -> pd.DataFrame:
Array(Float64),
Array(Float32),
]:
df[feature.name] = df[feature.name].apply(lambda x: json.loads(x))
df[feature.name] = [json.loads(x) for x in df[feature.name]]

return df

Expand Down

0 comments on commit fb286f5

Please sign in to comment.