<jupyter_start><jupyter_text>get_max<jupyter_code>import pandas as pd
import matplotlib.pyplot as plt

def main():
    df = pd.read_csv("JNJ.csv")
    print(df)
    df['Close'].plot()
    plt.savefig('graphs/aapl.png')

def get_max_close(symbol):
    df = pd.read_csv(f"{symbol}.csv")
    return df['Close'].max()

def main():
    print('Max Close:')
    for symbol in ['JNJ']:
        print(symbol + ":", get_max_close(symbol))

if __name__ == "__main__":
    main()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1710261569416499, 'fraction_numerical': 0.0, 'mean_word_length': 4.081632653061225, 'pattern_counts': {'":': 2, '<': 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': '445593', 'license': 'MIT', 'n_tokens_mistral': 197, 'n_tokens_neox': 195, 'n_words': 35, 'path': 'get_max.ipynb', 'repo_name': 'Ele2000/-python-for-trading', 'size': '497'}