diff --git a/arkouda/pdarraycreation.py b/arkouda/pdarraycreation.py index 3f51fc2626..2fe77e4642 100644 --- a/arkouda/pdarraycreation.py +++ b/arkouda/pdarraycreation.py @@ -4,6 +4,7 @@ import numpy as np import pandas as pd from typeguard import typechecked + from arkouda.client import generic_msg, get_max_array_rank from arkouda.numpy.dtypes import ( NUMBER_FORMAT_STRINGS, @@ -218,7 +219,6 @@ def array( >>> type(strings) """ - # Removed @typechecked to prevent cyclic dependencies with Array from arkouda.numeric import cast as akcast # If a is already a pdarray, do nothing @@ -308,7 +308,6 @@ def array( # including the dtype and size. If the server has a different byteorder # than our numpy array we need to swap to match since the server expects # native endian bytes - aview = _array_memview(a) rep_msg = generic_msg( cmd=f"array<{a.dtype.name},{ndim}>", @@ -316,7 +315,6 @@ def array( payload=aview, send_binary=True, ) - return create_pdarray(rep_msg) if dtype is None else akcast(create_pdarray(rep_msg), dtype) @@ -611,7 +609,6 @@ def full( >>> ak.full(5, 5, dtype=ak.bool_) array([True, True, True, True, True]) """ - if isinstance(fill_value, str): return _full_string(size, fill_value)