(self)
Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Parallel replacement of numpy.copy.

    .. only:: developer
       Test: python -m sdc.runtests sdc.tests.test_sdc_numpy -k copy
Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Parallel replacement of numpy.copy.
Intel Scalable Dataframe Compiler Developer Guide ************************************************* Parallel replacement of numpy . copy .
def sdc_copy_overload(self):
    """
    Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Parallel replacement of numpy.copy.

    .. only:: developer
       Test: python -m sdc.runtests sdc.tests.test_sdc_numpy -k copy
    """

    valid_self_types = sdc_pandas_df_column_types
    if not (isinstance(self, valid_self_types)):
        return None

    if isinstance(self, types.Array):
        dtype = self.dtype

        def sdc_copy_array_impl(self):
            length = len(self)
            res = numpy.empty(length, dtype=dtype)
            for i in prange(length):
                res[i] = self[i]

            return res

        return sdc_copy_array_impl

    elif isinstance(self, StringArrayType):
        def sdc_copy_str_arr_impl(self):
            return self.copy()

        return sdc_copy_str_arr_impl

    else:
        return None
def sdc_copy_overload ( self ) : valid_self_types = sdc_pandas_df_column_types if not ( isinstance ( self , valid_self_types ) ) : return None if isinstance ( self , types . Array ) : dtype = self . dtype def sdc_copy_array_impl ( self ) : length = len ( self ) res = numpy . empty ( length , dtype = dtype ) for i in prange ( length ) : res [ i ] = self [ i ] return res return sdc_copy_array_impl elif isinstance ( self , StringArrayType ) : def sdc_copy_str_arr_impl ( self ) : return self . copy ( ) return sdc_copy_str_arr_impl else : return None