File: //usr/local/lib/python3.10/dist-packages/numpy/lib/__pycache__/recfunctions.cpython-310.pyc
o
���g� � @ s� d Z ddlZddlZddlmZ ddlmZmZ ddlmZ ddl m
Z
ddlmZ ddl
mZ ejjjZg d�Zd d
� Zee�dd� �Zd
d� Zdd� Zdd� Zdd� Zdrdd�Zdrdd�Zdsdd�Zdd� Zdd� Zdtd!d"�Zdud#d$�Zdvd%d&�Z dwd'd(�Z ee � dxd*d+��Z!dsd,d-�Z"ee"�dud.d/��Z#dud0d1�Z$d2d3� Z%ee%�d4d5� �Z&d6d7� Z'ee'�d8d9� �Z( dwd:d;�Z)ee)� dyd<d=��Z*dvd>d?�Z+ee+�dvd@dA��Z,dsdBdC�Z-ee-�dzdDdE��Z.d{dFdG�Z/dHdI� Z0 d|dJdK�Z1ee1�d}dMdN��Z2 d~dOdP�Z3ee3� LddQdR��Z4dSdT� Z5ee5�dUdV� �Z6dvdWdX�Z7ee7�d�dYdZ��Z8d[d\� Z9ee9�d]d^� �Z: dwd_d`�Z;ee;� d�dadb��Z< d|dcdd�Z=ee=�d�dedf��Z> d�dgdh�Z?ee?� k d�dldm��Z@ dwdndo�ZAeeA� k d�dpdq��ZBdS )�z�
Collection of utilities to manipulate structured arrays.
Most of these functions were initially implemented by John Hunter for
matplotlib. They have been rewritten and extended for convenience.
� N)�ndarray�recarray)�MaskedArray)�
MaskedRecords)�array_function_dispatch)�_is_string_like)�
append_fields�apply_along_fields�assign_fields_by_name�drop_fields�find_duplicates�
flatten_descr�get_fieldstructure� get_names�get_names_flat�join_by�merge_arrays�rec_append_fields�rec_drop_fields�rec_join�recursive_fill_fields�
rename_fields�
repack_fields�require_fields�stack_arrays�structured_to_unstructured�unstructured_to_structuredc C � | |fS �N� )�input�outputr r �A/usr/local/lib/python3.10/dist-packages/numpy/lib/recfunctions.py�!_recursive_fill_fields_dispatcher � r# c C sf |j }|jD ]*}z| | }W n ty Y qw |j jdur&t||| � q||| dt|��<