File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -37,22 +37,6 @@ fn get_run_setups() -> PolarsResult<RunsSetup> {
3737 Ok ( result)
3838}
3939
40- fn test ( ) -> PolarsResult < ( ) > {
41- // Import premium rates
42- let cwd = std:: env:: current_dir ( ) ?;
43- let parent_folder_path = cwd. parent ( ) . unwrap ( ) . to_path_buf ( ) ;
44- let file_path = parent_folder_path. join ( "results/first_test/run_0/projected_df.parquet" ) ;
45- let projection_lf = LazyFrame :: scan_parquet ( file_path. to_str ( ) . unwrap ( ) , Default :: default ( ) ) ?;
46-
47- // Get column names from projection_lf
48- let df = projection_lf. clone ( ) . collect ( ) ?;
49- let schema = df. schema ( ) ;
50- let column_names: Vec < String > = schema. iter_names ( ) . map ( |s| s. to_string ( ) ) . collect ( ) ;
51-
52- column_names. contains ( & "prem_pp" . to_string ( ) ) ;
53-
54- Ok ( ( ) )
55- }
5640
5741//---------------------------------------------------------------------------------------------------------
5842// MAIN
You can’t perform that action at this time.
0 commit comments