Skip to content

Conversation

@jpn--
Copy link
Member

@jpn-- jpn-- commented Dec 12, 2022

In pandas 1.5 there is a new FutureWarning emitted when a column is set via iloc from an array of different dtype. In a future pandas, the update will eventually be done in-place. This is actually the preferred outcome for ActivitySim and no "real" code changes are needed. But some of our tests treat unexpected warnings as errors. To address this, we mark this particular warning as expected.

Also, an upcoming Sharrow update will begin emitting CacheMissWarning when the compiler needs to be invoked. This too is completely normal in some circumstances (including in many tests) so it too is marked as an expected warning.

@jpn-- jpn-- merged commit 50ed965 into ActivitySim:develop Dec 12, 2022
@jpn-- jpn-- added this to the Phase 7 milestone Dec 13, 2022
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.

1 participant