Compare commits
	
		
			2 commits
		
	
	
		
			f4b3a525bb
			...
			c92d1ad1df
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | c92d1ad1df | ||
|  | 9033f81b98 | 
							
								
								
									
										10
									
								
								Cargo.toml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Cargo.toml
									
									
									
									
									
								
							|  | @ -1,7 +1,7 @@ | ||||||
| [package] | [package] | ||||||
| name = "dr" | name = "dr" | ||||||
| description = "Command-line data file processing in Rust" | description = "Command-line data file processing in Rust" | ||||||
| version = "0.6.2" | version = "0.7.0" | ||||||
| edition = "2021" | edition = "2021" | ||||||
| include = [ | include = [ | ||||||
|     "**/*.rs", |     "**/*.rs", | ||||||
|  | @ -14,8 +14,8 @@ repository = "https://git.guillemborrell.es/guillem/dr" | ||||||
| 
 | 
 | ||||||
| [dependencies] | [dependencies] | ||||||
| clap = {version = "4.0", features = ["cargo"]} | clap = {version = "4.0", features = ["cargo"]} | ||||||
| polars-lazy = {"version" = "0.26", "features" = ["parquet", "ipc", "csv-file"]} | polars-lazy = {"version" = "0.27", "features" = ["parquet", "ipc", "csv-file"]} | ||||||
| polars-core = {"version" = "0.26", "features" = ["describe", "fmt"]} | polars-core = {"version" = "0.27", "features" = ["describe", "fmt"]} | ||||||
| polars-io = {"version" = "0.26", "features" = ["ipc_streaming"]} | polars-io = {"version" = "0.27", "features" = ["ipc_streaming"]} | ||||||
| polars-sql = {"version" = "0.2.2"} | polars-sql = {"version" = "0.2.3"} | ||||||
| sea-query = {"version" = "0.28"} | sea-query = {"version" = "0.28"} | ||||||
|  |  | ||||||
|  | @ -23,7 +23,7 @@ pub fn handle_csv(matches: &ArgMatches) { | ||||||
|     } |     } | ||||||
|     if matches.get_flag("summary") { |     if matches.get_flag("summary") { | ||||||
|         let df = ldf.collect().expect("Could not collect"); |         let df = ldf.collect().expect("Could not collect"); | ||||||
|         println!("{}", df.describe(None)); |         println!("{:?}", df.describe(None)); | ||||||
|     } else if matches.get_flag("head") { |     } else if matches.get_flag("head") { | ||||||
|         let df = ldf.fetch(5).expect("Could not fetch"); |         let df = ldf.fetch(5).expect("Could not fetch"); | ||||||
|         println!("{}", df) |         println!("{}", df) | ||||||
|  | @ -88,7 +88,7 @@ pub fn handle_rpq(matches: &ArgMatches) { | ||||||
|     } |     } | ||||||
|     if matches.get_flag("summary") { |     if matches.get_flag("summary") { | ||||||
|         let df = ldf.collect().expect("Could not collect"); |         let df = ldf.collect().expect("Could not collect"); | ||||||
|         println!("{}", df.describe(None)); |         println!("{:?}", df.describe(None)); | ||||||
|     } else if matches.get_flag("head") { |     } else if matches.get_flag("head") { | ||||||
|         let df = ldf.fetch(5).expect("Could not fetch"); |         let df = ldf.fetch(5).expect("Could not fetch"); | ||||||
|         println!("{}", df) |         println!("{}", df) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue