mirror of
https://github.com/nushell/nushell.git
synced 2025-08-17 15:41:12 +02:00
Dataframe commands (#3498)
* Sample command * Join command with checks * More dataframes commands * Groupby and aggregate commands * Missing feature dataframe flag * Renamed file
This commit is contained in:
@ -364,8 +364,8 @@ macro_rules! from_native_to_primitive {
|
||||
($native_type:ty, $primitive_type:expr, $converter: expr) => {
|
||||
// e.g. from u32 -> Primitive
|
||||
impl From<$native_type> for Primitive {
|
||||
fn from(int: $native_type) -> Primitive {
|
||||
if let Some(i) = $converter(int) {
|
||||
fn from(value: $native_type) -> Primitive {
|
||||
if let Some(i) = $converter(value) {
|
||||
$primitive_type(i)
|
||||
} else {
|
||||
unreachable!("Internal error: protocol did not use compatible decimal")
|
||||
|
Reference in New Issue
Block a user