Skip to content

Apache DataFusion SQL Query Engine

Update example in the DataFrame documentation. (#7650)

jsimpson-gro44575a87e34d
diff --git a/docs/source/user-guide/dataframe.md b/docs/source/user-guide/dataframe.md
index 8ebf4cc678..4484b2c510 100644
--- a/docs/source/user-guide/dataframe.md
+++ b/docs/source/user-guide/dataframe.md
@@ -44,7 +44,7 @@ let df = df.filter(col("a").lt_eq(col("b")))?
.aggregate(vec![col("a")], vec![min(col("b"))])?
.limit(0, Some(100))?;
// Print results
-df.show();
+df.show().await?;
```
The DataFrame API is well documented in the [API reference on docs.rs](https://docs.rs/datafusion/latest/datafusion/dataframe/struct.DataFrame.html).