Pandas Dataframe


Documentation

# Create a dataframe of the features and add the target
import pandas as pd

df = pd.DataFrame(Features)
df.columns = [Feature_Names]
df['Target'] = Target
print('Dataframe Head')
print(df.head())