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 478086a commit 0b5b323Copy full SHA for 0b5b323
src/dataframe.rs
@@ -476,7 +476,7 @@ impl PyDataFrame {
476
/// Calculate summary statistics for a DataFrame
477
fn describe(&self, py: Python) -> PyDataFusionResult<Self> {
478
let df = self.df.as_ref().clone();
479
- let stat_df = wait_for_future(py, df.describe())??;
+ let stat_df = spawn_future(py, async move { df.describe().await })?;
480
Ok(Self::new(stat_df))
481
}
482
0 commit comments