<jupyter_start><jupyter_text>An Introduction to Plotting and Data Analysis in Python 5 <NAME> and <NAME>, Imperial College London (contact: [<EMAIL>](<EMAIL>))Exercise 1 uses material adapted from work by <NAME>. Exercise 2 is adapted and uses the dataset from the article <NAME>, The American Statistician, 27(1):17-21 (1973). This notebook is licensed under a [Creative Commons Attribution 4.0 (CC-by) license](http://creativecommons.org/licenses/by/4.0/) Let's load the pylab and non-linear fitting machinery and get that out of the way.<jupyter_code>%pylab inline
from scipy.optimize import curve_fit<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09779179810725552, 'fraction_numerical': 0.028391167192429023, 'mean_word_length': 5.978021978021978, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, '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': '527010', 'license': 'CC-BY-4.0', 'n_tokens_mistral': 200, 'n_tokens_neox': 185, 'n_words': 75, 'path': 'data_workshop5/data_workshop5.ipynb', 'repo_name': 'imperialchem/python-data-viz-intro', 'size': '690'}