maxframe.dataframe.Index#
- class maxframe.dataframe.Index(data, **_)[source]#
- __init__(data=None, dtype=None, copy=False, name=None, tupleize_cols=True, chunk_size=None, gpu=None, sparse=None, names=None, num_partitions=None, store_data=False)[source]#
Methods
__init__([data, dtype, copy, name, ...])agg([func, axis])Aggregate using one or more operations over the specified axis.
aggregate([func, axis])Aggregate using one or more operations over the specified axis.
all()any()argmax([axis, skipna])Return int position of the smallest value in the Series.
argmin([axis, skipna])Return int position of the smallest value in the Series.
argsort(*args, **kwargs)astype(dtype[, copy])Create an Index with values cast to dtypes.
check_monotonic([decreasing, strict])Check if values in the object are monotonic increasing or decreasing.
clip([lower, upper, axis, inplace])Trim values at input threshold(s).
copy()copy_from(obj)copy_to(target)drop(labels[, errors])Make new Index with passed list of labels deleted.
drop_duplicates([keep, method])Return Index with duplicate values removed.
droplevel(level)Return index with requested level(s) removed.
dropna([how])Return Index without NA/NaN values.
duplicated([keep])Indicate duplicate index values.
execute([session])factorize([sort, use_na_sentinel])Encode the object as an enumerated type or categorical variable.
fillna([value, downcast])Fill NA/NaN values with the specified value.
get_level_values(level)Return vector of label values for requested level.
insert(loc, value)Make new Index inserting new item at location.
isna()Detect missing values.
isnull()Detect missing values.
map(mapper[, na_action, dtype, ...])Map values using input correspondence (a dict, Series, or function).
max([axis, skipna])memory_usage([deep])Memory usage of the values.
min([axis, skipna])notna()Detect existing (non-missing) values.
notnull()Detect existing (non-missing) values.
rechunk(chunk_size[, reassign_worker])rename(name[, inplace])Alter Index or MultiIndex name.
repeat(repeats[, axis])Repeat elements of an Index.
set_names(names[, level, inplace])Set Index or MultiIndex name.
to_frame([index, name])Create a DataFrame with a column containing the Index.
to_pandas([session])to_series([index, name])Create a Series with both index and values equal to the index keys.
value_counts([normalize, sort, ascending, ...])Return a Series containing counts of unique values.
Attributes
TReturn the transpose, which is by definition self.
dataReturn True if there are any NaNs.
is_monotonicReturn boolean scalar if values in the object are monotonic_increasing.
Return boolean scalar if values in the object are monotonic_decreasing.
Return boolean scalar if values in the object are monotonic_increasing.
Return boolean if values in the index are unique.
shapetype_namevalues