C3 AI Documentation Home

Supported Data Spark Series APIs

The C3 Agentic AI Platform supports many Pandas APIs to perform dataset operations.

Below is a list of supported Series APIs. Functionality is similar to functionality from Pandas. Methods annotated with an asterisk (*) are partially supported.

API NameLink to Pandas on Spark 3.5.8Comment
TT
absabs
addadd
add_prefixadd_prefix
add_suffixadd_suffix
aggagg
allall
anyany
appendappend
*applyapplyDoesn't support external reference inside lambda function
argmaxargmax
argminargmin
argsortargsort
asofasof
astypeastype
at_timeat_time
autocorrautocorr
backfillbackfill
betweenbetween
between_timebetween_time
bfillbfill
boolbool
clipclip
combine_firstcombine_first
comparecompare
copycopy
corrcorr
countcount
covcov
cummaxcummax
cummincummin
cumprodcumprod
cumsumcumsum
describedescribe
diffdiff
divdiv
dividedivide
divmoddivmod
dotdot
dropdrop
drop_duplicatesdrop_duplicates
dropleveldroplevel
dropnadropna
dtdt
duplicatedduplicated
emptyempty
eqeq
equalsequals
explodeexplode
ffillffill
fillnafillna
filterfilter
firstfirst
first_valid_indexfirst_valid_index
floordivfloordiv
gege
getget
groupbygroupby
gtgt
hasnanshasnans
headhead
idxmaxidxmax
idxminidxmin
*ilocilocOnly supports get values. Set values have no effect.
indexindex
interpolateinterpolate
is_monotonicis_monotonic
is_monotonic_decreasingis_monotonic_decreasing
is_monotonic_increasingis_monotonic_increasing
is_uniqueis_unique
isinisin
isnaisna
isnullisnull
itemitem
itemsitems
iteritemsiteritems
keyskeys
kurtkurt
kurtosiskurtosis
lastlast
last_valid_indexlast_valid_index
lele
*loclocOnly supports get values. Set values have no effect.
ltlt
madmad
maskmask
maxmax
meanmean
medianmedian
minmin
modmod
modemode
mulmul
ndimndim
nene
nlargestnlargest
notnanotna
notnullnotnull
nsmallestnsmallest
nuniquenunique
padpad
pct_changepct_change
*pipepipeDoesn't support external reference inside lambda function
poppop
powpow
prodprod
productproduct
quantilequantile
raddradd
rankrank
rdivrdiv
rdivmodrdivmod
reindexreindex
reindex_likereindex_like
renamerename
rename_axisrename_axis
repeatrepeat
replacereplace
resampleresample
reset_indexreset_index
rfloordivrfloordiv
rmodrmod
rmulrmul
roundround
rpowrpow
rsubrsub
rtruedivrtruediv
samplesample
searchsortedsearchsorted
semsem
shapeshape
shiftshift
sizesize
skewskew
sort_indexsort_index
sort_valuessort_values
squeezesqueeze
stdstd
strstr
subsub
sumsum
tailtail
taketake
to_csvto_csv
to_dictto_dict
to_excelto_excel
to_frameto_frame
to_jsonto_json
to_latexto_latex
to_listto_list
to_markdownto_markdown
to_pandasto_pandas
to_stringto_string
transformtransform
transposetranspose
truedivtruediv
truncatetruncate
uniqueunique
unstackunstack
updateupdate
value_countsvalue_counts
varvar
wherewhere
xsxs
Was this page helpful?