def remove_na_arraylike(arr):
if is_extension_array_dtype(arr):<EOL><INDENT>return arr[notna(arr)]<EOL><DEDENT>else:<EOL><INDENT>return arr[notna(lib.values_from_object(arr))]<EOL><DEDENT>
Return array-like containing only true/non-NaN values, possibly empty.