@@ -107,7 +107,7 @@ While float dtypes are unchanged.
107
107
Datetimes Conversion
108
108
~~~~~~~~~~~~~~~~~~~~
109
109
110
- Datetime64[ns] columns in a DataFrame (or a Series) allow the use of ``np.nan`` to indicate a nan value,
110
+ Datetime64[ns] columns in a DataFrame (or a Series) allow the use of ``np.nan`` to indicate a nan value,
111
111
in addition to the traditional ``NaT``, or not-a-time. This allows convenient nan setting in a generic way.
112
112
Furthermore ``datetime64[ns]`` columns are created by default, when passed datetimelike objects (*this change was introduced in 0.10.1*)
113
113
(GH2809_, GH2810_)
@@ -159,6 +159,25 @@ New features
159
159
p.reindex(items=['ItemA']).squeeze()
160
160
p.reindex(items=['ItemA'],minor=['B']).squeeze()
161
161
162
+ - In ``pd.io.data.Options``,
163
+
164
+ + Fix bug when trying to fetch data for the current month when already
165
+ past expiry.
166
+ + Now using lxml to scrape html instead of BeautifulSoup (lxml was faster).
167
+ + New instance variables for calls and puts are automatically created
168
+ when a method that creates them is called. This works for current month
169
+ where the instance variables are simply ``calls`` and ``puts``. Also
170
+ works for future expiry months and save the instance variable as
171
+ ``callsMMYY`` or ``putsMMYY``, where ``MMYY`` are, respectively, the
172
+ month and year of the option's expiry.
173
+ + ``Options.get_near_stock_price`` now allows the user to specify the
174
+ month for which to get relevant options data.
175
+ + ``Options.get_forward_data`` now has optional kwargs ``near`` and
176
+ ``above_below``. This allows the user to specify if they would like to
177
+ only return forward looking data for options near the current stock
178
+ price. This just obtains the data from Options.get_near_stock_price
179
+ instead of Options.get_xxx_data().
180
+
162
181
**Bug Fixes**
163
182
164
183
See the `full release notes
0 commit comments