<jupyter_start><jupyter_text>To run this you will need to be at the same directory level as `utilities`If you haven't already cloned the `utilities` repo, you can find it here: https://github.com/NSS-Data-Instructional-Stuff/utilitiesIf you run this from another location, you will have to modify the import statement accordingly<jupyter_code>from utilities import class_website
path_to_csv = ("C:/Users/14436/Documents/DDA5/NSS-Full-Time-Data-Analytics-5.github.io/dda5_class_website_info.csv")
class_website.make_cohort_json(path_to_csv)
img_dir = ("C:/Users/14436/Documents/NSS/class_DDA4/NSS-Full-Time-Data-Analytics-4.github.io/assets/img")
class_website.prepare_images(img_dir)<jupyter_output>max_ar:  0.8016666666666666
new height for david1.jpg:  510
david2.jpg does not have dpi attribute
dda4_class_picture.jpg does not have dpi attribute
new height for eric1.jpg:  938
eric2.jpg does not have dpi attribute
new height for Holliday1.jpg:  4191
new height for jonathan1.jpg:  1546
jonathan2.jpg does not have dpi attribute
new height for julien1.jpg:  631
julien2.jpg does not have dpi attribute
new height for mallory1.jpg:  4590
mallory2.jpg does not have dpi attribute
new width for omoniyi1.jpg:  834
new height for Patrick1.jpg:  4191
new height for preston1.jpg:  4191
new height for Rachel1.jpg:  4191
new height for Robert1.jpg:  4191
new height for ryan1.jpg:  412
ryan2.jpg does not have dpi attribute
new height for Samantha1.jpg:  4079
new height for scott1.jpg:  600
scott2.jpg does not have dpi attribute
new height for Simon1.jpg:  4191
new height for sudeep1.jpg:  4549
sudeep2.jpg does not have dpi attribute
new height for toni1.jpg:  4191
new height for Zenon1.JPG:  1372[...]
{'fraction_non_alphanumeric': 0.07276995305164319, 'fraction_numerical': 0.0733568075117371, 'mean_word_length': 4.920138888888889, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '44946', 'license': 'MIT', 'n_tokens_mistral': 664, 'n_tokens_neox': 596, 'n_words': 197, 'path': '.ipynb_checkpoints/create_cohort_json-checkpoint.ipynb', 'repo_name': 'NSS-Full-Time-Data-Analytics-5/NSS-Full-Time-Data-Analytics-5.github.io', 'size': '1704'}