Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viniciusfer01/fast-queries
https://github.com/viniciusfer01/fast-queries
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/viniciusfer01/fast-queries
- Owner: viniciusfer01
- Created: 2022-10-09T17:54:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T10:43:55.000Z (about 2 years ago)
- Last Synced: 2023-03-07T15:58:44.733Z (almost 2 years ago)
- Language: Jupyter Notebook
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
This is a project based on the Guided Project: Building Fast Queries on a CSV" (from Dataquest's "Algorithm Complexity" course):## Objective
Adapt the solution made for the guided project to a [new database](https://www.kaggle.com/datasets/pavellexyr/the-reddit-climate-change-dataset).To do this, three main functions were implemented. The first function receives an id from a reddit message and returns all the information about that message.
The second function is given an upper bound and a lower bound, and it returns all the messages that have a 'sentiment' row within the interval.
The third function receives a target value and searches for two comments whose 'score' can be added to result in the target value. If there is no such values, the function returns -1.