Skip to main content

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.

Quickly run automated feature engineering on your relational database.

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

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:

  1. For usage questions, use Stack Overflow with the featuretools tag.
  2. For bugs, issues, or feature requests start a Github issue.
  3. For discussion regarding development, use Slack.
  4. 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.

Alteryx Open Source

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

featuretools_sql-0.0.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

featuretools_sql-0.0.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file featuretools_sql-0.0.1.tar.gz.

File metadata

  • Download URL: featuretools_sql-0.0.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for featuretools_sql-0.0.1.tar.gz
Algorithm Hash digest
SHA256 87202bd800d2130add35bf2368b136a3bcd5d68bf9e885ebba004239d6eba627
MD5 d60bd761de15ff1d810c536ba9a30521
BLAKE2b-256 dbcc749f6ddd9af156711ef30e5d0dae1cad3fb5eb3d4575a742f609213723e0

See more details on using hashes here.

File details

Details for the file featuretools_sql-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for featuretools_sql-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3401b83a264de83775b09f6ef602a36a12bfc0b8647147813433d4f2147d084f
MD5 0d2be3bde7df4e791682c6ad2dc6160b
BLAKE2b-256 9987cbc27105a32535783247eec4dba1b7bf1822c745fa802cef587678a86e55

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page