Skip to content

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

Open
tiagolofi wants to merge 1 commit intopegler:masterfrom
tiagolofi:patch-1
Open

Adding 'dtype=object' in constructor tzwhere.py#64
tiagolofi wants to merge 1 commit intopegler:masterfrom
tiagolofi:patch-1

Conversation

@tiagolofi
Copy link
Copy Markdown

@tiagolofi tiagolofi commented Jan 28, 2024

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

@felixbouquet
Copy link
Copy Markdown

felixbouquet commented Jun 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants