CSV Aggregation and Random Sampling
I need help turning a 370 000-row CSV with the fields Unit | Road | MapPage | X | Y into two new files. First, I want the data rolled-up by Unit + Road +…
Описание предложения
I need help turning a 370 000-row CSV with the fields Unit | Road | MapPage | X | Y into two new files. First, I want the data rolled-up by Unit + Road + MapPage for each Unit/Road pair, combine only the unique MapPage numbers into a single comma-separated string while keeping the first X-Y coordinate that appears. The original headers must stay exactly as they are. Second, create a separate CSV that contains a random, evenly-distributed sample of exactly 230 records for every Unit. The sample has to consider every Road and MapPage so the distribution remains balanced, and the final file must be sorted alphabetically by Unit, Road, then MapPage. Please handle the heavy lifting with a more efficient approach than Excel or Access—Python (pandas), SQL, or any equivalent tool ...
Навыки и категории
Похожие предложения
Написать отзыв на магазин Кимоно43 - Яндекс
Тип работы: Копирайтинг Категория: Спортивное снаряжение/Спортивная форма Описание: Важно! Отзыв нужно писать из Яндекс…
Требуются / для работы с CHATGPT
(#Удаленка) Требуются #помощники / #специалисты для работы с CHATGPT Что делать: • работать в ChatGPT по готовым инстру…
Бытовая техника, CRM, 80—110к
Бытовая техника, CRM, 80—110к https://docs.google.com/document/d/1oeOXYPd9BW7NVhJi8apVqk8pHgBScVDftrGE3qSfihU/edit?tab=…
Video Ad Scriptwriter & US Audience Advisor (Faith Brand)
Every morning, women of faith across America pause for a quiet prayer. Our jewelry and gifts are made for that moment:…