File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -869,17 +869,14 @@ impl PyDataFrame {
869869 /// Convert to Arrow Array
870870 /// Collect the batches and pass to Arrow Array
871871 fn to_arrow_array ( & self , py : Python < ' _ > ) -> PyResult < PyObject > {
872- println ! ( "Converting to Arrow table" ) ;
873872 let table = self . to_arrow_table ( py) ?;
874- println ! ( "Table" ) ;
875873 let args = table. getattr ( py, "column_names" ) ?;
876874 let column_names = args. extract :: < Bound < PyList > > ( py) ?;
877875 if column_names. len ( ) != 1 {
878876 return Err ( PyValueError :: new_err (
879877 "to_arrow_array only supports single column DataFrames" ,
880878 ) ) ;
881879 }
882- print ! ( "Args" ) ;
883880 let column_name = column_names. get_item ( 0 ) ?;
884881 let array: PyObject = table. call_method1 ( py, "column" , ( column_name, ) ) ?;
885882 Ok ( array)
You can’t perform that action at this time.
0 commit comments