mirror of
https://github.com/nushell/nushell.git
synced 2025-06-19 17:38:14 +02:00
Change command to-dtype to into-dtype
This commit is contained in:
parent
b2509a8084
commit
18487093d8
@ -12,7 +12,7 @@ impl PluginCommand for ToDataType {
|
|||||||
type Plugin = PolarsPlugin;
|
type Plugin = PolarsPlugin;
|
||||||
|
|
||||||
fn name(&self) -> &str {
|
fn name(&self) -> &str {
|
||||||
"polars to-dtype"
|
"polars into-dtype"
|
||||||
}
|
}
|
||||||
|
|
||||||
fn description(&self) -> &str {
|
fn description(&self) -> &str {
|
||||||
@ -28,7 +28,7 @@ impl PluginCommand for ToDataType {
|
|||||||
fn examples(&self) -> Vec<Example> {
|
fn examples(&self) -> Vec<Example> {
|
||||||
vec![Example {
|
vec![Example {
|
||||||
description: "Convert a string to a specific datatype",
|
description: "Convert a string to a specific datatype",
|
||||||
example: r#""i64" | polars to-dtype"#,
|
example: r#""i64" | polars into-dtype"#,
|
||||||
result: Some(Value::string("i64", Span::test_data())),
|
result: Some(Value::string("i64", Span::test_data())),
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user