<jupyter_start><jupyter_text>***Converting CSV cities data into html form***<jupyter_code>import pandas as pd
# Study data files
cities_data_path = "WebVisualizations/Resources/cities.csv"
# Read the mouse data and the study results
cities_df= pd.read_csv(cities_data_path)

cities_df= cities_df[['City_ID', 'City', 'Country', 'Cloudiness', 'Humidity', 'Wind Speed', 'Max Temp', 'Lat', 'Lng']]
cities_df.head(3)

cities=cities_df.set_index("City_ID")
cities.head(3)
cities.to_html('cities_data.html')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14528301886792452, 'fraction_numerical': 0.0037735849056603774, 'mean_word_length': 8.654545454545454, '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': '145405', 'license': 'ADSL', 'n_tokens_mistral': 206, 'n_tokens_neox': 200, 'n_words': 41, 'path': '.ipynb_checkpoints/to_html_code-checkpoint.ipynb', 'repo_name': 'aselsche/Web-Design-Challenge', 'size': '530'}