Skip to content

Commit 84e50f5

Browse files
Jason MokJason Mok
Jason Mok
authored and
Jason Mok
committed
add testing script
1 parent b8a4691 commit 84e50f5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

reproduce_issue.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import pandas as pd
2+
import datetime
3+
4+
# Attempt to replicate the issue
5+
result = pd.DataFrame([datetime.datetime.now(datetime.timezone.utc)])[0].value_counts(bins=2)
6+
print(result)
7+
print(pd.__version__)

0 commit comments

Comments
 (0)