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

add functions for gen data, args, base. simplification _test_case #572

Merged
densmirn merged 19 commits intoIntelPython:masterfrom
Rubtsowa:Gen_data
Feb 11, 2020
Merged

add functions for gen data, args, base. simplification _test_case #572
densmirn merged 19 commits intoIntelPython:masterfrom
Rubtsowa:Gen_data

Conversation

@Rubtsowa
Copy link
Copy Markdown
Contributor

@Rubtsowa Rubtsowa commented Feb 6, 2020

No description provided.

@pep8speaks
Copy link
Copy Markdown

pep8speaks commented Feb 6, 2020

Hello @Rubtsowa! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-02-10 13:03:18 UTC

Comment thread sdc/tests/tests_perf/data_generator.py Outdated
datas = gen_data(data_num, data_length, input_data)
args = []
for data in datas:
test_data = pandas.DataFrame({f"f{i}": data for i in range(3)})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I vote for passing number of columns as an argument of DF generator with some default value.

Comment thread sdc/tests/tests_perf/data_generator.py Outdated
Comment on lines +32 to +33
datas = gen_str_data(data_num, data_length, input_data, data_width)
args = []
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rename datas to all_data, args to results everywhere.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rubtsowa you didn't apply the renaming everywhere.

@densmirn densmirn merged commit 543c733 into IntelPython:master Feb 11, 2020
@Rubtsowa Rubtsowa deleted the Gen_data branch April 7, 2020 07:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants