text_html_output_1.png
import numpy as np

import pandas as pd

import warnings

import warnings

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import pandas_profiling as pp
import seaborn as sns
import warnings
import os
import warnings
warnings.filterwarnings(action='ignore')
CSV_PATH = '../input/iris-files/iris.csv'

iris = pd.read_csv(CSV_PATH)

nrow = 5
n_feateures = 4
dates = pd.date_range('20220101', periods=nrow, freq='s')
df = pd.DataFrame(np.random.randn(nrow, n_feateures), index=dates, columns=list('ABCD'))
df

(df.head(3), df.tail(2), df.columns, df.index, df.shape)

df[0:3]