How to compare two Daft DataFrames in Daft way? #4246
-
In pandas, we can use One workaround way is using daft_df1.collect().to_pandas().equals(daft_df2.collect().to_pandas()) I saw two related open tickets at What is recommended efficient way to compare two Daft DataFrame? Any Daft way? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @hongbo-miao. Internally, we mostly use Since our dataframe can be in several states, and potentially contain partitioned data, it's not as trivial as pandas/polars |
Beta Was this translation helpful? Give feedback.
also
to_arrow
will be more performant thanto_pydict
as it doesn't need to cast every value to a python object.