Skip to content

datetools.thisYearBegin is wrong #9509

Closed
@craustin

Description

@craustin
import pandas as pd
from datetime import datetime
pd.datetools.thisYearBegin(datetime(2015,2,1))

This returns Timestamp('2016-01-01 00:00:00'), but should return 2015-01-01. Should thisYearBegin() just be removed? I don't think it's documented.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions