You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
338 B
17 lines
338 B
6 months ago
|
from pandas import (
|
||
|
DataFrame,
|
||
|
Timedelta,
|
||
|
)
|
||
|
|
||
|
|
||
|
def test_no_overflow_of_freq_and_time_in_dataframe():
|
||
|
# GH 35665
|
||
|
df = DataFrame(
|
||
|
{
|
||
|
"some_string": ["2222Y3"],
|
||
|
"time": [Timedelta("0 days 00:00:00.990000")],
|
||
|
}
|
||
|
)
|
||
|
for _, row in df.iterrows():
|
||
|
assert row.dtype == "object"
|