pytzwhere icon indicating copy to clipboard operation
pytzwhere copied to clipboard

Adding 'dtype=object' in constructor tzwhere.py

Open tiagolofi opened this issue 2 years ago • 1 comments

this modification will fix the bug in the constructor in version 3.0.3

tiagolofi avatar Jan 28 '24 13:01 tiagolofi

Yes ! Since numpy version 19.0 one must specify dtype=object when creating an array from "ragged" sequences.

It will throw VisibleDeprecationWarning up to numpy 1.23 before the behavior becomes completely unsupported in higher versions.

Duplicated with PR#58 and PR#62

felixbouquet avatar Jun 11 '24 14:06 felixbouquet