<jupyter_start><jupyter_text>Basic example of reading a simple Excel file<jupyter_code>import pandas as pd
df = pd.read_excel('data.xlsx')
df.head()<jupyter_output><empty_output><jupyter_text>Read from the web<jupyter_code>code = 75115
url = "https://26yrburrn0.execute-api.eu-west-3.amazonaws.com/dev/dvf?code_commune="+str(code)
import requests as rq
r = rq.get(url)
json = r.json()
json.keys()
json['valeur_fonciere']
dvf = pd.DataFrame(json)
dvf.head()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14609053497942387, 'fraction_numerical': 0.018518518518518517, 'mean_word_length': 7.396551724137931, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, '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': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '183078', 'license': 'MIT', 'n_tokens_mistral': 207, 'n_tokens_neox': 201, 'n_words': 33, 'path': 'notebook.ipynb', 'repo_name': 'slevin48/training', 'size': '486'}