Files
openide/python/testData/debug/test_shapes.py
Elizaveta Shashkova 028a0c2372 IDEA-CR-53299: PY-37497 Variables View cleanup
GitOrigin-RevId: 2d7ce065e5b42f6a43320ffd735f978851529805
2019-10-14 10:32:59 +00:00

32 lines
735 B
Python

import numpy as np
import pandas as pd
class MyCollection:
def __init__(self, size):
self.size = size
def __len__(self):
return self.size
list1 = [i for i in range(120)]
dict1 = {'a': 1, 'b': 2}
custom = MyCollection(5)
df1 = pd.DataFrame({'row': [0, 1, 2],
'One_X': [1.14444, 1.144444, 1.144444],
'One_Y': [1.24444, 1.244444, 1.244444],
'Two_X': [1.11, 1.11, 1.11],
'Two_Y': [1.22, 1.22, 1.22],
'LABELS': ['A', 'B', 'C']},
index=['a', 'b', 'c'])
n_array = np.random.random_sample((3, 2))
series = pd.Series([10, 20, 30, 40, 50], index=['a', 'b', 'c', 'd', 'e'])
print("Executed")