quandl_operation 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8efa21ecc6d27afc16ca550c8c3e40058e388b0e
|
4
|
+
data.tar.gz: 2facd542b1144ed3bf648ea4bc15ae0a958a0adb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c82f04e9daacd2eb6466187335475937eae8ddd1339af58ec0d2e70b083b7accfecb0dc4ce390b2238eabb64baf6cc260b8b3a6558be2dd6a067e0e57ca16cb
|
7
|
+
data.tar.gz: 800d407ed3d320994663694a2e61fbabe707c43e8dc358f2469b19ef6cf1199027f793197227e40807ba31401e8c609a7e37a6b94c2099c0f43579a182734790
|
@@ -14,7 +14,7 @@ class Guess
|
|
14
14
|
gap = ensure_positive_gap(gap)
|
15
15
|
# determine the freq from the size of the smallest gap
|
16
16
|
freq = frequency_from_gap(gap)
|
17
|
-
Quandl::Logger.debug "#{self.name}.perform (#{t1.elapsed.microseconds}ms)" if t1.
|
17
|
+
Quandl::Logger.debug "#{self.name}.perform (#{t1.elapsed.microseconds}ms)" if t1.elapsed.microseconds > 1
|
18
18
|
freq
|
19
19
|
end
|
20
20
|
|
@@ -17,7 +17,7 @@ class Collapse
|
|
17
17
|
def collapse_and_log(data, frequency)
|
18
18
|
t1 = Time.now
|
19
19
|
r = collapse(data, frequency)
|
20
|
-
Quandl::Logger.debug "#{self.name}.perform(#{data.try(:count)} rows, #{frequency}) (#{t1.elapsed.microseconds}ms)" if t1.
|
20
|
+
Quandl::Logger.debug "#{self.name}.perform(#{data.try(:count)} rows, #{frequency}) (#{t1.elapsed.microseconds}ms)" if t1.elapsed.microseconds > 1
|
21
21
|
r
|
22
22
|
end
|
23
23
|
|
@@ -13,7 +13,7 @@ class Parse
|
|
13
13
|
data = csv(data)
|
14
14
|
data = unknown_date_format_to_julian(data)
|
15
15
|
# data = sort(data)
|
16
|
-
Quandl::Logger.debug "#{self.name}.perform (#{t1.elapsed.microseconds}ms)" if t1.
|
16
|
+
Quandl::Logger.debug "#{self.name}.perform (#{t1.elapsed.microseconds}ms)" if t1.elapsed.microseconds > 1
|
17
17
|
data
|
18
18
|
end
|
19
19
|
|
@@ -14,7 +14,7 @@ class Transform
|
|
14
14
|
def transform_and_log( data, type)
|
15
15
|
t1 = Time.now
|
16
16
|
r = transform( data, type)
|
17
|
-
Quandl::Logger.debug "#{self.name}.perform(#{data.try(:count)} rows, #{type}) (#{t1.elapsed.microseconds}ms)" if t1.
|
17
|
+
Quandl::Logger.debug "#{self.name}.perform(#{data.try(:count)} rows, #{type}) (#{t1.elapsed.microseconds}ms)" if t1.elapsed.microseconds > 1
|
18
18
|
r
|
19
19
|
end
|
20
20
|
|