verdict.py
def filled_arr_to_jagged_arr( arr, fill_value ):
    '''Convert a filled array to a jagged array

    Args:
        arr (np.ndarray):
            Array to convert to a jagged set of lists.

        fill_value:
            Value to skip over.

    Returns:
        A list of lists instead of a filled array.
    '''

    result = []
    for v in arr:
        if pd.api.types.is_list_like( v ):
            result.append( filled_arr_to_jagged_arr( v, fill_value ) )
        else:

            v = if_byte_then_to_str( v )

            if isinstance( v, str ):
                if v == fill_value:
                    continue
            else:
                if np.isclose( v, fill_value ):
                    continue
            result.append( v )

    return result
Convert a filled array to a jagged array

    Args:
        arr (np.ndarray):
            Array to convert to a jagged set of lists.

        fill_value:
            Value to skip over.

    Returns:
        A list of lists instead of a filled array.
    
Convert a filled array to a jagged array
Convert a filled array to a jagged array
def filled_arr_to_jagged_arr( arr, fill_value ):
    result = []
    for v in arr:
        if pd.api.types.is_list_like( v ):
            result.append( filled_arr_to_jagged_arr( v, fill_value ) )
        else:
            v = if_byte_then_to_str( v )
            if isinstance( v, str ):
                if v == fill_value:
                    continue
            else:
                if np.isclose( v, fill_value ):
                    continue
            result.append( v )
    return result
def filled_arr_to_jagged_arr ( arr , fill_value ) : result = [ ] for v in arr : if pd . api . types . is_list_like ( v ) : result . append ( filled_arr_to_jagged_arr ( v , fill_value ) ) else : v = if_byte_then_to_str ( v ) if isinstance ( v , str ) : if v == fill_value : continue else : if np . isclose ( v , fill_value ) : continue result . append ( v ) return result
Convert a filled array to a jagged array
Convert a filled array to a jagged array
'''Convert a filled array to a jagged array

    Args:
        arr (np.ndarray):
            Array to convert to a jagged set of lists.

        fill_value:
            Value to skip over.

    Returns:
        A list of lists instead of a filled array.
    '''
A list of lists instead of a filled array.
A list of lists instead of a filled array .
arr
Array to convert to a jagged set of lists.
Array to convert to a jagged set of lists .
fill_value
Value to skip over.
Value to skip over .