# Path: rest_pandas/renderers.py
# class PandasCSVRenderer(PandasBaseRenderer):
#     """
#     Renders data frame as CSV
#     """
#     media_type = "text/csv"
#     format = "csv"
# 
#     def get_pandas_kwargs(self, data, renderer_context):
#         return {'encoding': self.charset}


from rest_pandas.renderers import PandasCSVRenderer


class CustomCSVRenderer(PandasCSVRenderer):
    def get_pandas_kwargs(self, data, renderer_context):
        kwargs = super(CustomCSVRenderer, self).get_pandas_kwargs(
            data, renderer_context

# Path: rest_pandas/renderers.py
# class PandasCSVRenderer(PandasBaseRenderer):
#     """
#     Renders data frame as CSV
#     """
#     media_type = "text/csv"
#     format = "csv"
# 
#     def get_pandas_kwargs(self, data, renderer_context):
#         return {'encoding': self.charset}


# Path: tests/testapp/renderers.py
from rest_pandas.renderers import PandasCSVRenderer



class CustomCSVRenderer(PandasCSVRenderer):
    def get_pandas_kwargs(self, data, renderer_context):
        kwargs = super(CustomCSVRenderer, self).get_pandas_kwargs(
            data, renderer_context

        )