<jupyter_start><jupyter_text>Pandas plot examples<jupyter_code>import pandas as pd
import numpy as np

index = list(range(1,101)) 
columns = list("ABC")
data = np.random.randn(100, 3)

df = pd.DataFrame(data, index=index, columns=columns)
df.head()
df.plot()
df["A"].plot()
df['date'] = pd.date_range("1/1/2000", periods=100)

df.plot(x='date', y='A')
df.plot(subplots = True, layout=(2,2), figsize=(15,10))
index = list(range(1,101)) 
columns = list("AB")
data = np.random.randn(100, 2)

df = pd.DataFrame(data, index=index, columns=columns)
df["B"] = df["B"]+10

df.plot(secondary_y=["B"], figsize=(15,10))
df.head()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.21141975308641975, 'fraction_numerical': 0.05709876543209876, 'mean_word_length': 6.819277108433735, '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': '594144', 'license': 'MIT', 'n_tokens_mistral': 291, 'n_tokens_neox': 267, 'n_words': 49, 'path': 'pandas_plots.ipynb', 'repo_name': 'summiee/jupyter_demos', 'size': '648'}