Skip to content

utils.py:line94, .ix is deprecated resulting in FutureWarning #21

Closed
@neilsmurphy

Description

FutureWarning error in the utils.py module at line 94 in the rebase function.

Pandas' .ix is now deprecated and a simple change to .iloc[0] in the rebase function fixes this. I've run this in isolation and tested against both series and dataframe timeseries prices and it works well.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions