# 8.29:  Use a str method condition.  Use the str.isdigit() method (accessed through the .str
# accessor) to filter rows with digits in the 'transactions' column.  Following this put a tilde in
# front of the test to show those rows with transactions that are not all digits.

import pandas as pd

df = pd.read_csv('../revenue_extended.csv', skiprows=2,
                                            skipfooter=2,
                                            engine='python')

print(df.loc[  ~df.transactions.str.isdigit()  ])

