Compare two DataFrames
Description
Check if two DataFrames are equal.
Usage
<DataFrame>$equals(other)
Arguments
other
|
DataFrame to compare with. |
Value
A logical value
Examples
library("polars")
dat1 = as_polars_df(iris)
dat2 = as_polars_df(iris)
dat3 = as_polars_df(mtcars)
dat1$equals(dat2)
#> [1] TRUE
#> [1] FALSE