Skip to content

nightly failing due to timedelta and NA values #499

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

Closed
Dr-Irv opened this issue Jan 6, 2023 · 1 comment · Fixed by #500
Closed

nightly failing due to timedelta and NA values #499

Dr-Irv opened this issue Jan 6, 2023 · 1 comment · Fixed by #500

Comments

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Jan 6, 2023

Nightly failing due to restriction on to_numpy() values for na_value

In test_timefuncs.py, we have this test:

check(assert_type(td_s.to_numpy(na_value=0), np.ndarray), np.ndarray)

Need to change it to

check(assert_type(td_s.to_numpy(na_value=pd.Timedelta(0)), np.ndarray), np.ndarray)
@bashtage
Copy link
Contributor

bashtage commented Jan 6, 2023

The definitions probably also adjustment since looks like int is not allowed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants