Skip to content

Constructor fails with value error #63

@pmallas

Description

@pmallas

---> 13 tz1 = tzwhere.tzwhere(forceTZ=True)

File ~\Miniconda3\envs\blah\Lib\site-packages\tzwhere\tzwhere.py:62, in tzwhere.init(self, forceTZ)
60 self.timezoneNamesToPolygons[tzname].append(poly)
61 for tzname, polys in self.timezoneNamesToPolygons.items():
---> 62 self.timezoneNamesToPolygons[tzname] = WRAP(polys)
64 if forceTZ:
65 self.unprepTimezoneNamesToPolygons[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions