importpandasaspdimportmatplotlib.pyplotasplotdf=pd.read_csv("/home/codeaft/codeaft.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
codeaft@codeaft:~$ python3 codeaft.py
Comments and Reactions
Thank You
Dear User, Thank you for visitng Codeaft. If you are interested in technical articles, latest technologies, and our journey further, please follow us on LinkedIn.