Skip to content

Commit 8e8a15a

Browse files
code sample for pandas-dev#38723
1 parent 4e504f1 commit 8e8a15a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

bisect/38723.py

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import pandas as pd
2+
import pandas.testing as tm
3+
4+
print(pd.__version__)
5+
6+
dti = pd.date_range("2016-01-01", periods=3)
7+
dti2 = dti.tz_localize("UTC")
8+
9+
df = pd.DataFrame(dti)
10+
df2 = pd.DataFrame(dti2)
11+
12+
result = df.all()
13+
print(result)
14+
result2 = df2.all()
15+
print(result2)
16+
17+
18+
tm.assert_series_equal(result, result2)

0 commit comments

Comments
 (0)