<jupyter_start><jupyter_text>Data Analytics Assignment no. 1IRIS Dataset<jupyter_code>import pandas as pd
import matplotlib.pyplot as plt
from pandas.plotting import scatter_matrix
import seaborn as sns
url="/home/administrator/Downloads/iris.csv"
df=pd.read_csv(url,header=None)
headers=['sepal-length','sepal-width','petal-length','petal-width','iris-class']

df.columns=headers
[rows,columns]=df.shape

print(df.shape) # returns dimensions of the dataset
print("Number of records:",rows)
print("Number of features:",columns)
df.head(10) #displays top 10 elements
df.info()
df.dtypes

df.describe()
df.describe(include="all")
#df.to_csv("/home/administrator/BECOA163/op_iris.csv")
df.hist()
df.boxplot()

df.mode()
df.median()

scatter_matrix(df)
sns.set(style="ticks")
sns.load_
sns.pairplot(df,hue="species")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.15201900237529692, 'fraction_numerical': 0.009501187648456057, 'mean_word_length': 7.690721649484536, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '413416', 'license': 'Apache-2.0', 'n_tokens_mistral': 326, 'n_tokens_neox': 312, 'n_words': 56, 'path': 'Assignment-1/DA1.py.ipynb', 'repo_name': 'pkawale/BECOA163', 'size': '842'}