text_plain_output_1.png
import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

training_set = pd.read_parquet('/kaggle/input/unswnb15/UNSW_NB15_training-set.parquet')
testing_set = pd.read_parquet('/kaggle/input/unswnb15/UNSW_NB15_testing-set.parquet')

training_set.dtypes

training_set.attack_cat.value_counts()

training_set.dtypes

target = 'label'
features = list(training_set.columns.difference([target]).values)

print(training_set[target].value_counts())
training_set.drop(columns=['attack_cat'], inplace=True)
testing_set.drop(columns=['attack_cat'], inplace=True)