GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - thotamohan/Chicago-Bird-Collision-Data-Preprocessing: Creating a summary tabular dataset that can be used to analyze the bird collision data.

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
DataPreprocessing.py
DataPreprocessing.py
 
 
Preprocessing.txt
Preprocessing.txt
 
 
README.md
README.md
 
 
chicago_collision_data.json
chicago_collision_data.json
 
 
flight_call.json
flight_call.json
 
 
light_levels.json
light_levels.json
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Chicago-Bird-Collision-Data-Preprocessing

Creating a summary tabular dataset that can be used to analyze the bird collision data.

COMMAND TO RUN THE PREPROCESSING SCRPIPT

python DataPreprocessing.py InputFileFolder outputpath

PREPROCESSING TASKS DONE

  • Dropping the null values in the three dataframes.
  • Renaming the columns in the flight call data frame as per the given format. {"Species":"Genus","Family":"Species","Collisions":"Family","Call":"Flight Call"}
  • the light level values in the dataframe are converted to integer values from float as given in the requirement.
  • Then dataframes are joined based on common columns:
  • Here joining is done between light levels data frame and collisions data frame based on the DATE column.
  • then join combined new data frame with Flight calls data frame based on genus and species.
  • then the combined dataframe is printed on to json output file.

Here the output is given as json file as it has

  • a smaller message size
  • it can easily represent null values.
  • More structural information in the document. Can easily distinguish between the number 1 and the string "1" as numbers, strings (and Booleans) are represented differently in JSON.

REQUIREMENTS

numpy==1.20.1 pandas==1.2.2 python-dateutil==2.8.1 pytz==2021.1 six==1.15.0

About

Creating a summary tabular dataset that can be used to analyze the bird collision data.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.