We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfabdfc commit e14556aCopy full SHA for e14556a
bisect/41997.py
@@ -0,0 +1,11 @@
1
+# 1.3: (intended?) Behavior change with empty apply #41997
2
+
3
+import pandas as pd
4
5
+print(pd.__version__)
6
7
+df = pd.DataFrame(columns=["a", "b"])
8
9
+df["a"] = df.apply(lambda x: x["a"], axis=1)
10
11
+print(df)
0 commit comments