Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: develop and write tests for steps/incremental_clustering.py #36

Open
anujsinha3 opened this issue Jul 7, 2024 · 2 comments
Open
Assignees

Comments

@anujsinha3
Copy link
Collaborator

anujsinha3 commented Jul 7, 2024

The Incremental Clustering code has been refactored from using CSV files to the pandas data frame.

The task is to develop and write tests for the code at: src/mawpy/steps/incremental_clustering.py

To write tests:

  • create a folder called 'steps' under the 'tests' folder
  • In the above folder, create a file called 'test_incremental_clustering.py'
  • define test functions corresponding to each function src/mawpy/steps/incremental_clustering.py
@qzchen-uw
Copy link
Collaborator

If a user starts with a csv file, they can also use this code, right? in other words, they do not need to first pre-process it into pandas data frame before processing it? Also, is the code limited by the data size?

@anujsinha3
Copy link
Collaborator Author

Yes, they can use the csv file. The code will take care of conversion the csv file into pandas dataframe.

More than the code itself, it depends on the machine that is running the code about its data handling capacity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants