Skip to content

Feature engineering example #10

@boc410

Description

@boc410

This is a very minor issue with the wording used in the "Domain Knowledge Features" section of the Feature Engineering notebook.

I believe the sentence should indicate there is an anomaly where some memberships expire before the transactions date (instead of after). The following code appears to apply a filter to include only data where memberships expire after the transaction date.

From the notebook:
There is one slight anomaly with the transactions where some membership expire dates are after the transactions date, so we will filter those out.

#Filter anomalies
trans = trans[trans['membership_expire_date'] > trans['transaction_date']]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions