Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

remove dtype from np.asarray #344

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Emekaborisama
Copy link

@Emekaborisama Emekaborisama commented Jul 2, 2021

The recent version of numpy automatically select a data type and accept one positional argument. The dtype return a dependencies error

'in asarray return array(a, dtype, copy=False, order=order) TypeError: __array__() takes 1 positional argument but 2 were given -->'

Summary

Related Issues

PR Overview

  • This PR requires new unit tests [y/n] (make sure tests are included)
  • This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
  • This PR is backwards compatible [y/n]
  • This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

The recent version of numpy automatically select a data type and accept one positional argument. The dtype return a dependencies error 

'in asarray return array(a, dtype, copy=False, order=order) TypeError: __array__() takes 1 positional argument but 2 were given -->'
@google-cla
Copy link

google-cla bot commented Jul 2, 2021

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@Emekaborisama
Copy link
Author

@googlebot I signed it!

@Dref360
Copy link
Contributor

Dref360 commented Jul 2, 2021

This is a bug in Pillow, they are already working on a fix.

python-pillow/Pillow#5572

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

Successfully merging this pull request may close these issues.

None yet

2 participants