GeoEncoder
- class rsdiv.encoding.GeoEncoder[source]
Bases:
BaseEncoderPlotly Sample Datasets.
- read_source() Tuple[DataFrame, Dict][source]
Parse the location information from geojson-counties-fips.json.
- Returns
dataframe and county-wise dictionary.
- Return type
Tuple[pd.DataFrame, Dict]
- encoding_series(series: Series) Series[source]
Encoding for the series of locations.
- Parameters
series (pd.Series) – ths series of locations.
- Returns
the corresponding series of locations.
- Return type
pd.Series