sylva.types
sylva.types.QueryType
Bases: Enum
Used to more consistently define the type of a query
sylva.types.ResultDataFrame
Structured DataFrame for result handling
This object should rarely be interacted with directly, but the structure is valuable knowledge to have as returned DataFrames will be of this type.
Attributes:
Name | Type | Description |
---|---|---|
data | DataFrame | The internal DataFrame object |
Methods:
Name | Description |
---|---|
insert_frame | Insert a new DataFrame into the collector |
get_data | Returns a Pandas DataFrame of the collected results |
deduplicate | Deduplicate the collected results |
data instance-attribute
data = DataFrame(columns=['query', 'source_name', 'branch_recommended', 'platform_name', 'platform_url', 'username', 'email', 'phone', 'password', 'age', 'sex', 'first_name', 'middle_name', 'last_name', 'full_name', 'birth_year', 'birth_month', 'birth_day', 'street', 'unit', 'city', 'region', 'postal_code', 'country', 'raw_address', 'comment'])