pd.DatetimeIndex supported APIs

The following table is structured as follows: The first column contains the method name. The second column is a flag for whether or not there is an implementation in Snowpark for the method in the left column.

Note

Y stands for yes, i.e., supports distributed implementation, N stands for no and API simply errors out, P stands for partial (meaning some parameters may not be supported yet), and D stands for defaults to single node pandas execution via UDF/Sproc.

Attributes

DatetimeIndex attribute

Snowpark implemented? (Y/N/P/D)

Notes for current implementation

year

Y

month

Y

day

Y

hour

Y

minute

Y

second

Y

microsecond

Y

nanosecond

Y

date

Y

time

Y

timetz

N

dayofyear

Y

day_of_year

Y

dayofweek

Y

day_of_week

Y

weekday

Y

quarter

Y

tz

N

freqstr

N

is_month_start

Y

is_month_end

Y

is_quarter_start

Y

is_quarter_end

Y

is_year_start

Y

is_year_end

Y

is_leap_year

Y

inferred_freq

N

Methods

DataFrame method

Snowpark implemented? (Y/N/P/D)

Missing parameters

Notes for current implementation

normalize

Y

strftime

N

snap

N

tz_convert

P

N if timezone format is not supported. Only timezones listed in pytz.all_timezones are supported. For example, UTC is supported but UTC+/-<offset>, such as, UTC+09:00 is not supported.

tz_localize

P

ambiguous, nonexistent

N if timezone format is not supported. Only timezones listed in pytz.all_timezones are supported. For example, UTC is supported but UTC+/-<offset>, such as, UTC+09:00 is not supported.

round

P

ambiguous, nonexistent

floor

P

ambiguous, nonexistent

ceil

P

ambiguous, nonexistent

to_period

N

to_pydatetime

N

month_name

P

locale

day_name

P

locale

mean

Y

std

P

ddof

Language: English