{"id":26091615,"url":"https://github.com/phanchenh/datawrangling_pythonproject","last_synced_at":"2026-05-09T05:10:39.542Z","repository":{"id":277128012,"uuid":"931423208","full_name":"PhanChenh/DataWrangling_PythonProject","owner":"PhanChenh","description":"Data Wrangling Project - Securities Upload for Strong Oak Security Management","archived":false,"fork":false,"pushed_at":"2025-03-21T09:03:12.000Z","size":800,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T14:45:52.888Z","etag":null,"topics":["data-wrangling","os","pandas","pathlib","processing","python","validation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhanChenh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-12T08:54:47.000Z","updated_at":"2025-03-21T09:03:16.000Z","dependencies_parsed_at":"2025-02-12T09:52:15.804Z","dependency_job_id":"dd8a1c7f-d4c9-46b9-9519-d0712f9a2baf","html_url":"https://github.com/PhanChenh/DataWrangling_PythonProject","commit_stats":null,"previous_names":["phanchenh/datawrangling_pythonproject"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PhanChenh/DataWrangling_PythonProject","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhanChenh%2FDataWrangling_PythonProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhanChenh%2FDataWrangling_PythonProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhanChenh%2FDataWrangling_PythonProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhanChenh%2FDataWrangling_PythonProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhanChenh","download_url":"https://codeload.github.com/PhanChenh/DataWrangling_PythonProject/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhanChenh%2FDataWrangling_PythonProject/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["data-wrangling","os","pandas","pathlib","processing","python","validation"],"created_at":"2025-03-09T10:22:22.411Z","updated_at":"2026-05-09T05:10:39.517Z","avatar_url":"https://github.com/PhanChenh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Title: Data Wrangling Project - Securities Upload for Strong Oak Security Management\n\n## Table of Contents\n- [Overview](#overview)\n- [Dataset](#dataset)\n- [Objective](#objective)\n- [Analysis Approach](#analysis-approach)\n- [Key Findings](#key-findings)\n- [How to run code](#how-to-run-code)\n- [Technologies Used](#technologies-used)\n- [Results](#results)\n- [Recommendation](#recommendation)\n- [Contact](#contact)\n\n## Overview\n\nStrong Oak Security Management has outsourced their security management to Euler, a financial data platform. Euler’s data engineering team is responsible for loading, processing, and validating security data from Strong Oak’s security master file.\n\n## Dataset\n\nThe project uses the following datasets:\n- [attributes.data](Data/attributes.data): Includes various security attributes.\n- [exchange.data](Data/exchange.data): Provides exchange details like name and location.\n- [stock.data](Data/stock.data): Contains stock-related information, possibly including Symbol and QUEUESIP.\n- [strong_oak_security_master.csv](Data/strong_oak_security_master.csv): Contains the raw list of securities.\n\nThese datasets contain information about securities, attributes, and exchanges, necessary for the validation and upload process.\n\n## Objective\nThe primary goal of this project is to clean, validate, and transform the security data to fit Euler’s proprietary security management platform. The process involves:\n1. Identifying and filtering valid securities.\n2. Uploading attributes in the required format.\n3. Minimizing missing data where possible.\n\n## Analysis Approach\n1. Loading Securities into the Platform:\n- Extract relevant security identifiers: MIC, QUEUESIP, Symbol, RequestId.\n- Assign a unique EulerId to each security.\n- Ensure at least one of QUEUESIP or Symbol is populated.\n- Minimize null values in QUEUESIP and Symbol.\n- Save the cleaned securities data in {firstName}_{lastName}_section1.csv.\n\n2. Uploading Attributes:\n\n- Extract security attributes from multiple sources.\n- Convert data to a long format with columns: EulerId, AttributeName, AttributeValue.\n- Ensure no null values exist in AttributeValue.\n- Save the attributes dataset in {firstName}_{lastName}_section2.csv.\n\n**Noted:** For detail steps, please view [detail file](Detail_Steps_README.md)\n\n## Key Findings\n\n- Some securities in the master file were invalid due to missing identifiers or being inactive.\n- Merging data from multiple sources introduced inconsistencies that needed filtering.\n- Some false-positive matches were identified and removed.\n- The exchange.data file provided necessary location data for exchange names.\n\n## How to run code\n\n1. Ensure all required datasets are stored in the /data directory.\n2. Install dependencies: pip install pandas os pathlib.\n3. Run the Python script that processes the data:\n```\npython firstName_lastName_data_solutions.py\n```\n- The output csv files will be saved in the specified directory.\n\n## Technologies Used\n- Programming Language: Python\n- Libraries: pandas, os, pathlib\n- File Formats: csv, .data\n- Data Cleaning \u0026 Transformation: Pandas DataFrame operations\n\n## Results\n- Breakdown of missing data before and after processing.\n\n![before](https://github.com/user-attachments/assets/e6db559f-a352-4ccd-af85-5d4ae5e56b63)\n\nFigure 1: Validation and Breakdown Before Processing\n\nThere are presence of missing data in stock (RequestId, Symbol, QUEUESIP, MIC), strong_oak_security_master (Ticker, QUEUESIP, Strong Oak Identifier), and attributes data (Asset Class, Inception Date, Return Since Inception).\n\n![after](https://github.com/user-attachments/assets/ed082976-9a04-44ff-ac98-ebfe65ae7702)\n\nFigure 2: Validation and Breakdown After Processing\n\n- No missing values for certain columns (e.g., EulerId, MIC).\n- No duplicate EulerId or RequestId after processing.\n- No invalid MIC values, indicating that only valid MICs are in the dataset.\n- No issues with Exchange Location format or invalid AttributeName.\n\n## Recommendation\n- Automate the validation process to improve efficiency.\n- Implement a robust error-handling mechanism for invalid securities.\n- Maintain a historical record of uploaded securities for future reference.\n\n## Contact\n\n📧 Email: phanchenh99@gmail.com\n\n🔗 [LinkedIn](https://www.linkedin.com/in/phan-chenh-6a7ba127a/) | [Portfolio](https://henh-phan-chenh.vercel.app/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphanchenh%2Fdatawrangling_pythonproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphanchenh%2Fdatawrangling_pythonproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphanchenh%2Fdatawrangling_pythonproject/lists"}