def transpose(self, *args, **kwargs):
nv.validate_transpose(args, kwargs)<EOL>return self._constructor(<EOL>self.values.T, index=self.columns, columns=self.index,<EOL>default_fill_value=self._default_fill_value,<EOL>default_kind=self._default_kind).__finalize__(self)<EOL>
Returns a DataFrame with the rows/columns switched.