Skip to content

Commit

Permalink
Fix docstring example (#1107)
Browse files Browse the repository at this point in the history
Closes #1103
  • Loading branch information
femtotrader authored and nalimilan committed Jul 8, 2017
1 parent 2204bfb commit 5278dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dataframe/dataframe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ loops.
```julia
df = DataFrame()
v = ["x","y","z"][rand(1:3, 10)]
df1 = DataFrame(Any[[1:10], v, rand(10)], [:A, :B, :C]) # columns are Arrays
df1 = DataFrame(Any[collect(1:10), v, rand(10)], [:A, :B, :C]) # columns are Arrays
df2 = DataFrame(A = 1:10, B = v, C = rand(10)) # columns are NullableArrays
dump(df1)
dump(df2)
Expand Down

0 comments on commit 5278dee

Please sign in to comment.