Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
9313df0
Merge pull request #1 from IntelPython/master
Vyacheslav-Smirnov Jul 31, 2019
9e77fde
Remove spark dependency (#102)
Vyacheslav-Smirnov Aug 1, 2019
34a2260
explicitly adding data-file (#104)
fschlimb Aug 1, 2019
1a30e4f
HPAT Build: Code style check for C and Python sources (#103)
shssf Aug 1, 2019
6dae0b3
Code style change part 1 (#106)
shssf Aug 2, 2019
551c0e3
Style check config fo pystyle (#105)
shssf Aug 2, 2019
a2a8ee5
Fix for pandas.merge wrong overload handling of 'on' args (#99)
kozlov-alexey Aug 2, 2019
8641f7a
[STL] PEP8 code style for 'test_strings.py', 'test_utils.py', 'test_s…
anmyachev Aug 3, 2019
9076493
Code style change part 2 (#107)
shssf Aug 5, 2019
abf5bd0
Add more check in style configuration (#108)
shssf Aug 6, 2019
4070ce3
code_style_part_3 (#109)
shssf Aug 6, 2019
231a76c
Fix boost runtime issue on Ubuntu16.04 with gcc 5.4 (#92)
shssf Aug 7, 2019
dfc54ee
Code style change part 4 (#110)
shssf Aug 7, 2019
12b54aa
Revert "Code style change part 4 (#110)"
Vyacheslav-Smirnov Aug 7, 2019
10dca85
Revert "Fix boost runtime issue on Ubuntu16.04 with gcc 5.4 (#92)"
Vyacheslav-Smirnov Aug 7, 2019
57fc817
Revert "code_style_part_3 (#109)"
Vyacheslav-Smirnov Aug 7, 2019
565d10d
Revert "Add more check in style configuration (#108)"
Vyacheslav-Smirnov Aug 7, 2019
e0f4872
Revert "Code style change part 2 (#107)"
Vyacheslav-Smirnov Aug 7, 2019
7bf28b7
Revert "[STL] PEP8 code style for 'test_strings.py', 'test_utils.py',…
Vyacheslav-Smirnov Aug 7, 2019
840dab2
Revert "Fix for pandas.merge wrong overload handling of 'on' args (#99)"
Vyacheslav-Smirnov Aug 7, 2019
2d55998
Revert "Style check config fo pystyle (#105)"
Vyacheslav-Smirnov Aug 7, 2019
f9f3d73
Revert "Code style change part 1 (#106)"
Vyacheslav-Smirnov Aug 7, 2019
82acc49
Revert "HPAT Build: Code style check for C and Python sources (#103)"
Vyacheslav-Smirnov Aug 7, 2019
59708b7
Revert "explicitly adding data-file (#104)"
Vyacheslav-Smirnov Aug 7, 2019
c47388a
Revert "Remove spark dependency (#102)"
Vyacheslav-Smirnov Aug 7, 2019
476bace
Merge pull request #4 from IntelPython/master
Vyacheslav-Smirnov Aug 7, 2019
c298806
Unskip passing dataframe tests
Vyacheslav-Smirnov Aug 8, 2019
134e8e7
Merge branch 'master' into feature/unskip_dataframe_tests
shssf Aug 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions hpat/tests/test_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def inner_get_column(df):

class TestDataFrame(unittest.TestCase):

@unittest.skip('Error - fix needed\n')
def test_create1(self):
def test_impl(n):
df = pd.DataFrame({'A': np.ones(n), 'B': np.random.ranf(n)})
Expand Down Expand Up @@ -131,7 +130,6 @@ def test_impl(n):
np.testing.assert_allclose(dist_sum(hres.A.sum()), res.A.sum())
np.testing.assert_allclose(dist_sum(hres.B.sum()), res.B.sum())

@unittest.skip('Error - fix needed\n')
def test_len1(self):
def test_impl(n):
df = pd.DataFrame({'A': np.ones(n, np.int64), 'B': np.random.ranf(n)})
Expand All @@ -154,7 +152,6 @@ def test_impl(n):
self.assertEqual(count_array_REPs(), 0)
self.assertEqual(count_parfor_REPs(), 0)

@unittest.skip('Error - fix needed\n')
def test_column_getitem1(self):
def test_impl(n):
df = pd.DataFrame({'A': np.ones(n), 'B': np.random.ranf(n)})
Expand Down Expand Up @@ -472,7 +469,6 @@ def test_impl(n):
self.assertEqual(count_array_REPs(), 0)
self.assertEqual(count_parfor_REPs(), 0)

@unittest.skip('Error - fix needed\n')
def test_df_apply(self):
def test_impl(n):
df = pd.DataFrame({'A': np.arange(n), 'B': np.arange(n)})
Expand All @@ -483,7 +479,6 @@ def test_impl(n):
hpat_func = hpat.jit(test_impl)
np.testing.assert_almost_equal(hpat_func(n), test_impl(n))

@unittest.skip('Error - fix needed\n')
def test_df_apply_branch(self):
def test_impl(n):
df = pd.DataFrame({'A': np.arange(n), 'B': np.arange(n)})
Expand All @@ -494,7 +489,6 @@ def test_impl(n):
hpat_func = hpat.jit(test_impl)
np.testing.assert_almost_equal(hpat_func(n), test_impl(n))

@unittest.skip('Error - fix needed\n')
def test_df_describe(self):
def test_impl(n):
df = pd.DataFrame({'A': np.arange(0, n, 1, np.float32),
Expand Down Expand Up @@ -582,6 +576,7 @@ def test_impl(df):
hpat_func = hpat.jit(test_impl)
self.assertTrue((hpat_func(df) == sorted_df.B.values).all())

@unittest.skip('Error - fix needed; issue is related to __pycache__\n')
def test_sort_parallel_single_col(self):
# create `kde.parquet` file
ParquetGenerator.gen_kde_pq()
Expand All @@ -604,6 +599,7 @@ def test_impl():
# restore global val
hpat.hiframes.sort.MIN_SAMPLES = save_min_samples

@unittest.skip('Error - fix needed; issue is related to __pycache__\n')
def test_sort_parallel(self):
# create `kde.parquet` file
ParquetGenerator.gen_kde_pq()
Expand Down Expand Up @@ -789,7 +785,6 @@ def test_impl(n):
n = 11
pd.testing.assert_series_equal(hpat_func(n), test_impl(n))

@unittest.skip('Error - fix needed\n')
def test_count1(self):
# TODO: non-numeric columns should be ignored automatically
def test_impl(n):
Expand Down Expand Up @@ -948,7 +943,6 @@ def test_impl(df):
df = pd.DataFrame({'A': np.arange(n), 'B': np.arange(n)**2})
pd.testing.assert_frame_equal(hpat_func(df), test_impl(df))

@unittest.skip('Error - fix needed\n')
def test_append1(self):
def test_impl(df, df2):
return df.append(df2, ignore_index=True)
Expand Down