This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
cimport numpy as np | |
from libc.stdint cimport uint16_t | |
from libc.stdlib cimport strtod | |
from cpython.unicode cimport PyUnicode_AsUTF8 | |
cpdef np.ndarray[np.double_t, ndim=2] parse_list_list_str_to_floats(list[list[str]] data): | |
""" | |
Parses a list of lists of strings into a NumPy array of floats. |