-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNOW-1559348: Add Snowpark pandas TimedeltaIndex class #2160
Conversation
ad44696
to
9ea068a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we going to add doc in a different PR?
@sql_count_checker(query_count=3) | ||
def test_timedelta_index_construction(): | ||
# create from native pandas timedelta index. | ||
index = native_pd.TimedeltaIndex(["1 days", "2 days", "3 days"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just FYI, you can use pd.timedelta_range
4cd66aa
to
a55932a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall, left two comments
@sfc-gh-nkumar Looks like there are some Build Doc failures that need addressing |
a55932a
to
1f9acd8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! 🚢
1f9acd8
to
1f95c5d
Compare
1f95c5d
to
b3e49ac
Compare
b3e49ac
to
d0a63a4
Compare
Fixes SNOW-1559348
set_index_from_series
,set_index_from_columns
anddrop
.