I have a csv file named "transactions4.csv" that contains values that look like:
column 1|column 2
--------|---------
12345 | 10
23456 | -15
12376 | 10
56842 | 25
45678 | -5
78324 | 20
Here's what I have so far:
import pandas as pd
transactionsFileName = "transactions4.csv"
df = pd.read_csv(transactionsFileName)
print(df.to_string())
This prints the values from the file, but I'm not sure how to put each column into an array.
df["column 1"].