importpandasaspdimportmatplotlib.pyplotasplotdf=pd.read_csv("/home/godarda/gd.csv")x=df['account_no']y=df['amount']plot.bar(x,y,label="Bank Holders")plot.xlabel("Account Numbers")plot.ylabel("Current Amount")plot.title("New Bank Holders")plot.show()
Output
godarda@gd:~$ python3 gd.py
Comments and Reactions
Thank You
Dear User, Thank you for visitng GoDarda. If you are interested in technical articles, latest technologies, and our journey further, please follow us on LinkedIn.