Skip to content

Commit

Permalink
code sample for pandas-dev#38723
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins committed Dec 29, 2020
1 parent 4e504f1 commit 8e8a15a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions bisect/38723.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import pandas as pd
import pandas.testing as tm

print(pd.__version__)

dti = pd.date_range("2016-01-01", periods=3)
dti2 = dti.tz_localize("UTC")

df = pd.DataFrame(dti)
df2 = pd.DataFrame(dti2)

result = df.all()
print(result)
result2 = df2.all()
print(result2)


tm.assert_series_equal(result, result2)

0 comments on commit 8e8a15a

Please sign in to comment.