pegler / pytzwhere

python library to look up timezone from lat lng offline
Other
146 stars 54 forks source link

Adding 'dtype=object' in constructor tzwhere.py #64

Open tiagolofi opened 9 months ago

tiagolofi commented 9 months ago

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

felixbouquet commented 4 months ago

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