Skip to content

TypeError: int() argument must be a string, a bytes-like object or a real number, not 'Timedelta' #406

@Rohith-Papani

Description

@Rohith-Papani

I got this issue while trying to load the data from NAB

code:
!pip install salesforce-merlion
!git clone https://github.com/salesforce/Merlion.git
!pip install Merlion/ts_datasets/

from ts_datasets.anomaly import NAB
import matplotlib.pyplot as plt
import numpy as np

np.random.seed(1234)
time_series, metadata = NAB(subset="realKnownCause")[1]

Can someone help me resolve this ?

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