Skip to content

np.in1d -> np.isin - #1093

Merged
jpn-- merged 1 commit into
ActivitySim:mainfrom
driftlesslabs:fix-in1d
Jul 30, 2026
Merged

np.in1d -> np.isin#1093
jpn-- merged 1 commit into
ActivitySim:mainfrom
driftlesslabs:fix-in1d

Conversation

@jpn--

@jpn-- jpn-- commented Jul 29, 2026

Copy link
Copy Markdown
Member

This pull request makes a small but important update to the interaction_trace_rows function in activitysim/core/workflow/tracing.py. The change replaces the deprecated np.in1d function with the recommended np.isin function for checking membership in arrays. The API is the same and in1d is no longer available in modern numpy.

@jpn--
jpn-- merged commit da4533e into ActivitySim:main Jul 30, 2026
17 checks passed
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