General Functions#

2025-05-05

21 min read time

Applies to Linux

Data manipulations#

hipdf.concat(objs[, axis, join, ...])

Concatenate DataFrames, Series, or Indices row-wise.

hipdf.crosstab(index, columns[, values, ...])

Compute a simple cross tabulation of two (or more) factors.

hipdf.cut(x, bins[, right, labels, retbins, ...])

Bin values into discrete intervals.

hipdf.factorize(values[, sort, na_sentinel, ...])

Encode the input values as integer labels

hipdf.get_dummies(df[, prefix, prefix_sep, ...])

Returns a dataframe whose columns are the one hot encodings of all columns in df

hipdf.melt(frame[, id_vars, value_vars, ...])

Unpivots a DataFrame from wide format to long format, optionally leaving identifier variables set.

hipdf.merge(left, right, *args, **kwargs)

Merge GPU DataFrame objects by performing a database-style join operation by columns or indexes.

hipdf.pivot(data[, index, columns, values])

Return reshaped DataFrame organized by the given index and column values.

hipdf.pivot_table(data[, values, index, ...])

Create a spreadsheet-style pivot table as a DataFrame.

hipdf.unstack(df, level[, fill_value])

Pivot one or more levels of the (necessarily hierarchical) index labels.

Top-level conversions#

hipdf.to_numeric(arg[, errors, downcast])

Convert argument into numerical types.

hipdf.from_dataframe(df[, allow_copy])

hipdf.from_dlpack(pycapsule_obj)

Converts from a DLPack tensor to a cuDF object.

hipdf.from_pandas(obj[, nan_as_null])

Convert certain Pandas objects into the cudf equivalent.

Top-level dealing with datetimelike data#

hipdf.to_datetime(arg[, errors, dayfirst, ...])

Convert argument to datetime.

hipdf.date_range([start, end, periods, ...])

Return a fixed frequency DatetimeIndex.

Top-level dealing with Interval data#

hipdf.interval_range([start, end, periods, ...])

Returns a fixed frequency IntervalIndex.