# W to Graph Member Comparisions

## Overview

This guide compares the members (attributes and methods) from the W class and the Graph class.

It is intended for developers. Users interested in migrating to the new Graph class from W should see the migration guide.

## Members common to W and Graph

Member | Type
--- | ---
asymmetry | builtins.method
from_sparse | builtins.method
n | builtins.int
n_components | builtins.int
neighbors | builtins.dict
pct_nonzero | builtins.float
plot | builtins.method
to_networkx | builtins.method
weights | builtins.dict

## Members common to W and Graph with different types

Member | Queen Type | Graph Type
--- | --- | ---
cardinalities | builtins.dict | pandas.core.series.Series
component_labels | numpy.ndarray | pandas.core.series.Series
nonzero | builtins.int | numpy.int64
sparse | scipy.sparse._csr.csr_matrix | scipy.sparse._csr.csr_array
transform | builtins.str | builtins.method

## Members unique to W

Member | Type
--- | ---
asymmetries | builtins.list
diagW2 | numpy.ndarray
diagWtW | numpy.ndarray
diagWtW_WW | numpy.ndarray
from_WSP | builtins.method
from_adjlist | builtins.method
from_dataframe | builtins.method
from_file | builtins.method
from_iterable | builtins.method
from_networkx | builtins.method
from_shapefile | builtins.method
from_xarray | builtins.method
full | builtins.method
get_transform | builtins.method
histogram | builtins.list
id2i | builtins.dict
id_order | builtins.list
id_order_set | builtins.bool
islands | builtins.list
max_neighbors | builtins.int
mean_neighbors | numpy.float64
min_neighbors | builtins.int
neighbor_offsets | builtins.dict
remap_ids | builtins.method
s0 | numpy.float64
s1 | numpy.float64
s2 | numpy.float64
s2array | numpy.ndarray
sd | numpy.float64
set_shapefile | builtins.method
set_transform | builtins.method
silence_warnings | builtins.bool
symmetrize | builtins.method
to_WSP | builtins.method
to_adjlist | builtins.method
to_file | builtins.method
to_sparse | builtins.method
transformations | builtins.dict
trcW2 | numpy.float64
trcWtW | numpy.float64
trcWtW_WW | numpy.float64

## Members unique to Graph

Member | Type
--- | ---
adjacency | pandas.core.series.Series
aggregate | builtins.method
apply | builtins.method
assign_self_weight | builtins.method
build_block_contiguity | builtins.method
build_contiguity | builtins.method
build_distance_band | builtins.method
build_fuzzy_contiguity | builtins.method
build_h3 | builtins.method
build_kernel | builtins.method
build_knn | builtins.method
build_raster_contiguity | builtins.method
build_spatial_matches | builtins.method
build_triangulation | builtins.method
copy | builtins.method
describe | builtins.method
difference | builtins.method
eliminate_zeros | builtins.method
equals | builtins.method
explore | builtins.method
from_W | builtins.method
from_adjacency | builtins.method
from_arrays | builtins.method
from_dicts | builtins.method
from_weights_dict | builtins.method
generate_da | builtins.method
higher_order | builtins.method
index_pairs | builtins.tuple
intersection | builtins.method
intersects | builtins.method
isolates | pandas.core.indexes.base.Index
isomorphic | builtins.method
issubgraph | builtins.method
lag | builtins.method
n_edges | builtins.int
n_nodes | builtins.int
subgraph | builtins.method
summary | builtins.method
symmetric_difference | builtins.method
to_W | builtins.method
to_gal | builtins.method
to_gwt | builtins.method
to_parquet | builtins.method
transformation | builtins.str
union | builtins.method
unique_ids | pandas.core.indexes.base.Index