Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EXPRESSIONS] float.is_inf #2316

Closed
colin-ho opened this issue May 28, 2024 · 0 comments · Fixed by #2371
Closed

[EXPRESSIONS] float.is_inf #2316

colin-ho opened this issue May 28, 2024 · 0 comments · Fixed by #2371
Labels
expression A new expression good first issue Good for newcomers

Comments

@colin-ho
Copy link
Contributor

float.is_inf

Returns whether a floating point value is infinity.

Example:

df = daft.from_pydict({"data": [1.1, float("inf")]})
df = df.with_column("inf", df["data"].float.is_inf())
# [False, True]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expression A new expression good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant