How to get relevant data say only the “Underlying Price” from the get_history function without the d


I have posted here part of the code. I want to get, say only the "Strike Price" information from nifty_opn but what I am getting here is that the strike_price information contains the date as well, something like this:

2014-12-01 2100

How to do it?

nifty_opn = get_history(symbol="NIFTY", start=sdate, end=sdate, index=True, option_type='CE', strike_price=int(numpy.round(nifty_price.get('Close'),-2)), expiry_date=expiry) symbol=nifty_opn.get('Symbol') date=nifty_price.get('Date') close=nifty_price.get('Close') expiry=nifty_opn.get('Expiry') strike_price=nifty_opn.get('Strike Price') settle_price=nifty_opn.get('Settle Price') contracts_no=nifty_opn.get('Number of Contracts') data=[symbol,date,close,expiry,strike_price,settle_price,contracts_no]


To remove axes label from dataframe use "values". Try below code:

nifty_opn['Strike Price'].values

This will returns the series as ndarray


  • Wrong Stochastics output in R
  • Entity Framework 5 - Why is Entity State “Modified” after PropertyValue is set back to Original
  • EXCEL - Find category by searching keyword from other worksheet
  • c# search functionality query/code
  • Issue when converting or casting Date String to DateTime
  • Why isn't Jquery date picker icon showing in IE8?
  • ionic: using the framework with only HTML5
  • write jsonobject data to xml tags
  • interface java and scip - not generating the right classes
  • How to extract data between same html tags
  • LINQ: Unable to cast the type 'System.Int32' to type 'System.Object'
  • Embedding SQLServer CE in an installer
  • Detect and prevent/delay windows mobile power off
  • Android PHP Base64 decode with different results
  • SVN Commit failed with syntax error, unexpected '[' [duplicate]
  • Which Magento Domain Objects Use Layout XML Updates?
  • GitLab site is showing the plesk default page. What am i doing wrong?
  • SQL NULL Condition
  • Passing multiple parameters from controller to factory in angularjs
  • Not allowed to load local resource Error
  • how to access a variable from a class using php extension?
  • Converting query results into DataFrame in python
  • vectorized indexing/slicing in numpy/scipy?
  • Wrong labels when plotting a time series pandas dataframe with matplotlib
  • PHPUnit_Framework_TestCase class is not available. Fix… - Makegood , Eclipse
  • Rearranging Cells in UITableView Bug & Saving Changes
  • Matplotlib draw Spline from multiple points
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • Proper way to use connect-multiparty with express.js?
  • python regex in pyparsing
  • Android Google Maps API OnLocationChanged only called once
  • sending mail using smtp is too slow
  • Busy indicator not showing up in wpf window [duplicate]
  • Sorting a 2D array using the second column C++
  • Why is Django giving me: 'first_name' is an invalid keyword argument for this function?
  • How can I use `wmic` in a Windows PE script?
  • Conditional In-Line CSS for IE and Others?
  • java string with new operator and a literal
  • How can I use threading to 'tick' a timer to be accessed by other threads?