code stringlengths 3 6.57k |
|---|
len(values) |
len(columns) |
np.empty((0, 1) |
_get_axes(N, K, index=index, columns=columns) |
_default_index(N) |
_ensure_index(index) |
_default_index(K) |
_ensure_index(columns) |
is_categorical_dtype(getattr(values,'dtype',None) |
is_categorical_dtype(dtype) |
hasattr(values,'dtype') |
_prep_ndarray(values, copy=copy) |
values.ravel() |
values.copy() |
_get_axes(len(values) |
_prep_ndarray(values, copy=copy) |
values.astype(dtype) |
ValueError("failed to cast to '%s' (Exception was: %s) |
raise_with_traceback(e) |
_get_axes(*values.shape) |
is_object_dtype(values) |
_possibly_infer_to_datetimelike(values) |
create_block_manager_from_blocks([values], [columns, index]) |
axes(self) |
shape(self) |
return (len(self.index) |
len(self.columns) |
_repr_fits_vertical_(self) |
get_option("display.max_rows") |
len(self) |
_repr_fits_horizontal_(self, ignore_width=False) |
fmt.get_console_size() |
get_option("display.max_columns") |
len(self.columns) |
if ((max_columns and nb_columns > max_columns) |
or
((not ignore_width) |
com.in_interactive_session() |
if (get_option('display.width') |
com.in_ipython_frontend() |
get_option("display.max_rows") |
StringIO() |
not (max_rows is None) |
min(max_rows, len(d) |
d.to_string(buf=buf) |
buf.getvalue() |
max([len(l) |
value.split('\n') |
_info_repr(self) |
get_option("display.large_repr") |
self._repr_fits_horizontal_() |
self._repr_fits_vertical_() |
__unicode__(self) |
unicode(df) |
StringIO(u("") |
self._info_repr() |
self.info(buf=buf) |
buf.getvalue() |
get_option("display.max_rows") |
get_option("display.max_columns") |
get_option("display.show_dimensions") |
get_option("display.expand_frame_repr") |
fmt.get_console_size() |
buf.getvalue() |
_repr_html_(self) |
com.in_qtconsole() |
self._info_repr() |
StringIO(u("") |
self.info(buf=buf) |
buf.getvalue() |
replace('<', r'<', 1) |
get_option("display.notebook_repr_html") |
get_option("display.max_rows") |
get_option("display.max_columns") |
get_option("display.show_dimensions") |
iteritems(self) |
over (column, series) |
hasattr(self, '_item_cache') |
self._get_item_cache(k) |
enumerate(self.columns) |
self.icol(i) |
iterrows(self) |
as (index, Series) |
DataFrame([[1, 1.0]], columns=['x', 'y']) |
next(df.iterrows() |
print(row['x'].dtype) |
print(df['x'].dtype) |
zip(self.index, self.values) |
Series(v, index=columns, name=k) |
itertuples(self, index=True) |
arrays.append(self.index) |
arrays.extend(self.iloc[:, k] for k in range(len(self.columns) |
zip(*arrays) |
__len__(self) |
len(self.index) |
dot(self, other) |
isinstance(other, (Series, DataFrame) |
self.columns.union(other.index) |
if (len(common) |
len(self.columns) |
len(common) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.