Skip to content

Commit

Permalink
fix error message when unpacking to u64
Browse files Browse the repository at this point in the history
  • Loading branch information
nmandery authored and ritchie46 committed Oct 18, 2021
1 parent 6727f25 commit 96dcc54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polars/polars-core/src/series/series_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ pub trait SeriesTrait:
/// Unpack to ChunkedArray of dtype u64
fn u64(&self) -> Result<&UInt64Chunked> {
Err(PolarsError::DataTypeMisMatch(
format!("Series dtype {:?} != u32", self.dtype()).into(),
format!("Series dtype {:?} != u64", self.dtype()).into(),
))
}

Expand Down

0 comments on commit 96dcc54

Please sign in to comment.