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

MAINT: Register cartesian_nearest_index to __init__ #670

Merged
merged 1 commit into from
Dec 18, 2022
Merged
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
22 changes: 11 additions & 11 deletions quantecon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
__version__ = '0.6.0'

try:
import numba
import numba
except:
raise ImportError(
"Cannot import numba from current anaconda distribution. \
Please run `conda install numba` to install the latest version.")
raise ImportError(
"Cannot import numba from current anaconda distribution. \
Please run `conda install numba` to install the latest version.")

# Modules
from . import distributions
Expand All @@ -26,10 +26,10 @@
from ._ecdf import ECDF
from ._estspec import smooth, periodogram, ar_periodogram
from ._graph_tools import DiGraph, random_tournament_graph
from ._gridtools import (cartesian, mlinspace, simplex_grid, simplex_index,
num_compositions)
from ._gridtools import (cartesian, mlinspace, cartesian_nearest_index,
simplex_grid, simplex_index, num_compositions)
from ._inequality import (lorenz_curve, gini_coefficient, shorrocks_index,
rank_size)
rank_size)
from ._kalman import Kalman
from ._lae import LAE
from ._arma import ARMA
Expand All @@ -46,7 +46,7 @@
#-> Propose Delete From Top Level
# Promote to keep current examples working
from .markov import MarkovChain, random_markov_chain, random_stochastic_matrix, \
gth_solve, tauchen, rouwenhorst
gth_solve, tauchen, rouwenhorst


from .util import searchsorted, fetch_nb_dependencies, tic, tac, toc
Expand All @@ -57,6 +57,6 @@

# Imports that are deprecated and will be removed in further versions
from . import (ecdf, arma, compute_fp, discrete_rv, dle, estspec, filter,
graph_tools, gridtools, inequality, ivp, kalman, lae,
lqcontrol, lqnash, lss, matrix_eqn, quadsums, rank_nullspace,
robustlq)
graph_tools, gridtools, inequality, ivp, kalman, lae,
lqcontrol, lqnash, lss, matrix_eqn, quadsums, rank_nullspace,
robustlq)