Skip to content

TST: 2.7-compat build #14276

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
jreback opened this issue Sep 21, 2016 · 4 comments
Closed

TST: 2.7-compat build #14276

jreback opened this issue Sep 21, 2016 · 4 comments
Labels
Compat pandas objects compatability with Numpy or Python functions Testing pandas testing functions or related to the test suite
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Sep 21, 2016

https://travis-ci.org/pydata/pandas/jobs/161159735

xref #14208

cc @llllllllll

np.full_like must be newer, can you skip on older builds (this build is with 1.7.1)

@jreback jreback added Testing pandas testing functions or related to the test suite Compat pandas objects compatability with Numpy or Python functions labels Sep 21, 2016
@jreback jreback added this to the 0.19.0 milestone Sep 21, 2016
@llllllllll
Copy link
Contributor

I can change this to np.full and pass the index's shape explicitly.

@jreback
Copy link
Contributor Author

jreback commented Sep 22, 2016

thanks

funny thing i thought the idiom was

.empty
.fill

but .full makes sense

@llllllllll
Copy link
Contributor

I will use empty and fill, full and full_like were added in 1.8.0

jreback pushed a commit that referenced this issue Sep 22, 2016
closes ##14276

Author: Joe Jevnik <[email protected]>

Closes #14277 from llllllllll/no-full-like and squashes the following commits:

e098fd7 [Joe Jevnik] TST: remove usages of np.full_like for numpy<1.8.0 compat
@chris-b1
Copy link
Contributor

Closed by dfb6373

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions Testing pandas testing functions or related to the test suite
Projects
None yet
Development

No branches or pull requests

3 participants