Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Series.categories/1 #465

Merged
merged 4 commits into from
Jan 10, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Panic for unreachable path
  • Loading branch information
philss committed Jan 9, 2023
commit b6a03fcbbff03d650cdf17169ff109a2d60e7aab
4 changes: 1 addition & 3 deletions native/explorer/src/series.rs
Original file line number Diff line number Diff line change
Expand Up @@ -789,9 +789,7 @@ pub fn s_categories(data: ExSeries) -> Result<ExSeries, ExplorerError> {
let series = Series::new("categories", &categories);
Ok(ExSeries::new(series))
}
_ => Err(ExplorerError::Other(
"Cannot get categories from non categorical series".into(),
)),
_ => panic!("Cannot get categories from non categorical series"),
}
}

Expand Down