Skip to content

Commit

Permalink
address comments 2
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
  • Loading branch information
sfc-gh-nkrishna committed Aug 16, 2024
1 parent 2fa62bf commit 6984760
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/snowflake/snowpark/modin/pandas/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,8 @@ def merge_asof(
"""
# TODO: SNOW-1063345: Modin upgrade - modin.pandas functions in general.py
if not isinstance(left, DataFrame):
raise ValueError(f"can not merge DataFrame with instance of type {type(left)}")
if not isinstance(right, DataFrame):
raise ValueError(f"can not merge DataFrame with instance of type {type(right)}")

# As of pandas 1.2 these should raise an error; before that it did
Expand Down

0 comments on commit 6984760

Please sign in to comment.