Module Expr Str ImportFrom alias alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad If CompareNotEq Call AttributeLoad NameLoad attr NameLoad Call NameLoad body Raise Call NameLoad Str If CompareNotEq Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad Num TupleLoad Num NameLoad body Expr Str Expr Call NameLoad ListLoad NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp Call NameLoad GeneratorExp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad comprehension NameStore AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad Call NameLoad NameLoad NameLoad attr attr If NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListComp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore NameLoad Assign AttributeStore NameLoad attr Str Return NameLoad decorator_list Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return TupleLoad NameLoad NameLoad decorator_list Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad Num TupleLoad Num NameLoad body Expr Str Import alias If CompareLt AttributeLoad AttributeLoad NameLoad attr attr Num body Raise Call NameLoad Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad TupleLoad NameLoad NameLoad keyword TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A 
Interaction with scipy.sparse matrices.

Currently only includes SparseSeries.to_coo helpers.
 pandas.core.index MultiIndex Index pandas.core.series Series pandas.compat OrderedDict lmap _check_is_partition N/A N/A parts whole N/A N/A N/A whole N/A set whole N/A parts N/A N/A set x N/A x parts N/A N/A N/A N/A set intersection parts N/A set N/A N/A N/A ValueError Is not a partition because intersection is not null. N/A N/A N/A N/A set union parts whole N/A N/A N/A ValueError Is not a partition because union is not the whole. N/A _to_ijv N/A N/A ss row_levels column_levels sort_labels N/A N/A 0 N/A 1 False N/A N/A  For arbitrary (MultiIndexed) SparseSeries return
    (v, i, j, ilabels, jlabels) where (v, (i, j)) is suitable for
    passing to scipy.sparse.coo constructor.  N/A N/A _check_is_partition N/A row_levels column_levels N/A range N/A N/A ss index nlevels N/A values N/A N/A N/A N/A ss _data internal_values _valid_sp_values N/A nonnull_labels N/A N/A ss dropna get_indexers N/A N/A levels N/A N/A N/A  Return sparse coords and dense labels for subset levels  N/A values_ilabels N/A N/A tuple N/A N/A x N/A i N/A i levels N/A x N/A nonnull_labels index N/A N/A N/A len levels 1 N/A N/A values_ilabels N/A N/A x N/A 0 N/A x values_ilabels _get_label_to_i_dict N/A N/A labels sort_labels N/A False N/A N/A  Return OrderedDict of unique labels to number.
            Optionally sort by label.
             N/A labels N/A N/A N/A N/A N/A Index N/A lmap tuple labels unique tolist N/A sort_labels N/A N/A labels N/A sorted N/A list labels N/A d N/A OrderedDict N/A N/A k i N/A N/A i k N/A enumerate labels N/A d N/A _get_index_subset_to_coord_dict N/A N/A index subset sort_labels N/A False N/A robust_get_level_values N/A N/A i N/A N/A N/A N/A N/A N/A N/A index get_level_values N/A N/A index names N/A i N/A N/A N/A KeyError N/A N/A N/A N/A index get_level_values i N/A N/A ilabels N/A list N/A zip N/A N/A robust_get_level_values i N/A i subset N/A labels_to_i N/A _get_label_to_i_dict ilabels sort_labels sort_labels N/A labels_to_i N/A Series labels_to_i N/A N/A N/A len subset 1 N/A N/A N/A labels_to_i index N/A N/A MultiIndex from_tuples N/A labels_to_i index N/A N/A N/A labels_to_i index names N/A N/A N/A index names N/A i N/A i subset N/A N/A labels_to_i name value N/A labels_to_i N/A N/A labels_to_i N/A _get_index_subset_to_coord_dict N/A ss index levels sort_labels sort_labels N/A i_coord N/A N/A N/A labels_to_i N/A values_ilabels tolist N/A i_labels N/A N/A N/A labels_to_i index tolist N/A N/A i_coord i_labels N/A N/A N/A i_coord i_labels N/A get_indexers row_levels N/A N/A j_coord j_labels N/A get_indexers column_levels N/A N/A values i_coord j_coord i_labels j_labels N/A _sparse_series_to_coo N/A N/A ss row_levels column_levels sort_labels N/A N/A 0 N/A 1 False N/A N/A  Convert a SparseSeries to a scipy.sparse.coo_matrix using index
    levels row_levels, column_levels as the row and column
    labels respectively. Returns the sparse_matrix, row and column labels.
     N/A scipy.sparse N/A N/A N/A N/A ss index nlevels 2 N/A N/A N/A ValueError to_coo requires MultiIndex with nlevels > 2 N/A N/A N/A N/A ss index is_unique N/A N/A N/A ValueError Duplicate index entries are not allowed in to_coo transformation. N/A row_levels N/A N/A N/A N/A ss index _get_level_number x N/A x row_levels N/A column_levels N/A N/A N/A N/A ss index _get_level_number x N/A x column_levels N/A N/A v i j rows columns N/A _to_ijv ss row_levels row_levels column_levels column_levels sort_labels sort_labels N/A sparse_matrix N/A N/A N/A scipy sparse coo_matrix N/A v N/A i j shape N/A N/A len rows N/A len columns N/A N/A sparse_matrix rows columns N/A _coo_to_sparse_series N/A N/A A dense_index N/A False N/A N/A  Convert a scipy.sparse.coo_matrix to a SparseSeries.
    Use the defaults given in the SparseSeries constructor.
     N/A s N/A Series N/A A data N/A N/A MultiIndex from_arrays N/A N/A A row N/A A col N/A s N/A N/A s sort_index N/A s N/A N/A s to_sparse N/A dense_index N/A N/A i N/A range N/A N/A A shape N/A 0 N/A j N/A range N/A N/A A shape N/A 1 N/A ind N/A N/A MultiIndex from_product N/A i j N/A s N/A N/A s reindex_axis ind N/A s N/A