davidrichards-data_frame 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/data_frame.rb +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/data_frame.rb
CHANGED
@@ -38,7 +38,7 @@ class DataFrame
|
|
38
38
|
# DataFrame.from_csv('http://example.com/my_special_url.csv', :converters => :special)
|
39
39
|
# This returns bar where 'foo' was found and 'foo' everywhere else.
|
40
40
|
def from_csv(obj, opts={})
|
41
|
-
labels, table = infer_csv_contents(obj)
|
41
|
+
labels, table = infer_csv_contents(obj, opts)
|
42
42
|
return nil unless labels and table
|
43
43
|
df = new(*labels)
|
44
44
|
df.import(table)
|