Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust imports to updates in libpysal #272

Merged
merged 5 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion esda/getisord.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

import warnings

from libpysal.common import np, stats
import numpy as np
from scipy import stats

from libpysal.weights.spatial_lag import lag_spatial as slag
from libpysal.weights.util import fill_diagonal

Expand Down
4 changes: 3 additions & 1 deletion esda/smoothing.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
import warnings
from functools import reduce

import numpy as np

from libpysal.cg import (
KDTree,
LineSegment,
Point,
Ray,
Expand All @@ -34,7 +37,6 @@
get_points_dist,
get_segment_point_dist,
)
from libpysal.common import KDTree, np
from libpysal.common import requires as _requires
from libpysal.weights.distance import Kernel
from libpysal.weights.spatial_lag import lag_spatial as slag
Expand Down