zak100 Posted September 3, 2020 Share Posted September 3, 2020 (edited) import numpy as np import pandas as pd df3 = pd.DataFrame([[0, 2, 3], [0, 4, 1], [10, 20, 30]], index=[4, 5, 6], columns=['A', 'B', 'C']) print(df3) df3.at[4, 'B'] Following is the output: Quote A B C 4 0 2 3 5 0 4 1 6 10 20 30 Somebody please guide me, how can i print the value of last statement? I solved this problem: print(df3.at[4, 'B']) Zulfi. Edited September 3, 2020 by zak100 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now