pandas.DataFrame Operation

From GM-RKB
(Redirected from pandas.DataFrame operation)
Jump to navigation Jump to search

A pandas.DataFrame Operation is a python-based tabular data structure operation for a pandas.DataFrame.



References

2014

  • http://pandas.pydata.org/pandas-docs/dev/generated/pandas.DataFrame.html
    • abs() Return an object with absolute value taken.
    • add(other[, axis, level, fill_value]) Binary operator add with support to substitute a fill_value for missing data in
    • describe([percentile_width]) Generate various summary statistics of each column, excluding
    • from_csv(path[, header, sep, index_col, ...]) Read delimited file into DataFrame
    • get_value(index, col) Quickly retrieve single value at passed column and index
    • get_values() same as values (but handles sparseness conversions)
    • groupby([by, axis, level, as_index, sort, ...]) Group series using mapper (dict or key function, apply given function
    • isnull() Return a boolean same-sized object indicating if the values are null
    • median([axis, skipna, level, numeric_only]) Return the median of the values for the requested axis
    • rename_axis(mapper[, axis, copy, inplace]) Alter index and / or columns using input function or functions.
    • select(crit[, axis]) Return data corresponding to axis labels matching criteria
    • tail([n]) Returns last n row
    • to_excel(excel_writer[, sheet_name, na_rep, ...]) Write DataFrame to a excel sheet
    • transpose() Transpose index and columns
    • sort([columns, column, axis, ascending, inplace]) Sort DataFrame either by labels (along either axis) or by the values in
    • sort_index([axis, by, ascending, inplace, kind]) Sort DataFrame either by labels (along either axis) or by the values in
    • sortlevel([level, axis, ascending, inplace]) Sort multilevel index by chosen axis and primary level.
    • squeeze() squeeze length 1 dimensions
    • stack([level, dropna]) Pivot a level of the (possibly hierarchical) column labels, returning a