Question: This is a PYTHON program. Thank you. Wildfire frequency and size has had devastating impacts on the state of California in recent years. There's a

This is a PYTHON program. Thank you.This is a PYTHON program. Thank you. Wildfire frequency and size has

Wildfire frequency and size has had devastating impacts on the state of California in recent years. There's a wealth of data available which can be downloaded and analyzed. A useful dataset from the USGS includes data for every reported fire from 1950 to 2017, which I've copied here: calfire frap.csv Import this dataset and create a plot that displays how many fires were reported each year that was reported. Add an additional line (on the same chart) that displays only fires that were over 500 acres in size (the column "gis_acres" is the size of the fire). Use different colors, markers and line styles for each series. Add appropriate chart and axes titles, and a legend. Output each year and associated number of fires over 500 acres to a csv file. Hint: loading the data using a pandas dataframe first, then converting columns of interest to arrays is probably easiest. You can convert a column of pandas data to a numpy array using: myArray = myDataframe['columnName').to_numpy()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!