modin.pandas.Index¶
- class snowflake.snowpark.modin.pandas.Index(data: ArrayLike | SnowflakeQueryCompiler | None = None, dtype: str | np.dtype | ExtensionDtype | None = None, copy: bool = False, name: object = None, tupleize_cols: bool = True, convert_to_lazy: bool = True)[source]¶
Bases:
object
Methods
all
()Return whether all elements are Truthy.
any
()Return whether any element is Truthy.
append
()Append a collection of Index options together.
argmax
()Return int position of the largest value in the Series.
argmin
()Return int position of the smallest value in the Series.
astype
(**kwargs)copy
(**kwargs)delete
()Make new Index with passed location(-s) deleted.
difference
(**kwargs)drop
(**kwargs)Return Index with duplicate values removed.
dropna
()Return Index without NA/NaN values.
duplicated
(**kwargs)equals
(**kwargs)fillna
()Fill NA/NaN values with the specified value.
get_indexer_for
(**kwargs)get_level_values
(**kwargs)hasnans
()Return True if there are any NaNs.
Similar to equals, but checks that object attributes and types are also equal.
insert
()Make new Index inserting new item at location.
intersection
(**kwargs)Check if the Index only consists of booleans.
Check if the Index is a floating type.
Check if the Index only consists of integers.
Check if the Index holds Interval objects.
Check if the Index only consists of numeric data.
Check if the Index is of the object dtype.
isin
()Return a boolean array where the index values are in values.
isna
()Detect missing values.
item
(**kwargs)join
()Compute join_index and indexers to conform data structures to the new index.
max
()Return the maximum value of the Index.
min
()Return the minimum value of the Index.
notna
()Detect existing (non-missing) values.
nunique
(**kwargs)reindex
()Create index with target's values.
rename
()Alter Index or MultiIndex name.
set_local_index
([data, dtype, copy, name, ...])Helper method to create and save local index when index should not be lazy
set_names
(names[, level, inplace])Set Index name.
set_query_compiler
([data, dtype, copy, ...])Helper method to find and save query compiler when index should be lazy
slice_indexer
(**kwargs)sort_values
(**kwargs)to_frame
(**kwargs)to_list
()Return a list of the values.
Convert Snowpark pandas Index to pandas Index
to_series
(**kwargs)tolist
()Return a list of the values.
union
(**kwargs)unique
(**kwargs)value_counts
(**kwargs)Attributes
Return the transpose, which is by definition self.
Whether the index is empty.
Return a boolean if the values are equal or decreasing.
Return a boolean if the values are equal or increasing.
Get the index name.
Get names of index
Number of dimensions of the underlying data, by definition 1.
Get a tuple of the shape of the underlying data.
Get the number of elements in the underlying data.
Vectorized string functions for Series and Index.
Return an array representing the data in the Index.