Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Aug 26, 2023
1 parent 724ccbb commit bd2bc2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/polars-core/src/series/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ use crate::POOL;
/// Most of the available functions are defined in the [SeriesTrait trait](crate::series::SeriesTrait).
///
/// The `Series` struct consists
/// of typed [ChunkedArray](crate::chunked_array::ChunkedArray)'s. To quickly cast
/// of typed [ChunkedArray]'s. To quickly cast
/// a `Series` to a `ChunkedArray` you can call the method with the name of the type:
///
/// ```
Expand Down
4 changes: 2 additions & 2 deletions py-polars/src/dataframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ impl PyDataFrame {
.with_time_format(time_format)
.with_float_precision(float_precision)
.with_null_value(null)
.with_quote_style(quote_style.map(|wrap| wrap.0).unwrap_or(Default::default()))
.with_quote_style(quote_style.map(|wrap| wrap.0).unwrap_or_default())
.finish(&mut self.df)
.map_err(PyPolarsErr::from)
})?;
Expand All @@ -620,7 +620,7 @@ impl PyDataFrame {
.with_time_format(time_format)
.with_float_precision(float_precision)
.with_null_value(null)
.with_quote_style(quote_style.map(|wrap| wrap.0).unwrap_or(Default::default()))
.with_quote_style(quote_style.map(|wrap| wrap.0).unwrap_or_default())
.finish(&mut self.df)
.map_err(PyPolarsErr::from)?;
}
Expand Down

0 comments on commit bd2bc2b

Please sign in to comment.