Change command to-dtype to into-dtype

This commit is contained in:
Jack Wright 2025-04-08 16:54:22 -07:00
parent b2509a8084
commit 18487093d8

View File

@ -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())),
}] }]
} }