@@ -196,7 +196,7 @@ import pandas as pd
196196myComplex = complex(1, 1)
197197myInt = 99999999
198198myFloat = 9999.9999
199- mynpArray = np.array([1, 2, 3])
199+ mynpArray = np.array([1.0 , 2.0 , 3.0 ])
200200myDataframe = pd.DataFrame(mynpArray)
201201mySeries = myDataframe[0]
202202myTuple = 1,2,3,4,5,6,7,8,9
@@ -215,17 +215,17 @@ myTuple = 1,2,3,4,5,6,7,8,9
215215 { name : 'a' , value : '1' , supportsDataExplorer : false , type : 'int' , size : 54 , shape : '' , count : 0 , truncated : false } ,
216216 { name : 'myComplex' , value : '(1+1j)' , supportsDataExplorer : false , type : 'complex' , size : 54 , shape : '' , count : 0 , truncated : false } ,
217217 { name : 'myDataframe' , value : `0
218- 0 1
219- 1 2
220- 2 3` , supportsDataExplorer : true , type : 'DataFrame' , size : 54 , shape : '' , count : 0 , truncated : false } ,
218+ 0 1.0
219+ 1 2.0
220+ 2 3.0 ` , supportsDataExplorer : true , type : 'DataFrame' , size : 54 , shape : '' , count : 0 , truncated : false } ,
221221 { name : 'myFloat' , value : '9999.9999' , supportsDataExplorer : false , type : 'float' , size : 58 , shape : '' , count : 0 , truncated : false } ,
222222 { name : 'myInt' , value : '99999999' , supportsDataExplorer : false , type : 'int' , size : 56 , shape : '' , count : 0 , truncated : false } ,
223- { name : 'mynpArray' , value : 'array([1, 2, 3])' , supportsDataExplorer : true , type : 'ndarray' , size : 54 , shape : '' , count : 0 , truncated : false } ,
223+ { name : 'mynpArray' , value : 'array([1. , 2. , 3. ])' , supportsDataExplorer : true , type : 'ndarray' , size : 54 , shape : '' , count : 0 , truncated : false } ,
224224 // tslint:disable:no-trailing-whitespace
225- { name : 'mySeries' , value : `0 1
226- 1 2
227- 2 3
228- Name: 0, dtype: int32 ` , supportsDataExplorer : true , type : 'Series' , size : 54 , shape : '' , count : 0 , truncated : false } ,
225+ { name : 'mySeries' , value : `0 1.0
226+ 1 2.0
227+ 2 3.0
228+ Name: 0, dtype: float64 ` , supportsDataExplorer : true , type : 'Series' , size : 54 , shape : '' , count : 0 , truncated : false } ,
229229 { name : 'myTuple' , value : '(1, 2, 3, 4, 5, 6, 7, 8, 9)' , supportsDataExplorer : false , type : 'tuple' , size : 54 , shape : '' , count : 0 , truncated : false }
230230 ] ;
231231 verifyVariables ( wrapper , targetVariables ) ;
0 commit comments