{"id":24986992,"url":"https://github.com/hitthecodelabs/pharmasalespredictor","last_synced_at":"2026-04-13T13:32:22.903Z","repository":{"id":206739150,"uuid":"717588945","full_name":"hitthecodelabs/PharmaSalesPredictor","owner":"hitthecodelabs","description":"Comprehensive Jupyter notebook designed for analyzing and predicting pharmaceutical sales with PySpark","archived":false,"fork":false,"pushed_at":"2023-11-11T23:40:57.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T08:52:26.270Z","etag":null,"topics":["forecasting","pandas","py-spark","python","sales-forecasting","spark"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hitthecodelabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-11T23:28:39.000Z","updated_at":"2023-12-02T02:09:32.000Z","dependencies_parsed_at":"2023-11-12T00:25:21.258Z","dependency_job_id":"4b352f85-3e75-4098-a2de-fce0e49dc4f2","html_url":"https://github.com/hitthecodelabs/PharmaSalesPredictor","commit_stats":null,"previous_names":["hitthecodelabs/pharmasalespredictor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hitthecodelabs/PharmaSalesPredictor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitthecodelabs%2FPharmaSalesPredictor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitthecodelabs%2FPharmaSalesPredictor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitthecodelabs%2FPharmaSalesPredictor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitthecodelabs%2FPharmaSalesPredictor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hitthecodelabs","download_url":"https://codeload.github.com/hitthecodelabs/PharmaSalesPredictor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitthecodelabs%2FPharmaSalesPredictor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31754913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["forecasting","pandas","py-spark","python","sales-forecasting","spark"],"created_at":"2025-02-04T11:35:12.734Z","updated_at":"2026-04-13T13:32:22.881Z","avatar_url":"https://github.com/hitthecodelabs.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PharmaSalesPredictor\n\n## Overview\nThe `PharmaSalesPredictor` is a comprehensive Jupyter notebook designed for analyzing and predicting pharmaceutical sales. Built with PySpark, this notebook employs data processing, feature engineering, and machine learning techniques to forecast sales trends based on historical data.\n\n## Features\n- Data Cleaning and Preprocessing\n- Exploratory Data Analysis (EDA) on pharmaceutical sales data\n- Feature Engineering for predictive modeling\n- Implementation of Linear Regression for sales prediction\n- Prediction on both aggregate and individual product levels\n- Exporting prediction results for further analysis\n\n## Installation and Usage\nTo use this notebook, you must have PySpark installed in your environment. The notebook is primarily intended for Google Colab, but it can be adapted for other environments that support PySpark.\n\n### Steps for Installation:\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/[YourUsername]/PharmaSalesPredictor.git\n```\n\n2. Navigate to the cloned directory:\n\n```bash\ncd PharmaSalesPredictor\n```\n\n3. Open the `PharmaSalesPredictor.ipynb` notebook in Jupyter or Google Colab.\n\n### Dependencies\n- PySpark\n- Pandas\n- Matplotlib (optional, for extended data visualization)\n\n## Data\nThe dataset used in the notebook should be in CSV format and contain historical sales data of pharmaceutical products. The data preprocessing steps are tailored to handle specific data formats as detailed in the notebook.\n\n## Structure\n- Data loading and preprocessing\n- Exploratory analysis\n- Data transformation and feature extraction\n- Model training and evaluation\n- Sales prediction and output generation\n\n## Authors\n- Jean Paul, from Hit the Code Labs\n\n## Contributing\nContributions to the `PharmaSalesPredictor` are welcome. Please ensure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhitthecodelabs%2Fpharmasalespredictor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhitthecodelabs%2Fpharmasalespredictor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhitthecodelabs%2Fpharmasalespredictor/lists"}