Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore DictComp Call NameLoad BinOpMod Str NameLoad Call NameLoad Str NameLoad comprehension NameStore TupleLoad Str Str Str Str Str Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Return CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body If CompareEq NameLoad Str body Return Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Return Call NameLoad NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad BinOpAdd TupleLoad NameLoad AttributeLoad NameLoad attr BinOpAdd TupleLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad BinOpAdd AttributeLoad NameLoad attr TupleLoad NameLoad BinOpAdd AttributeLoad NameLoad attr TupleLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad Str orelse If CompareLtE SubscriptLoad NameLoad Index Num NameLoad body Raise Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword NameLoad Assign NameStore BinOpAdd BinOpSub SubscriptLoad NameLoad Index Num NameLoad Num Assign NameStore BinOpAdd TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore BinOpAdd TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Num FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad Assign NameStore CompareEq NameLoad NameLoad Assign NameStore CompareEq NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index BinOpBitOr NameLoad NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Return Call NameLoad TupleLoad TupleLoad Str Dict Str Str NameLoad Str decorator_list
N/A N/A 
Utilities for working with numpy arrays.
 datetime datetime warnings catch_warnings filterwarnings numpy broadcast busday_count datetime64 dtype empty nan where numpy.lib.stride_tricks as_strided toolz flip N/A uint8_dtype N/A dtype uint8 N/A bool_dtype N/A dtype bool N/A int64_dtype N/A dtype int64 N/A float32_dtype N/A dtype float32 N/A float64_dtype N/A dtype float64 N/A complex128_dtype N/A dtype complex128 N/A datetime64D_dtype N/A dtype datetime64[D] N/A datetime64ns_dtype N/A dtype datetime64[ns] N/A make_datetime64ns N/A flip datetime64 ns N/A make_datetime64D N/A flip datetime64 D N/A NaTmap N/A N/A dtype N/A datetime64[%s] unit N/A datetime64 NaT unit N/A unit N/A ns us ms s m D N/A NaT_for_dtype N/A NaTmap __getitem__ N/A NaTns N/A NaT_for_dtype datetime64ns_dtype N/A NaTD N/A NaT_for_dtype datetime64D_dtype N/A _FILLVALUE_DEFAULTS N/A bool_dtype float32_dtype float64_dtype datetime64ns_dtype False nan nan NaTns NoDefaultMissingValue N/A Exception N/A N/A N/A make_kind_check N/A N/A python_types numpy_kind N/A N/A N/A 
    Make a function that checks whether a scalar or array is of a given kind
    (e.g. float, int, datetime, timedelta).
     check N/A N/A value N/A N/A N/A N/A hasattr value dtype N/A N/A N/A N/A N/A value dtype kind numpy_kind N/A N/A isinstance value python_types N/A N/A check N/A N/A is_float N/A make_kind_check float f N/A is_int N/A make_kind_check int i N/A is_datetime N/A make_kind_check datetime M coerce_to_dtype N/A N/A dtype value N/A N/A N/A 
    Make a value with the specified numpy dtype.

    Only datetime64[ns] and datetime64[D] are supported for datetime dtypes.
     N/A name N/A dtype name N/A N/A N/A name startswith datetime64 N/A N/A N/A name datetime64[D] N/A N/A N/A make_datetime64D value N/A N/A N/A name datetime64[ns] N/A N/A N/A make_datetime64ns value N/A N/A N/A TypeError N/A Don't know how to coerce values of dtype %s dtype N/A N/A N/A dtype type value N/A default_missing_value_for_dtype N/A N/A dtype N/A N/A N/A 
    Get the default fill value for `dtype`.
     N/A N/A N/A N/A _FILLVALUE_DEFAULTS N/A dtype N/A N/A N/A KeyError N/A N/A N/A NoDefaultMissingValue N/A No default value registered for dtype %s. dtype N/A repeat_first_axis N/A N/A array count N/A N/A N/A 
    Restride `array` to repeat `count` times along the first axis.

    Parameters
    ----------
    array : np.array
        The array to restride.
    count : int
        Number of times to repeat `array`.

    Returns
    -------
    result : array
        Array of shape (count,) + array.shape, composed of `array` repeated
        `count` times along the first axis.

    Example
    -------
    >>> from numpy import arange
    >>> a = arange(3); a
    array([0, 1, 2])
    >>> repeat_first_axis(a, 2)
    array([[0, 1, 2],
           [0, 1, 2]])
    >>> repeat_first_axis(a, 4)
    array([[0, 1, 2],
           [0, 1, 2],
           [0, 1, 2],
           [0, 1, 2]])

    Notes
    ----
    The resulting array will share memory with `array`.  If you need to assign
    to the input or output, you should probably make a copy first.

    See Also
    --------
    repeat_last_axis
     N/A N/A as_strided array N/A N/A count N/A array shape N/A N/A 0 N/A array strides N/A repeat_last_axis N/A N/A array count N/A N/A N/A 
    Restride `array` to repeat `count` times along the last axis.

    Parameters
    ----------
    array : np.array
        The array to restride.
    count : int
        Number of times to repeat `array`.

    Returns
    -------
    result : array
        Array of shape array.shape + (count,) composed of `array` repeated
        `count` times along the last axis.

    Example
    -------
    >>> from numpy import arange
    >>> a = arange(3); a
    array([0, 1, 2])
    >>> repeat_last_axis(a, 2)
    array([[0, 0],
           [1, 1],
           [2, 2]])
    >>> repeat_last_axis(a, 4)
    array([[0, 0, 0, 0],
           [1, 1, 1, 1],
           [2, 2, 2, 2]])

    Notes
    ----
    The resulting array will share memory with `array`.  If you need to assign
    to the input or output, you should probably make a copy first.

    See Also
    --------
    repeat_last_axis
     N/A N/A as_strided array N/A N/A array shape N/A count N/A N/A array strides N/A 0 N/A rolling_window N/A N/A array length N/A N/A N/A 
    Restride an array of shape

        (X_0, ... X_N)

    into an array of shape

        (length, X_0 - length + 1, ... X_N)

    where each slice at index i along the first axis is equivalent to

        result[i] = array[length * i:length * (i + 1)]

    Parameters
    ----------
    array : np.ndarray
        The base array.
    length : int
        Length of the synthetic first axis to generate.

    Returns
    -------
    out : np.ndarray

    Example
    -------
    >>> from numpy import arange
    >>> a = arange(25).reshape(5, 5)
    >>> a
    array([[ 0,  1,  2,  3,  4],
           [ 5,  6,  7,  8,  9],
           [10, 11, 12, 13, 14],
           [15, 16, 17, 18, 19],
           [20, 21, 22, 23, 24]])

    >>> rolling_window(a, 2)
    array([[[ 0,  1,  2,  3,  4],
            [ 5,  6,  7,  8,  9]],
    <BLANKLINE>
           [[ 5,  6,  7,  8,  9],
            [10, 11, 12, 13, 14]],
    <BLANKLINE>
           [[10, 11, 12, 13, 14],
            [15, 16, 17, 18, 19]],
    <BLANKLINE>
           [[15, 16, 17, 18, 19],
            [20, 21, 22, 23, 24]]])
     N/A orig_shape N/A array shape N/A N/A orig_shape N/A N/A N/A IndexError Can't restride a scalar. N/A N/A N/A N/A orig_shape N/A 0 length N/A N/A N/A IndexError N/A N/A Can't restride array of shape {shape} with a window length of {len} format shape orig_shape len length N/A num_windows N/A N/A N/A orig_shape N/A 0 length 1 N/A new_shape N/A N/A num_windows length N/A orig_shape N/A 1 N/A new_strides N/A N/A N/A N/A array strides N/A 0 N/A array strides N/A N/A as_strided array new_shape new_strides N/A N/A _notNaT N/A make_datetime64D 0 busday_count_mask_NaT N/A N/A begindates enddates out N/A None N/A N/A 
    Simple of numpy.busday_count that returns `float` arrays rather than int
    arrays, and handles `NaT`s by returning `NaN`s where the inputs were `NaT`.

    Doesn't support custom weekdays or calendars, but probably should in the
    future.

    See Also
    --------
    np.busday_count
     N/A N/A out None N/A N/A out N/A empty N/A N/A broadcast begindates enddates shape dtype float N/A beginmask N/A begindates NaTD N/A endmask N/A enddates NaTD N/A out N/A busday_count N/A where beginmask _notNaT begindates N/A where endmask _notNaT enddates out out N/A N/A out N/A N/A beginmask endmask nan N/A out N/A WarningContext N/A object N/A N/A 
    Re-usable contextmanager for contextually managing warnings.
     __init__ N/A N/A self N/A warning_specs N/A N/A N/A self _warning_specs warning_specs N/A N/A self _catchers N/A N/A __enter__ N/A N/A self N/A N/A N/A catcher N/A catch_warnings N/A N/A N/A catcher __enter__ N/A N/A N/A N/A self _catchers append catcher N/A N/A args kwargs N/A self _warning_specs N/A N/A N/A filterwarnings args kwargs N/A self N/A __exit__ N/A N/A self N/A exc_info N/A N/A catcher N/A N/A N/A self _catchers pop N/A N/A N/A catcher __exit__ exc_info N/A N/A ignore_nanwarnings N/A N/A N/A N/A N/A 
    Helper for building a WarningContext that ignores warnings from numpy's
    nanfunctions.
     N/A N/A WarningContext N/A N/A ignore N/A category module RuntimeWarning numpy.lib.nanfunctions N/A