ONSdigital / SDG_11.2.1

Analysis for the UN Sustainable Development Goal 11.2.1
https://onsdigital.github.io/SDG_11.2.1/
Apache License 2.0
5 stars 7 forks source link

FIX: Syntax and data type error #367

Closed james-westwood closed 1 year ago

james-westwood commented 1 year ago
  1. Numpy is complaing that it doesn't have a data type called np.object
  2. I am pretty sure the syntax for line 66 should be if age_df[col].dtype == ..."
  3. I think the dtype will simply be "O", as I couldn't track down np.object on the Numpy datatypes page.

This occurs in data_transform.py

image

Antonio-John commented 1 year ago

Scotland works :) Need to download some timetable data from sync to test for eng&wal script.

Antonio-John commented 1 year ago

This runs for me. Happy to merge this in.