alteryx / alteryx/featuretools
Fixes needed in test_entry_point.py
- 主要语言
- Python
- 星标
- 7.7k
- 派生
- 915
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Fixes needed in test_entry_point.py
The test `test_entry_point_detect_arg` uses the `entry_point_dfs` fixture, which is currently parameterized to use only pandas and Dask input, but not Koalas. Additionally, the start of the test overwrites the values from the fixtures with pandas dataframes, so currently this test is only testing with pandas even with the parameterized fixture input.
Start of test:
```python
def test_entry_point_detect_arg(monkeypatch, entry_points_dfs):
cards_df = entry_points_dfs[0]
transactions_df = entry_points_dfs[1]
cards_df = pd.DataFrame({"id": [1, 2, 3, 4, 5]})
transactions_df = pd.DataFrame({
"id": [1, 2, 3, 4, 5, 6],
"card_id": [1, 2, 1, 3, 4, 5],
"transaction_time": [10, 12, 13, 20, 21, 20],
"fraud": [True, False, True, False, True, True]
})
```
We should review and clean up this test. If there is value in testing with Dask and Koalas, the test and fixture should be updated to properly test with those inputs. If a pandas only test is sufficient, we can clean up the test and remove the fixtures and just use the dataframes defined inside the test.
贡献指南
评估
这个 Issue 还没有评估数据。