Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drill-n-bass/dealavo-project
Cartesian product from dictionary to list of dictionaries and faster methods for finding index than the `index` method.
https://github.com/drill-n-bass/dealavo-project
data-analysis data-analysis-python matplotlib pandas python python3 random timeit
Last synced: 9 days ago
JSON representation
Cartesian product from dictionary to list of dictionaries and faster methods for finding index than the `index` method.
- Host: GitHub
- URL: https://github.com/drill-n-bass/dealavo-project
- Owner: Drill-N-Bass
- Created: 2022-05-23T00:33:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-23T01:56:53.000Z (over 2 years ago)
- Last Synced: 2023-03-09T04:55:58.478Z (over 1 year ago)
- Topics: data-analysis, data-analysis-python, matplotlib, pandas, python, python3, random, timeit
- Language: Jupyter Notebook
- Homepage:
- Size: 349 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
The tasks were solved in a more difficult convention (without importing libraries).
The response structure is as follows:
1. Answer to task one.
2. Answer to the second task.
3. Presentation of my project in full version, in which I was looking for the most efficient method of solving the second task,
based on the (correct) assumption that for very large lists the results may be different than for short lists.
Depending on the size of the list, there may be more than one answer. List size range: 100 to 100,000,000.To be honest the point three I also did out of my own curiosity,
plus I wanted to be able to see how data processing from each method relates to `big O-notation`.
Additionally - at the end - I conducted similar tests on the set of lists (the same lists) in unsorted manner.I have attached charts to the task for a better overview of the case, thanks for `matplotlib`.
Processing the code for such large lists (as they are in the script) took about 20 minutes.