You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Normalize datetime and string dtypes to match NumPy/Pandas defaults #5327
Recent CI failures indicate dtype mismatches and unsupported dtype errors that appear to be triggered by changes in NumPy/Pandas defaults or dependency versions. Code that passed previously now fails due to stricter or different dtype inference, particularly for datetimes, strings, and pandas Index dtypes.
Observed Failures
datetime64[us] vs datetime64[ns] mismatches
Errors like:
ValueError: dtype datetime64[us] is unsupported
ValueError: dtype str is unsupported
Pandas test failures where index dtypes differ:
object vs StringDtype
Groupby aggregation error:
numeric_only accepts only Boolean values
Likely Cause
CI environment pulled newer NumPy and/or Pandas versions (e.g. Pandas 3.x, as indicated by Pandas4Warning)
Upstream defaults or inference behavior changed
Arkouda currently assumes narrower dtype sets or exact dtype matches
Proposed Fix
Normalize datetime and timedelta inputs
Cast all datetime64[*] → datetime64[ns]
Cast all timedelta64[*] → timedelta64[ns]
Use kind-based checks instead of exact dtype equality
Broaden string dtype acceptance
Accept NumPy unicode (U), bytes (S), object-of-str, and pandas StringDtype
Convert consistently to Arkouda string
Align pandas Index construction
Prefer pd.Index(data) and allow pandas to infer dtype
Activity
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Part 1 of Bears-R-Us#5327: Normalize datetime and string dtypes to ma…
Part 1 of #5327: Normalize datetime and string dtypes to match NumPy/…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…
Closes Bears-R-Us#5327: Normalize datetime and string dtypes to match…