<jupyter_start><jupyter_text>Imports  Data Source [JPL](https://ssd.jpl.nasa.gov/sbdb_query.cgix)<jupyter_code>import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
df = pd.read_csv('Mars crossing asteroids.csv')<jupyter_output><empty_output><jupyter_text>Dataset Attributes<jupyter_code>df.info()
df.shape
df.columns<jupyter_output><empty_output><jupyter_text>Mars Crossing Asteroids: Diameter<jupyter_code>df['diameter'].describe()
df[['full_name', 'diameter']].sort_values(by = ['diameter'], ascending = False).head(5)
sns.distplot(df['diameter'].dropna());<jupyter_output><empty_output><jupyter_text>Mars Crossing Asteroids: BV, UB Color Index Magintude Difference<jupyter_code>df[['BV', 'UB']].describe()
df[['full_name', 'BV', 'UB']].sort_values(by = ['BV'], ascending = False).head(5)
df[['full_name', 'BV', 'UB']].sort_values(by = ['UB'], ascending = False).head(5)
sns.distplot(df['BV'].dropna(), color = 'b')
plt.xlim(0, 1)
plt.show();
sns.distplot(df['UB'].dropna(), color = 'r')
plt.xlim(0, 1)
plt.show();<jupyter_output><empty_output><jupyter_text>Mars Crossing Asteroids: Spectral Types (SMASS and Tholin)<jupyter_code>df['spec_B'].value_counts(normalize = True)
df['spec_T'].value_counts(normalize = True)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18231186966640806, 'fraction_numerical': 0.005430566330488751, 'mean_word_length': 9.487804878048781, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '445212', 'license': 'MIT', 'n_tokens_mistral': 532, 'n_tokens_neox': 504, 'n_words': 78, 'path': 'EDA.ipynb', 'repo_name': 'mkirby1995/Asteroids', 'size': '1289'}