quandl_operation 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 )
|