Patrick Hoefler
Patrick Hoefler
Hi, thanks for your report. Would you be interested in submitting a pr?
@simonjayhawkins I've relabeled, since this is an indexing issue, not related to apply. The RHS is ``` Empty DataFrame Columns: [a, b] Index: [] ``` This is basically the case...
Don't think behavior based on data is desirable. I am not sure what you want to achieve here if this works for empty dfs. When you know, that your DataFrame...
Hm maybe I was wrong above and this is an apply issue. ```python df = pd.DataFrame([[1, 2]], columns=["a", "b"]) df.apply(lambda x: x["a"], axis=1) 0 1 dtype: int64 df = pd.DataFrame(columns=["a",...
> Yah seems like we should get back and empty Series right? yes would have expected that as well
Closing, please ping to reopen if you can adress questions
Could you add a whatsnew? Is there a suitable class for this test? The root cause was intended, so we have to fix them where they occur.
Is it possible to get there with a MultiIndex? Similar to https://github.com/pandas-dev/pandas/pull/47774 where the dimension reduction bothers us
Thanks for checking
Greenish, merging