directly import and convert their relational data into a Featuretools
Project description
Featuretools-SQL
The featuretools_sql
library allows you to directly import your relational data into
Featuretools to run automated feature engineering.
Automated creation of EntitySets from relational data stored in SQL databases
Installation
Install with pip:
python -m pip install "featuretools[sql]"
Example
Simply pass in the database connection information. For example:
from featuretools_sql.connector import DBConnector
sql_connector = DBConnector(
system_name = "mysql",
host = "127.0.0.1:3306"
user = "root",
password = "password",
database = "db"
)
entityset = sql_connector.get_entityset()
The entityset
object will have the relationships
and DataFrames
already populated, allowing you to call featuretools.DFS and run automated feature generation.
import featuretools as ft
feature_defs, feature_matrix = ft.dfs(
entityset=entityset,
target_entity='target_table_name'
)
We currently supports importing data from the following relational database systems:
MySQL
PostgreSQL
Snowflake
Support
The Featuretools community is happy to provide support to users. Project support can be found in four places depending on the type of question:
- For usage questions, use Stack Overflow with the
featuretools
tag. - For bugs, issues, or feature requests start a Github issue.
- For discussion regarding development, use Slack.
- For everything else, the core developers can be reached by email at open_source_support@alteryx.com
Built at Alteryx
featuretools_sql
is an open source project maintained by Alteryx. To see the other open source projects we’re working on, visit Alteryx Open Source. If building impactful data science pipelines is important to you or your business, please get in touch.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file featuretools_sql-0.0.4.tar.gz
.
File metadata
- Download URL: featuretools_sql-0.0.4.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b3d670921e5371ae031320f55e0408689bcf8658b8d0b73714512e76520526c |
|
MD5 | 8637ed8da93aff0652262f510300e0b4 |
|
BLAKE2b-256 | d6b8fb7f773f477a65e59776b08e1f931fc415ffe39cb0be58ce8b93ccf18179 |
File details
Details for the file featuretools_sql-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: featuretools_sql-0.0.4-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fa2c9b9118b1d836bd7d9341e0c1593529e198d9ce68f8d81b68923837a496a |
|
MD5 | 2df4d7054e739892f746e65f980b6c17 |
|
BLAKE2b-256 | a072f035a87710babdef1774ac9dacfc850526745c4e6933763992fadf874d12 |