mcocdawc / chemcoord

A python module for manipulating cartesian and internal coordinates.
GNU Lesser General Public License v3.0
72 stars 19 forks source link

Indexing of columns via attributes #83

Closed mcocdawc closed 1 year ago

mcocdawc commented 1 year ago

Nicer indexing via attributes

Just as in pandas it would be nice to use "attribute"-syntax to refer to columns.

Compare e.g. the following example.

m.loc[:, 'atom']
# also allow
m.atom
mcocdawc commented 1 year ago

done in #85