-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement iteration over components #75
Comments
Yes, iterating over the tables should definitely be something we support! I think we have two options here:
Do you think using Tables.jl is sufficient? e.g. for i in Tables.rows(net.buses)
@show i
end If so, that already works (well, except i need to fix #76) Or do you think we should take option 2 and figure out how to make xref #4 |
@nickrobinson251 there is no need really to do The best option would be to iterate over the whole row so that the fields can be accessed like a DataFrame. |
I don't think i understand, sorry 😊 could you show me what you'd like to be able to write and what the behaviour would be? |
Would it be possible to implement iteration over the data tables?
The text was updated successfully, but these errors were encountered: