[PyCharm Tables] PY-80834 Fixed tables test data (part 2) and fixed the Iterable import for Python 2

(cherry picked from commit 990df1ada340084b65f83a051125ea77cf3da8f9)

IJ-CR-166515

GitOrigin-RevId: a2193fd4dd7a5bab3eface3ac1f1e6b0a1094563
This commit is contained in:
Natalia.Murycheva
2025-06-21 00:06:32 +02:00
committed by intellij-monorepo-bot
parent 0e20868e92
commit 2e77b25c30
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,10 @@ import numpy as np
import pandas as pd
import typing
from collections import OrderedDict
from collections.abc import Iterable
if sys.version_info < (3, 0):
from collections import Iterable
else:
from collections.abc import Iterable
TABLE_TYPE_NEXT_VALUE_SEPARATOR = '__pydev_table_column_type_val__'
MAX_COLWIDTH = 100000

View File

@@ -15,9 +15,6 @@
{'count': 4, 'mean': Timestamp('2013-01-02 12:00:00+0100', tz='CET'), 'min': Timestamp('2013-01-01 00:00:00+0100', tz='CET'), '5%': Timestamp('2013-01-01 03:36:00+0100', tz='CET'), '25%': Timestamp('2013-01-01 18:00:00+0100', tz='CET'), '50%': Timestamp('2013-01-02 12:00:00+0100', tz='CET'), '75%': Timestamp('2013-01-03 06:00:00+0100', tz='CET'), '95%': Timestamp('2013-01-03 20:24:00+0100', tz='CET'), 'max': Timestamp('2013-01-04 00:00:00+0100', tz='CET')}
{'count': 4, 'unique': 1, 'top': Period('2012-01-01', 'D'), 'freq': 4}
{'count': 4, 'unique': 4, 'top': 'A', 'freq': 1}
{'count': 4, 'unique': 3, 'top': [1, 2], 'freq': 2}
{'count': 4, 'unique': 3, 'top': {1: 2}, 'freq': 2}
{'count': 4, 'unique': 3, 'top': (1, 2), 'freq': 2}
{'count': 4}
{'count': 4}
{'count': 4}