API: Return type of DataFrame.asof #15118
Labels
API Design
Bug
Datetime
Datetime data dtype
Needs Discussion
Requires discussion from core team before further action
Milestone
Code Sample, a copy-pastable example if possible
Problem description
I got tripped up by
[137]
returning a scalar - it makes sense for aSeries
, but not sure it does with aDataFrame
lookup? So maybe it should instead return an empty Series, e.g.Output of
pd.show_versions()
pandas: 0.19.0
nose: 1.3.7
pip: 8.1.2
setuptools: 23.0.0
Cython: 0.24.1
numpy: 1.11.2
scipy: 0.18.1
statsmodels: 0.6.1
xarray: 0.8.2
IPython: 5.1.0
sphinx: 1.3.1
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.4
blosc: None
bottleneck: 1.1.0
tables: 3.2.2
numexpr: 2.6.1
matplotlib: 1.5.3
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.2
lxml: 3.6.0
bs4: 4.4.1
html5lib: 0.999
httplib2: 0.9.2
apiclient: 1.5.3
sqlalchemy: 1.0.13
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.40.0
pandas_datareader: 0.2.1
The text was updated successfully, but these errors were encountered: