pytzwhere
pytzwhere copied to clipboard
VisibleDeprecationWarning
miniforge3/envs/a50-dev/lib/python3.9/site-packages/tzwhere/tzwhere.py:65: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.self.unprepTimezoneNamesToPolygons[tzname] = WRAP(polys)
ValueError on numpy==1.24.1
File ".../venv/lib/python3.8/site-packages/tzwhere/tzwhere.py", line 62, in __init__
self.timezoneNamesToPolygons[tzname] = WRAP(polys)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (1, 2) + inhomogeneous part.