This repository hosts two descriptive analytics programs: one written in C and the other in Python. Both programs handle datasets in CSV format, sourced from Kaggle.com.
The Python-based Music Manager processes arguments and files from standard input (stdin). Using the Pandas library, it sorts through the provided tables based on three input criteria: Energy, Popularity, and Danceability. The program then compiles the requested display results into a CSV file and outputs it to standard output (stdout).
Example input: music_manager.py --sortBy=energy --display=20 --files=songs_normalize.csv
Output:
The C-based Music Manager performs a very similar function as the Python counterpart mentioned above. However, it showcases proficiency in memory allocation and dynamic data structures. Developed from a 'skeleton' starter file, this program originated as a university assignment. To assemble it, simply run the provided makefile using the make command in Bash. Once assembled, you can enter commands via the command line interface.
Example input: ./music_manager --sortBy=danceability --display=35 --files=songs_normalize.csv