Menu

Loading the Dataset

Loading the Dataset

Once the libraries have been imported, load the dataset into a Pandas DataFrame.

Code

credit_card_data = pd.read_csv("creditcard.csv")

Explanation

The read_csv() function imports the transaction dataset into Python.

Each row represents one credit card transaction, while each column stores a feature describing that transaction.