If you are working with some old python and encounter:
ValueError: Non-string object detected for the array ordering. Please pass in 'C', 'F', 'A', or 'K' instead
In v1.4.0 there's an argument parser introduced that maps the strings from the error messages to the enum values. It's pretty straightforward to do the mapping if you know what changed and look up the enum, but for convenience's sake:
|pre-1.4.0 argument||Order Enum||post-v1.4.0 argument|
I'm sure no one else out there is looking at decade-old python, but just in case.
I'm not running an old Python (3.7.5), but I got this funny message! Thanks for explaining it, despite I didn't understand much :-). Am I lucky?
Post a Comment