# importing pandas as pd import pandas as pd # Creating the dataframe df = pd.read_csv("nba.csv") # Using regular expression to extract all # columns which has letter 'a' or 'A' in its name. df.filter(regex ='[aA]')
# importing pandas as pd import pandas as pd # Creating the dataframe df = pd.read_csv("nba.csv") # Using regular expression to extract all # columns which has letter 'a' or 'A' in its name. df.filter(regex ='[aA]')