Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit c81bd54

Browse files
authored
SAT-2941 - SDC: Function tests failed for all platforms (#881)
Clean usage of parquet.
1 parent cbf3d74 commit c81bd54

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

sdc/tests/gen_test_data.py

-10
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,6 @@ def generate_csv_data():
120120
with open("csv_data_date1.csv", "w") as f:
121121
f.write(data)
122122

123-
# generated data for parallel merge_asof testing
124-
df1 = pd.DataFrame({'time': pd.DatetimeIndex(
125-
['2017-01-03', '2017-01-06', '2017-02-15', '2017-02-21']),
126-
'B': [4, 5, 9, 6]})
127-
df2 = pd.DataFrame({'time': pd.DatetimeIndex(
128-
['2017-01-01', '2017-01-14', '2017-01-16', '2017-02-23', '2017-02-23',
129-
'2017-02-25']), 'A': [2, 3, 7, 8, 9, 10]})
130-
df1.to_parquet("asof1.pq")
131-
df2.to_parquet("asof2.pq")
132-
133123

134124
def generate_other_data():
135125
df = pd.DataFrame({'A': ['bc'] + ["a"] * 3 + ["bc"] * 3 + ['a'], 'B': [-8, 1, 2, 3, 1, 5, 6, 7]})

0 commit comments

Comments
 (0)