near
In [1]:
Copied!
# https://dplyr.tidyverse.org/reference/near.html
%run nb_helpers.py
from datar.all import *
nb_header(near)
# https://dplyr.tidyverse.org/reference/near.html
%run nb_helpers.py
from datar.all import *
nb_header(near)
In [2]:
Copied!
sqrt(2.0) ** 2.0 == 2.0
sqrt(2.0) ** 2.0 == 2.0
Out[2]:
False
In [3]:
Copied!
near(sqrt(2.0) ** 2.0, 2.0)
near(sqrt(2.0) ** 2.0, 2.0)
Out[3]:
True