How can I add values from the first column to a new array?

I have this code:

unique_values = (dataset["Label"].value_counts())
    print(unique_values)

And this output:

BENIGN          1378095
PortScan         158930
FTP-Patator        7938
SSH-Patator        5897
Infiltration         36
Name: Label, dtype: int64

How can I add values from the first column to a new array? The first column should be this: BENIGN, PortScan,..

Answer

Is this giving you what you want?

unique_values.index.tolist()