<jupyter_start><jupyter_text>Because Date is the index, we can resample weekly ('W') and it will use the date as the x-axis and plot the rest of the data columns<jupyter_code>ax = data.resample('D').sum().rolling(365).sum().plot()
ax.set_ylim(0, None)
data.groupby(data.index.time).mean().plot()
pivoted = data.pivot_table('Total', index=data.index.time, columns=data.index.date)
pivoted.iloc[:5, :5]
pivoted.plot(legend=False, alpha=0.01)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16204690831556504, 'fraction_numerical': 0.019189765458422176, 'mean_word_length': 6.704918032786885, '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': '119253', 'license': 'MIT', 'n_tokens_mistral': 180, 'n_tokens_neox': 174, 'n_words': 39, 'path': 'FremontBridgeCycleTraffic.ipynb', 'repo_name': 'susannasiebert/JupyterWorkflow', 'size': '469'}