QuantEcon / QuantEcon/lecture-python-advanced.myst

[amss] remove interpolation and replace np.interp

Open
#227 11 comments 1 reaction 3 assignees View on GitHub

@kp992 is already working on this.

Since Aug 6, 2025.

Dominant language
TeX
Stars
37
Forks
26
Avg merge
13d 22h
Merged PRs (30d)
2

Description

The interpolation package is used in the amss lecture as it provided numba jit compatible functions.

The np.interp function is now compatible with numba so we can update this lecture and remove a dependency.

Currently this lecture uses

from interpolation.splines import eval_linear, UCGrid, nodes

hopefully we can find alternatives in numpy as a quick short term fix.

In the medium term we will update this lecture to use jax

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.