How I picked out the year for peak employment in New York State by County

How I picked out the year for peak employment in New York State by County. πŸ—Ί

Just a few quick lines of Python code:

import pandas as pd

# by using RemoteZip (pip install remotezip) this speeds
# up downloads by only downloading the files in the zip file
# that we actually need from DOL
from remotezip import RemoteZip

dolzip='https://dol.ny.gov/statistics-lauszip'

# download & load only cities and counties
with RemoteZip(dolzip) as zip:
    df=pd.read_csv(zip.extract('laus_counties.txt'))
    df=df.append(pd.read_csv(zip.extract('laus_cities.txt')))

# get rid of double quotes in column names
df.columns = df.columns.str.replace('\"','')

# get rid of spaces in column names
df.columns=df.columns.str.replace(' ','')
# select year and county totals, create a pandas pivot table, then
# run idmax to the highest employment number for each county
df[((df['MONTH'] == 0) & (df['AREA'].str.contains('County')))].pivot(index='YEAR',columns='AREA',values='EMP').idxmax()

Weather Update – February 11, 2022

You know your standards are low when you get excited about a 48 degree day. β›…

But it’s been a long winter, so we will take whatever we can get. 48 degrees is almost as warm as my heat is, so it won’t be running much and the outdoors will feel nice, maybe almost even vest weather. Maybe I’ll wear my vest when I go for my evening walk. I thought about getting out of town on Saturday, but I think it might actually be a pretty cool and cloudy weekend, with a lot of dampness and breeze. Plus, I am hoping for better weather for President’s Day Weekend or maybe April, or however the dice may roll.

Today.
Feels like …
March 24th.

Mostly Sunny

Mostly sunny.

South wind 8 to 17 mph.

and

48 degrees , 5:21
sunset.
Tonight.
Feels like …
April 24th.

Slight Chance of Showers then Chance of Showers

A chance of showers, mainly after midnight. Cloudy.

South wind 11 to 15 mph. Chance of precipitation is 50%. New precipitation amounts of less than a tenth of an inch possible.

and

40 degrees , 6:55
sunrise.
Saturday.
Feels like …
March 21st.

Chance of Showers

A chance of showers, mainly before 11am. Mostly cloudy.

Southwest wind 8 to 17 mph becoming west in the afternoon. Winds could gust as high as 28 mph. Chance of precipitation is 30%. New precipitation amounts of less than a tenth of an inch possible.

and

47 degrees , 5:22
sunset.
Saturday Night.
Feels like …
February 4th.

Mostly Cloudy

Mostly cloudy.

Northwest wind 8 to 14 mph.

and

15 degrees , 4 max wind chill, 6:54
sunrise.
Sunday.
Cold !

Slight Chance of Light Snow

A slight chance of light snow before 1pm. Partly sunny.

North wind around 7 mph. Chance of precipitation is 20%.

and

25 degrees , 4 max wind chill, 5:24
sunset.
Sunday Night.
Cold !

Mostly Cloudy

Mostly cloudy.

 

and

6 degrees , -2 max wind chill, 6:52
sunrise.
Monday.
Cold !

Mostly Sunny

Mostly sunny.

 

and

20 degrees , -2 max wind chill, 5:25
sunset.
Monday Night.
Cold !

Partly Cloudy

Partly cloudy.

 

and

9 degrees , 4 max wind chill, 6:51
sunrise.
Tuesday.
Cold !

Partly Sunny

Partly sunny.

 

and

30 degrees , 5 max wind chill, 5:26
sunset.
Tuesday Night.
Cold !

Partly Cloudy

Partly cloudy.

 

and

14 degrees , 9 max wind chill, 6:50
sunrise.
Wednesday.
Feels like …
March 2nd.

Partly Sunny

Partly sunny.

 

and

40 degrees , 9 max wind chill, 5:28
sunset.
Wednesday Night.
Feels like …
April 6th.

Mostly Cloudy

Mostly cloudy.

 

and

33 degrees , 6:48
sunrise.
Thursday.
Feels like …
April 4th.

Chance of Showers then Showers is likely

Showers likely. Cloudy.

Chance of precipitation is 60%.

and

53 degrees , 5:29
sunset.