reciprocalspaceship.concat

reciprocalspaceship.concat(*args, check_isomorphous=True, **kwargs)[source]

Concatenate rs objects along a particular axis. This method follows the behavior of pd.concat. However, if DataSet objects are provided, attributes (such as cell and spacegroup) are set in the returned DataSet. The returned attributes are inherited from the first object in objs.

For additional documentation on accepted arguments, see the Pandas API Reference page.

Parameters:

check_isomorphous (bool) – If objs to concatenate are instances of rs.DataSet, their cell and spacegroup attributes will be compared to ensure they are isomorphous.

Returns:

rs.DataSet or rs.DataSeries – Returns rs.DataSeries when concatenating rs.DataSeries along the index (axis=0). Returns rs.DataSet in all other cases.