Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jGaboardi
Copy link
Member

@jGaboardi jGaboardi commented Jun 18, 2025

ruff access - part 1

@jGaboardi jGaboardi self-assigned this Jun 18, 2025
cost_pivot = cost_df.pivot(index=cost_origin, columns=cost_dest, values=cost_name)
try:
travel_np = cost_pivot.loc[demand_locations, supply_locations].to_numpy().copy()
except:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can think of a better solution but let's not overdo this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a ticket for that already to deal with later - #76

@jGaboardi jGaboardi merged commit f49ea3b into pysal:main Jun 30, 2025
7 checks passed
@jGaboardi jGaboardi deleted the GH65_ruffen_part1 branch June 30, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants