module documentation

Undocumented

Class docstrings No class docstring; 1/1 static method documented
Class FullTypeDescr Undocumented
Class FuncNameSuffix Stores the suffix to append when generating functions names.
Class TypeDescription Type signature for a ufunc.
Class Ufunc Description of a ufunc.
Function build_func_data Undocumented
Function check_td_order Undocumented
Function english_upper Apply English case rules to convert ASCII strings to all upper case.
Function indent Undocumented
Function make_arrays Undocumented
Function make_code Undocumented
Function make_ufuncs Undocumented
Function TD Undocumented
Constant O Undocumented
Constant P Undocumented
Constant UPPER_TABLE Undocumented
Variable all Undocumented
Variable AllOnes Undocumented
Variable allP Undocumented
Variable arity_lookup Undocumented
Variable bints Undocumented
Variable bintsO Undocumented
Variable chartoname Undocumented
Variable cmplx Undocumented
Variable cmplxO Undocumented
Variable cmplxP Undocumented
Variable cmplxvec Undocumented
Variable defdict Undocumented
Variable False_ Undocumented
Variable flts Undocumented
Variable fltsO Undocumented
Variable fltsP Undocumented
Variable inexact Undocumented
Variable inexactvec Undocumented
Variable int64 Undocumented
Variable intflt Undocumented
Variable intfltcmplx Undocumented
Variable ints Undocumented
Variable intsO Undocumented
Variable MinusInfinity Undocumented
Variable nobool_or_datetime Undocumented
Variable nobool_or_obj Undocumented
Variable nocmplx Undocumented
Variable nocmplxO Undocumented
Variable nocmplxP Undocumented
Variable nodatetime_or_obj Undocumented
Variable noint Undocumented
Variable nointP Undocumented
Variable None_ Undocumented
Variable noobj Undocumented
Variable notimes_or_obj Undocumented
Variable One Undocumented
Variable ReorderableNone Undocumented
Variable sints Undocumented
Variable timedeltaonly Undocumented
Variable times Undocumented
Variable True_ Undocumented
Variable uint64 Undocumented
Variable uints Undocumented
Variable Zero Undocumented
Function _check_order Undocumented
Variable _fdata_map Undocumented
def build_func_data(types, f): (source)

Undocumented

def check_td_order(tds): (source)

Undocumented

def english_upper(s): (source)

Apply English case rules to convert ASCII strings to all upper case.

This is an internal utility function to replace calls to str.upper() such that we can avoid changing behavior with changing locales. In particular, Turkish has distinct dotted and dotless variants of the Latin letter "I" in both lowercase and uppercase. Thus, "i".upper() != "I" in a "tr" locale.

Examples

>>> from numpy.lib.utils import english_upper
>>> s = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_'
>>> english_upper(s)
'ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'
>>> english_upper('')
''
Parameters
s:str
Returns
struppered
def indent(st, spaces): (source)

Undocumented

def make_arrays(funcdict): (source)

Undocumented

def make_code(funcdict, filename): (source)

Undocumented

def make_ufuncs(funcdict): (source)

Undocumented

def TD(types, f=None, astype=None, in_=None, out=None, cfunc_alias=None, simd=None, dispatch=None): (source)

Undocumented

Undocumented

Value
'O'

Undocumented

Value
'P'

Undocumented

Undocumented

Undocumented

arity_lookup: dict = (source)

Undocumented

Undocumented

Undocumented

chartoname: dict[str, str] = (source)

Undocumented

Undocumented

Undocumented

Undocumented

cmplxvec: str = (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

inexactvec: str = (source)

Undocumented

Undocumented

Undocumented

intfltcmplx = (source)

Undocumented

Undocumented

Undocumented

MinusInfinity: str = (source)

Undocumented

nobool_or_datetime = (source)

Undocumented

nobool_or_obj = (source)

Undocumented

Undocumented

nocmplxO = (source)

Undocumented

nocmplxP = (source)

Undocumented

nodatetime_or_obj = (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

notimes_or_obj = (source)

Undocumented

Undocumented

ReorderableNone: str = (source)

Undocumented

Undocumented

timedeltaonly: str = (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

def _check_order(types1, types2): (source)

Undocumented

_fdata_map = (source)

Undocumented