Skip to content

Commit 3153a27

Browse files
authored
Update DataFrame.jl
format docs
1 parent 29aba6b commit 3153a27

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/DataFrame.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ import DataFrames.DataFrame
44
DataFrame(gr::T; type = :node) where T <:AbstractMetaGraph
55
66
Construct a DataFrame from a MetaGraph from either its node or edge properties.
7+
78
`gr` is a MetaGraph.
89
`type` is a Symbol valued either :node or :edge such that the DataFrame is populated with node or edge
910
properties stored in `gr`.
11+
1012
"""
1113
function DataFrame(gr::T; type = :node) where T <:AbstractMetaGraph
1214
fl, prps, en, nu = if type == :node

0 commit comments

Comments
 (0)