Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIn Str NameLoad body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return BinOpMod Str Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Dict decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad keyword BinOpAdd Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Dict Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If CompareNotIn NameLoad Set Str Str Str Str Str body Assign NameStore Str If CompareNotIn NameLoad Set Str Str body Assign NameStore Str Return Dict Str Str NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Import alias identifier Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Dict Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list
N/A rest_framework.renderers BaseRenderer rest_framework status tempfile mkstemp pandas DataFrame N/A N/A StringIO StringIO N/A N/A N/A ImportError N/A io StringIO N/A os io BytesIO PandasBaseRenderer N/A BaseRenderer N/A N/A 
    Renders DataFrames using their built in pandas implementation.
    Only works with serializers that return DataFrames as their data object.
    Uses a StringIO to capture the output of dataframe.to_[format]()
     render N/A N/A self data accepted_media_type renderer_context N/A None None N/A N/A N/A response renderer_context N/A N/A status_code N/A N/A renderer_context N/A response status_code N/A N/A N/A N/A status is_success status_code N/A N/A N/A Error: %s N/A N/A data get detail status_code N/A N/A N/A isinstance data DataFrame N/A N/A N/A Exception N/A Response data is a %s, not a DataFrame! N/A type data N/A name N/A getattr self function N/A to_%s N/A self format N/A function N/A getattr data name None N/A N/A function N/A N/A N/A Exception N/A Data frame is missing %s property! name N/A N/A N/A self init_output N/A args N/A N/A self get_pandas_args data N/A kwargs N/A N/A self get_pandas_kwargs data renderer_context N/A N/A function args kwargs N/A N/A N/A self get_output N/A init_output N/A N/A self N/A N/A N/A N/A self output N/A StringIO N/A get_output N/A N/A self N/A N/A N/A N/A N/A N/A self output getvalue N/A get_pandas_args N/A N/A self data N/A N/A N/A N/A N/A self output N/A get_pandas_kwargs N/A N/A self data renderer_context N/A N/A N/A N/A N/A N/A PandasFileRenderer N/A PandasBaseRenderer N/A N/A 
    Renderer for output formats that absolutely must use a file (i.e. Excel)
     init_output N/A N/A self N/A N/A N/A N/A file filename N/A mkstemp suffix N/A . N/A self format N/A N/A self filename filename N/A get_pandas_args N/A N/A self data N/A N/A N/A N/A N/A self filename N/A get_output N/A N/A self N/A N/A N/A file N/A open N/A self filename rb N/A result N/A N/A file read N/A N/A N/A file close N/A N/A N/A os unlink N/A self filename N/A result N/A N/A PandasCSVRenderer N/A PandasBaseRenderer N/A N/A 
    Renders data frame as CSV
     N/A media_type text/csv N/A format csv get_pandas_kwargs N/A N/A self data renderer_context N/A N/A N/A N/A encoding N/A self charset N/A N/A PandasTextRenderer N/A PandasCSVRenderer N/A N/A 
    Renders data frame as CSV, but uses text/plain as media type
     N/A media_type text/plain N/A format txt N/A function to_csv N/A PandasJSONRenderer N/A PandasBaseRenderer N/A N/A 
    Renders data frame as JSON
     N/A media_type application/json N/A format json get_pandas_kwargs N/A N/A self data renderer_context N/A N/A N/A request N/A renderer_context N/A request N/A orient N/A N/A N/A request GET get orient N/A date_format N/A N/A N/A request GET get date_format N/A N/A orient N/A split records index columns values N/A N/A orient records N/A N/A date_format N/A epoch iso N/A N/A date_format iso N/A N/A orient date_format orient date_format N/A N/A PandasExcelRenderer N/A PandasFileRenderer N/A N/A 
    Renders data frame as Excel (.xlsx)
     N/A media_type application/vnd.openxmlformats-officedocument.spreadsheetml.sheet N/A format xlsx N/A function to_excel N/A PandasOldExcelRenderer N/A PandasFileRenderer N/A N/A 
    Renders data frame as Excel (.xls)
     N/A media_type application/vnd.ms-excel N/A format xls N/A function to_excel N/A PandasImageRenderer N/A PandasBaseRenderer N/A N/A 
    Renders dataframe using built-in plot() function
     N/A function plot init_output N/A N/A self N/A N/A N/A matplotlib.pyplot plt N/A N/A self fig N/A N/A plt figure N/A N/A self ax N/A N/A N/A self fig add_subplot 111 N/A get_pandas_args N/A N/A self data N/A N/A N/A N/A N/A get_pandas_kwargs N/A N/A self data renderer_context N/A N/A N/A N/A ax N/A self ax N/A get_output N/A N/A self N/A N/A N/A data N/A BytesIO N/A N/A N/A N/A self fig savefig data format N/A self format N/A N/A N/A data getvalue N/A N/A PandasPNGRenderer N/A PandasImageRenderer N/A N/A media_type image/png N/A format png N/A PandasSVGRenderer N/A PandasImageRenderer N/A N/A media_type image/svg N/A format svg N/A