# 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]')
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter