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

Commit

Permalink
SAT-2941 - SDC: Function tests failed for all platforms (#881)
Browse files Browse the repository at this point in the history
Clean usage of parquet.
  • Loading branch information
PokhodenkoSA authored Jun 5, 2020
1 parent cbf3d74 commit c81bd54
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions sdc/tests/gen_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,6 @@ def generate_csv_data():
with open("csv_data_date1.csv", "w") as f:
f.write(data)

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


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

0 comments on commit c81bd54

Please sign in to comment.