We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6869919 commit 6e46d43Copy full SHA for 6e46d43
src/table.rs
@@ -82,10 +82,7 @@ impl PyTableProvider {
82
pub fn from_dataframe(df: &PyDataFrame) -> Self {
83
// Clone the inner DataFrame and convert it into a view TableProvider.
84
// `into_view` consumes a DataFrame, so clone the underlying DataFrame
85
- // (this mirrors the previous implementation which used
86
- // `self.df.as_ref().clone().into_view()`).
87
- let table_provider = df.inner_df().as_ref().clone().into_view();
88
- Self::new(table_provider)
+ Self::new(df.inner_df().as_ref().clone().into_view())
89
}
90
91
/// Create a `TableProvider` from a `DataFrame` by converting it into a view.
0 commit comments