Fix/type preservation empty dataframes #452
Annotations
2 errors
Run test:
test/test_data_frame_variable_operation.rb#L454
<"RedAmber::DataFrame : 0 x 4 Vectors\n" +
"Vectors : 2 numeric, 1 string, 1 boolean\n" +
"# key type level data_preview\n" +
"0 :a uint8 0 []\n" +
"1 :b double 0 []\n" +
"2 :c string 0 []\n" +
"3 :d boolean 0 []\n"> expected but was
<"RedAmber::DataFrame : 0 x 4 Vectors\n" +
"Vectors : 1 numeric, 2 strings, 1 boolean\n" +
"# key type level data_preview\n" +
"0 :a uint8 0 []\n" +
"1 :b string 0 []\n" +
"2 :c string 0 []\n" +
"3 :d boolean 0 []\n">.
diff:
RedAmber::DataFrame : 0 x 4 Vectors
- Vectors : 2 numeric, 1 string, 1 boolean
? ^ ^
+ Vectors : 1 numeric, 2 strings, 1 boolean
? ^ ^ +
# key type level data_preview
0 :a uint8 0 []
- 1 :b double 0 []
+ 1 :b string 0 []
2 :c string 0 []
3 :d boolean 0 []
|
Run test
Process completed with exit code 1.
|
Loading