<jupyter_start><jupyter_text>Exploratory Data Analysis on Iris Dataset  dataset link :- https://archive.ics.uci.edu/ml/datasets/IrisImport all libraries<jupyter_code>import pandas as pd
import seaborn as sns
import numpy as np 
import matplotlib.pyplot as plt<jupyter_output><empty_output><jupyter_text>Creating DataFrame<jupyter_code>df = pd.read_csv("https://raw.githubusercontent.com/uiuc-cse/data-fa14/gh-pages/data/iris.csv")
df.head()
df.shape<jupyter_output><empty_output><jupyter_text>Univariate Analysis<jupyter_code>df.loc[df['species']=='setosa']
df_setosa=df.loc[df['species']=='setosa']
df_virginica=df.loc[df['species']=='virginica']
df_versicolor=df.loc[df['species']=='versicolor']

plt.plot(df_setosa['sepal_length'],np.zeros_like(df_setosa['sepal_length']),'o')
plt.plot(df_virginica['sepal_length'],np.zeros_like(df_virginica['sepal_length']),'o')
plt.plot(df_versicolor['sepal_length'],np.zeros_like(df_versicolor['sepal_length']),'o')
plt.xlabel("sepal_length")
plt.show()<jupyter_output><empty_output><jupyter_text>Bivariate Analysis<jupyter_code>sns.FacetGrid(df,hue='species',size=5).map(plt.scatter,"petal_length","sepal_width").add_legend();
plt.show()<jupyter_output><empty_output><jupyter_text>Multivariate Analysis<jupyter_code>sns.pairplot(df,hue='species',size=3)<jupyter_output>C:\Users\mrsid\anaconda3\lib\site-packages\seaborn\axisgrid.py:2079: UserWarning: The `size` parameter has been renamed to `height`; please update your code.
  warnings.warn(msg, UserWarning)
{'fraction_non_alphanumeric': 0.16189207195203198, 'fraction_numerical': 0.005996002664890073, 'mean_word_length': 11.621848739495798, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, 'https://': 2, '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': '20706', 'license': 'Apache-2.0', 'n_tokens_mistral': 618, 'n_tokens_neox': 583, 'n_words': 57, 'path': '_notebooks/2021-04-24-EDA-IRIS.ipynb', 'repo_name': 'mr-siddy/ML-blog', 'size': '1501'}