Skip to main content

A Nice and Convenient Feature Engineering Tool on Sequential Data

Project description

This project handles series data

Support Series data Feature Calculation.


You need Python installed on your system to able to use seq2ftr.

This package contains many feature extraction methods.

Support different type (continues/class) features calculation.

>>> $ pip install seq2ftr
Install Requirements
  • numpy
  • pandas
  • sklearn

Feature Calculation

Support Function

  • mean
  • max
  • min
  • freq_of_max
  • freq_of_min
  • median
  • median_mean_distance
  • percentage_below_mean
  • var
  • std
  • uniqueCount

Support Type

  • 0 - boolean
  • 1 - numericla
  • 2 - categorical


To start , we load data to python

import pandas as pd
df = pd.DataFrame([[1,200,"1"],[1,500,"2"],[2,300,"2"],[2,600,"2"]],columns=['id','stock_price',"type"])
df = df.set_index("id")
from seq2ftr import SequenceTransformer
st_num = SequenceTransformer()
# output all features

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for seq2ftr, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size seq2ftr-0.1.7.tar.gz (9.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page