def xs(self, key, axis=<NUM_LIT:0>, copy=False):
if axis == <NUM_LIT:1>:<EOL><INDENT>data = self[key]<EOL>return data<EOL><DEDENT>i = self.index.get_loc(key)<EOL>data = self.take([i]).get_values()[<NUM_LIT:0>]<EOL>return Series(data, index=self.columns)<EOL>
Returns a row (cross-section) from the SparseDataFrame as a Series
object.

Parameters
----------
key : some index contained in the index

Returns
-------
xs : Series