Skip to content

Instantly share code, notes, and snippets.

@ksdkamesh99
Created July 25, 2020 15:30
Show Gist options
  • Save ksdkamesh99/99d7ce1543ac9b2360a005d305cc893c to your computer and use it in GitHub Desktop.
Save ksdkamesh99/99d7ce1543ac9b2360a005d305cc893c to your computer and use it in GitHub Desktop.
# Import sweetviz and pandas libraries
import sweetviz as sv
import pandas as pd
# Now read the dataset using pd.read_csv() function
data = pd.read_csv('IRIS.csv')
# Split first 125 entries/rows into train data frame
train = data.iloc[:125]
# Split next rows from 125 until end into test data frame
test = data.iloc[125:]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment