Python Forum
How to get value in Dataframe given row & column values?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get value in Dataframe given row & column values?
#1
Hi there! Newbie here. I hope to get some help on a Python code.
Given a table (Stock Info) which has lots and lots of rows…How do I code to find the value of closing price on Nov 01, 2018?

For example: A specific stock quote
Columns: Open price, Closing price, Volume
Rows: Specific dates

I wanted to attach the table for easier viewing..but i am unable to access attachment from local drive....
Hope question was still understood.
Thank you!
Reply
#2
please show what you have tried so far.
Also please read: https://python-forum.io/misc.php?action=help&hid=52
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding PD DataFrame column bsben 2 245 Mar-08-2024, 10:46 PM
Last Post: deanhystad
  Get an average of the unique values of a column with group by condition and assign it klllmmm 0 220 Feb-17-2024, 05:53 PM
Last Post: klllmmm
  Converting column of values into muliple columns of counts highland44 0 205 Feb-01-2024, 12:48 AM
Last Post: highland44
  Python Alteryx QS-Passing pandas dataframe column inside SQL query where condition sanky1990 0 690 Dec-04-2023, 09:48 PM
Last Post: sanky1990
  Transposing a dataframe without creating NaN values doug2019 2 932 Mar-18-2023, 03:14 PM
Last Post: jefsummers
  Difference one column in a dataframe Scott 0 619 Feb-10-2023, 08:41 AM
Last Post: Scott
  splitting a Dataframe Column in two parts nafshar 2 912 Jan-30-2023, 01:19 PM
Last Post: nafshar
  PowerBI: Using Python Regex to look for values in column MarcusR44 1 920 Oct-14-2022, 01:03 PM
Last Post: ibreeden
  How to assign a value to pandas dataframe column rows based on a condition klllmmm 0 798 Sep-08-2022, 06:32 AM
Last Post: klllmmm
  renaming the 0 column in a dataframe Led_Zeppelin 5 1,460 Aug-16-2022, 04:07 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020