def METHOD_NAME(array):
    flattened_array = array.flatten()
    trimmed_array = flattened_array[0:MAX_ROWS]
    try:
        hashable_elements.append(pd.util.METHOD_NAME(trimmed_array))
    except TypeError:
        hashable_elements.append(np.int64(trimmed_array.size))
    # hash full array dimensions
    for x in array.shape:
        hashable_elements.append(np.int64(x))