File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ gunicorn==19.10.0
88itsdangerous == 2.0.1
99matplotlib == 3.4.1
1010multi-model-server == 1.1.2
11- numpy == 1.21.6
11+ numpy == 1.19.2
1212pandas == 1.2.4
1313protobuf == 3.20.1
1414psutil == 5.6.7 # sagemaker-containers requires psutil 5.6.7
Original file line number Diff line number Diff line change 1515gunicorn==19.10.0
1616matplotlib==3.4.1
1717multi-model-server==1.1.2
18- numpy==1.21.6
18+ numpy==1.19.2
1919pandas==1.2.4
2020psutil==5.6.7
2121pyarrow==1.0.1
Original file line number Diff line number Diff line change 1414import unittest
1515import os
1616from pathlib import Path
17+ import pandas as pd
1718import shutil
1819import signal
1920import subprocess
@@ -252,3 +253,7 @@ def test_check_data_redundancy_throws_exception_pipe(self):
252253 pb_file_paths = ['pb_files' ]
253254 with self .assertRaises (Exception ):
254255 data_utils .check_data_redundancy (pb_file_paths [0 ], pb_file_paths [1 ])
256+
257+ def test_pyarrow_to_parquet_conversion_does_not_throw_exception (self ):
258+ df = pd .DataFrame ({'x' : [1 , 2 ]})
259+ df .to_parquet ('test.parquet' , engine = 'pyarrow' )
You can’t perform that action at this time.
0 commit comments