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
Language
English
Product name
Data360 Analyze
Title
Data360 Analyze Server Help
Copyright
2024
First publish date
2016
Last updated
2024-11-28
Published on
2024-11-28T15:26:57.181000

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()