Skip to content

daft.functions.pi#

pi #

pi() -> Expression

Returns the mathematical constant pi (3.14159...).

Source code in daft/functions/numeric.py
211
212
213
def pi() -> Expression:
    """Returns the mathematical constant pi (3.14159...)."""
    return Expression._call_builtin_scalar_fn("pi")