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?
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!
please show what you have tried so far.
Also please read:

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pandas DataFrame combine rows by column value, where Date Rows are NULL rhat398 0 328 May-04-2021, 10:51 PM
Last Post: rhat398
  Annotating plot bar from values of other a specific column celinafregoso99 0 419 Mar-10-2021, 03:19 PM
Last Post: celinafregoso99
  Xlsxwriter: Create Multiple Sheets Based on Dataframe's Sorted Values KMV 2 627 Mar-09-2021, 12:24 PM
Last Post: KMV
  Dataframe extract key values danipyth 0 331 Feb-07-2021, 03:52 PM
Last Post: danipyth
  Adding a new column to a dataframe lokhtar 2 476 Jan-14-2021, 07:18 PM
Last Post: buran
  Copying column values up based on other column values codelines 1 462 Jan-03-2021, 05:55 PM
Last Post: codelines
  How to apply a class method to an entire dataframe column tirtha9 1 544 Jan-03-2021, 04:44 AM
Last Post: klllmmm
  How to generate rows based on values in a column to fill missing values codesmatter 1 545 Oct-31-2020, 12:05 AM
Last Post: Larz60+
  How to melt dataframe multiple columns to one column Mekala 1 689 Sep-24-2020, 08:32 PM
Last Post: scidam
  Bulk add column to dataframe sambanerjee 1 644 Sep-24-2020, 07:34 PM
Last Post: sambanerjee

Forum Jump:

User Panel Messages

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