Skip to content

Commit b5c4605

Browse files
authored
Update DataFrame.jl
improve docs
1 parent 3153a27 commit b5c4605

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/DataFrame.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ import DataFrames.DataFrame
66
Construct a DataFrame from a MetaGraph from either its node or edge properties.
77
88
`gr` is a MetaGraph.
9+
10+
Optional keyword arguments:
11+
912
`type` is a Symbol valued either :node or :edge such that the DataFrame is populated with node or edge
10-
properties stored in `gr`.
13+
properties stored in `gr`. Default is :node.
1114
1215
"""
1316
function DataFrame(gr::T; type = :node) where T <:AbstractMetaGraph

0 commit comments

Comments
 (0)