Closed sjsrey closed 3 months ago
Attention: Patch coverage is 98.61111%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 85.0%. Comparing base (
bcabdbc
) to head (82147e8
). Report is 18 commits behind head on main.
What would you think about dispatching to categorical lag if the type is categorical?
I can appreciate that this might make the lag type implicit, but if someone has cast the variable to a categorical already, I think we can infer that they need the appropriate lag function?
@ljwolf that is what we do on l. 87, no?
pre-commit.ci autofix
This has two changes from the creation of categorical spatial lags using W
categorical
is now an option in_lag_spatial
, to unify treatment of the lag.categorical=True
,ties=raise
, and ties are encountered. "Explicit is better than implicit."