Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Aug 31, 2021
1 parent 99a8ebf commit 175967f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/src/dataframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ impl PyDataFrame {
}

/// Executes the plan, returning a list of `RecordBatch`es.
/// Unless some order is specified in the plan, there is no guarantee of the order of the result
/// Unless some order is specified in the plan, there is no
/// guarantee of the order of the result.
fn collect(&self, py: Python) -> PyResult<Vec<PyObject>> {
let rt = Runtime::new().unwrap();
let batches = py.allow_threads(|| rt.block_on(self.df.collect()))?;
Expand All @@ -101,7 +102,6 @@ impl PyDataFrame {
Ok(pretty::print_batches(&batches)?)
}

//fn join(&self, right: &PyDataFrame, on: Vec<&str>, how: &str) -> PyResult<Self> {
fn join(&self, right: PyDataFrame, on: Vec<&str>, how: &str) -> PyResult<Self> {
let join_type = match how {
"inner" => JoinType::Inner,
Expand Down

0 comments on commit 175967f

Please sign in to comment.