Rows can be selected by using a condition like so: df[ df['col'] > x ]
Multiple conditions are and'ed or or'ed with & and | (trying to use and or or results in the Value error The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()
Returns a DataFrame with statistical data about the columns with numerical values. The row-indexes are count, mean, std, min, 25%, 50%, 75% and max. The column (names) of the returned DataFrame correspond to the DataFrame being described. Compare with info()`
diff()
_dir_additions()
_dir_deletions()
_dispatch_frame_op()
div()
divide()
dot()
drop()
_drop_axis()
drop_duplicates()
_drop_labels_or_levels()
droplevel()
dropna()
dtypes
pandas.core.series.Series
duplicated()
empty
bool
_ensure_valid_index()
eq()
equals()
eval()
ewm()
expanding()
explode()
ffill()
fillna()
filter()
_find_valid_index()
first()
first_valid_index()
_flags
pandas.core.flags.Flags
flags
pandas.core.flags.Flags
floordiv()
_from_arrays()
from_dict()
from_records()
ge()
get()
_get_agg_axis()
_get_axis()
_get_axis_name()
_get_axis_number()
_get_axis_resolvers()
_get_block_manager_axis()
_get_bool_data()
_get_cleaned_column_resolvers()
_get_column_array()
_get_index_resolvers()
_getitem_bool_array()
_get_item_cache()
_getitem_multilevel()
_get_label_or_level_values()
_get_numeric_data()
_get_value()
_gotitem()
groupby()
Returns a pandas.core.groupby.generic.DataFrameGroupBy object. After grouping a data frame, statisical methods can be applied to each group. See also here here
gt()
_HANDLED_TYPES
tuple
head()
Returns a data frame with the first n rows of a data frame (similar in spirit to the shell command head). See also tail()
_hidden_attrs
frozenset
hist()
iat
pandas.core.indexing._iAtIndexer
id
pandas.core.series.Series
idxmax()
idxmin()
iloc[]
Returns the rows by numerical position. Compare with loc[]
index
pandas.core.indexes.range.RangeIndex
_indexed_same()
infer_objects()
info()
Some internal information about the data frame (number of columns, index type, memory usage etc.) Compare with describe()
_info_axis
pandas.core.indexes.base.Index
_info_axis_name
str
_info_axis_number
int
_info_repr()
_init_mgr()
_inplace_method()
insert()
_internal_names
list
_internal_names_set
set
interpolate()
_is_copy
NoneType
_iset_item()
isetitem()
_iset_item_mgr()
_iset_not_inplace()
_is_homogeneous_type
bool
_is_label_or_level_reference()
_is_label_reference()
_is_level_reference()
_is_mixed_type
bool
_is_view
bool
_item_cache
dict
items()
_iter_column_arrays()
iteritems()
iterrows()
itertuples()
_ixs()
join()
_join_compat()
keys()
kurt()
kurtosis()
last()
last_valid_index()
le()
loc[]
Select rows by their index. Compare with iloc[].
_logical_func()
_logical_method()
lookup()
lt()
mad()
mask()
_maybe_cache_changed()
_maybe_update_cacher()
melt()
The opposite is pivot()
memory_usage()
merge()
_metadata
list
_mgr
pandas.core.internals.managers.BlockManager
_min_count_stat_function()
mod()
mode()
mul()
multiply()
ndim
int. Compare with shape and size
ne()
_needs_reindex_multi()
nlargest()
nsmallest()
nunique()
pad()
pct_change()
pipe()
pivot()
The opposite is melt()
pivot_table()
plot()
Plots (the Series objects in the DataFrame?) or the DataFrame itslf on the backend specified by the plotting.backend option (whose default is matplotlib).
pop()
pow()
prod()
product()
_protect_consolidate()
quantile()
query()
radd()
rank()
rdiv()
_reduce()
_reduce_axis1()
reindex()
_reindex_axes()
_reindex_columns()
_reindex_index()
reindex_like()
_reindex_multi()
_reindex_with_indexers()
_rename()
rename()
rename_axis()
reorder_levels()
replace()
_replace_columnwise()
_repr_data_resource_()
_repr_fits_horizontal_()
_repr_fits_vertical_()
resample()
_reset_cache()
_reset_cacher()
reset_index()
rfloordiv()
rmod()
rmul()
rolling()
round()
rpow()
rsub()
rtruediv()
sample()
_sanitize_column()
select_dtypes()
sem()
_series
dict
_set_axis()
set_axis()
_set_axis_name()
_set_axis_nocheck()
set_flags()
set_index()
_set_is_copy()
_set_item()
_setitem_array()
_setitem_frame()
_set_item_frame_value()
_set_item_mgr()
_setitem_slice()
_set_value()
shape
A tuple which describes the data frame's dimensionality. Comapre with size and ndim
shift()
size
numpy.int64. Compare with shape and ndim.
skew()
_slice()
slice_shift()
sort_index()
sort_values()
squeeze()
stack()
_stat_axis
pandas.core.indexes.range.RangeIndex
_stat_axis_name
str
_stat_axis_number
int
_stat_function()
_stat_function_ddof()
std()
style
Returns a Styler object (which has a _repr_html_() method, which makes it poosible for the data frame to be rendered in a Jupyter Notebook)
sub()
subtract()
swapaxes()
swaplevel()
T
pandas.core.frame.DataFrame
tail()
Returns a data frame with the last n rows of a data frame (similar in spirit to the shell command tail). See also head()