<jupyter_start><jupyter_text>$y = 4.7063 \times y - 0.1000$<jupyter_code>curve[['A_630', 'dilution']].plot('dilution')
ods = pd.read_csv('data/optical_densities.csv')
ods['dilution'] = 1 / ods['dilution']
ods['isolate'] = ods['isolate'].astype('category')
ods_mean = ods[["isolate", "A_630"]].groupby("isolate").mean()
ods_mean
dilution_required = list()
for i, row in ods_mean.iterrows():
    diff = row.A_630 - model(0.2)
    dilution_required.append(model_dilution(0.5, diff))
ods_mean["dilution_reqd"] = pd.Series(dilution_required, index=ods_mean.index)
ods_mean<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18927973199329984, 'fraction_numerical': 0.04020100502512563, 'mean_word_length': 7.305555555555555, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '652843', 'license': 'MIT', 'n_tokens_mistral': 273, 'n_tokens_neox': 238, 'n_words': 33, 'path': '.ipynb_checkpoints/Untitled-checkpoint.ipynb', 'repo_name': 'PlummerLab/2015-06-30-invitro_growth', 'size': '597'}