Skip to content

Commit f776c46

Browse files
author
Nikhil Raverkar
committed
fixing issue# 106
1 parent 7b6467c commit f776c46

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ itsdangerous==2.0.1
66
gunicorn==20.0.4
77
model-archiver==1.0.3
88
multi-model-server==1.1.1
9-
numpy==1.21.0
9+
numpy==1.19.2
1010
pandas==1.1.3
1111
psutil==5.7.2
1212
python-dateutil==2.8.1

test/unit/test_modules.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1+
import pandas as pd
2+
13
def test_pandas_version():
24
import pandas as pd
35
major, minor, patch = pd.__version__.split('.')
46
assert major == '1'
7+
8+
9+
def test_pyarrow_to_parquet_conversion_regression_issue_106(self):
10+
df = pd.DataFrame({'x': [1,2]})
11+
df.to_parquet('test.parquet', engine='pyarrow')

0 commit comments

Comments
 (0)