Python Forum
acess particular element in dataframe using .loc operator. - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: acess particular element in dataframe using .loc operator. (/thread-34138.html)



acess particular element in dataframe using .loc operator. - shantanu97 - Jun-30-2021

I have two dataframe. Please see attached image.Sometimes in my code dataframe 1 comes but sometimes in my dataframe 2 comes. I want to access the element D and Magnetic field intersection. I marked with yellow colour. I am not interested in the .iloc operator code. is there anyone tell me how to access those elements with .loc operator???

Image Link:https://drive.google.com/file/d/1Rs7VPDjDBYbmt0lX-CGbSNEJqtWaqv3j/view?usp=sharing