Created
July 30, 2013 10:31
-
-
Save randyzwitch/6111881 to your computer and use it in GitHub Desktop.
Julia readdlm basic example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> airline_array = readdlm("/Users/randyzwitch/airline/1987.csv", ','); | |
julia> size(airline_array) | |
(1311827,29) | |
julia> typeof(airline_array) | |
Array{Any,2} |
Pass in a character type (single quote), not a string type (double quotes) for the second arg
julia> typeof(',')
Char
julia> typeof(",")
ASCIIString (constructor with 2 methods)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code is returning the following error:
It happens while creating the SQLite DB's too. Any idea how do I deal with them?