Series.to_timestamp()

Series.to_timestamp(freq=None, how='start', copy=True) [source]

Cast to datetimeindex of timestamps, at beginning of period

Parameters:

freq : string, default frequency of PeriodIndex

Desired frequency

how : {?s?, ?e?, ?start?, ?end?}

Convention for converting period to timestamp; start of period vs. end

Returns:

ts : Series with DatetimeIndex

doc_Pandas
2017-01-12 04:55:15
Comments
Leave a Comment

Please login to continue.