quandl_operation 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ class Collapse
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def collapse(data, frequency)
|
33
|
-
return data unless valid_collapse?(
|
33
|
+
return data unless valid_collapse?( frequency )
|
34
34
|
# store the new collapsed data
|
35
35
|
collapsed_data = {}
|
36
36
|
range = find_end_of_range( data[0][0], frequency )
|