We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2521f05 commit 1a121e6Copy full SHA for 1a121e6
bisect/35830.py
@@ -0,0 +1,9 @@
1
+import pandas as pd
2
+
3
+print(pd.__version__)
4
5
+df = pd.DataFrame([[10.1]], columns=pd.DatetimeIndex(["8/21/2020 12:00:00 AM"]))
6
+key = df.columns[0].date()
7
8
+res = df[key]
9
+print(res)
0 commit comments