Skip to content

BUG: 'base' argument when resampling TimedelataIndex has no effect #10530

Closed
@JonasAbernot

Description

@JonasAbernot
import pandas as pd
import numpy as np

df = pd.DataFrame(np.random.normal(size=(100,4)))
df.index = pd.timedelta_range(start='0s', periods=100, freq='s')
print df.resample('10s',base=5)

The resampled index is still aligned to 0.
The base argument seems to never be used, it doesn't raise any error when passing base=1223456879, or base='gjhmljpouj', or even base=df

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions