Quick reference - BRAINscript to Python functions - Data360_Analyze - Latest

Data360 Analyze Server Help

Product type
Software
Portfolio
Verify
Product family
Data360
Product
Data360 Analyze
Version
Latest
ft:locale
en-US
Product name
Data360 Analyze
ft:title
Data360 Analyze Server Help
Copyright
2025
First publish date
2016
ft:lastEdition
2025-02-20
ft:lastPublication
2025-02-20T11:13:02.494000

The following quick reference table summarizes the numeric, string, date, time and datetime functions covered in the previous topics.

For details and examples of how to use the Python functions, see:

BRAINscript Python

abs()

abs(x)

ceil()

math.ceil(x)

double()

float()

floor()

math.floor(x)

int()

int(x)

isNumber()

Custom function

long()

long()

round()

round(x)

pow()

square()

math.pow()

sqrt()

math.sqrt()

left()

x[:num]

ltrim()

lstrip(x)

isSpace()

isspace()

pad()

{}.format(x)

replace()

x.replace()

right()

x[num:]

rtrim()

rstrip(x)

split()

x.split('char')

strFind()

x.find('char')

strlen()

len(x)

substr()

x[n:m]

toLower()

x.lower()

toUpper()

x.upper()

trim()

x.strip()

date()

dateSubtract()

datetime.date()

dateAdjust()

timeSubtract()

dateTimeAdjust()

datetime.timedelta()

day()

month()

year()

date.day(), date.month() and date.year()

time()

datetime.time()

hours()

minutes()

seconds()

datetime.hour(), datetime.minute() and datetime.second()

timestamp()

datetime.datetime()