• Peter Hawkins's avatar
    [NumPy] Remove references to deprecated NumPy type aliases. · dd643b1e
    Peter Hawkins authored
    This change replaces references to a number of deprecated NumPy type aliases (np.bool, np.int, np.float, np.complex, np.object, np.str) with their recommended replacement (bool, int, float, complex, object, str).
    
    NumPy 1.24 drops the deprecated aliases, so we must remove uses before updating NumPy.
    
    PiperOrigin-RevId: 495546406
    Change-Id: Iaf1bfd2000fee1bffada5138ae16ec192916c076
    dd643b1e
notebook_utils.py 6.58 KB