Skip to content

Commit

Permalink
MNT Use cimport numpy as cnp for sklearn/datasets (scikit-learn#23329)
Browse files Browse the repository at this point in the history
  • Loading branch information
RMeli committed May 12, 2022
1 parent 70c4952 commit 19cefcb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sklearn/datasets/_svmlight_format_fast.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ from cpython cimport array
cimport cython
from libc.string cimport strchr

cimport numpy as np
import numpy as np
import scipy.sparse as sp

np.import_array()


cdef bytes COMMA = u','.encode('ascii')
cdef bytes COLON = u':'.encode('ascii')
Expand Down

0 comments on commit 19cefcb

Please sign in to comment.