<jupyter_start><jupyter_text>Coin Desk Data* [https://www.coindesk.com/price/bitcoin](https://www.coindesk.com/price/bitcoin)<jupyter_code>import pandas as pd

df = pd.read_csv('BTC_USD_CoinDesk2.csv', encoding='utf-8-sig')
df.head()
del df['Currency']
df.columns = ['Timestamp', 'Close', 'Open', 'High', 'Low']
df.head()
type(df['Timestamp'][0])
df['Timestamp'] = pd.to_datetime(df['Timestamp'])
df = df.set_index('Timestamp')
df.head()
%matplotlib inline 
import matplotlib.pyplot as plt
df_open = df[['Open']]
df_high = df[['High']]
df_low = df[['Low']]
df_close = df[['Close']]


df_open.plot()
df_high.plot()
df_low.plot()
df_close.plot()
df_all = df[['Open', 'High', 'Low', 'Close']]
df_all.plot()
df.describe()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.2182061579651941, 'fraction_numerical': 0.004016064257028112, 'mean_word_length': 7.043010752688172, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '297877', 'license': 'MIT', 'n_tokens_mistral': 311, 'n_tokens_neox': 308, 'n_words': 51, 'path': 'project_02_file_test.ipynb', 'repo_name': 'SeiwonPark/python-pandas', 'size': '747'}