You are viewing documentation about an older version (1.22.1). View latest version

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

N

tz_localize

N

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

N

std

N