class_docstr: Generate a profile report from a Dataset stored as a pandas `DataFrame`.
  
  Used as is, it will output its content as an HTML report in a Jupyter notebook.
class_docstr_tok: ["Generate","a","profile","report","from","a","Dataset","stored","as","a","pandas","`","DataFrame","`",".","Used","as","is",",","it","will","output","its","content","as","an","HTML","report","in","a","Jupyter","notebook","."]
docstr: Get duplicate rows and counts based on the configuration
  
  Returns:
      A DataFrame with the duplicate rows and their counts.
code: def get_duplicates(self) -> Optional[pd.DataFrame]:
      """Get duplicate rows and counts based on the configuration
  
      Returns:
          A DataFrame with the duplicate rows and their counts.
      """
      return self.description_set.duplicates
  
imports: import copy
  import json
  import warnings
  from pathlib import Path
  from typing import Any, Optional, Union
  from dataclasses import asdict, is_dataclass
  import numpy
  import pandas
  from tqdm.auto import tqdm
  from typeguard import typechecked
  from visions import VisionsTypeset
  from ydata_profiling.config import Config, Settings, SparkSettings
  from ydata_profiling.expectations_report import ExpectationsReport
  from ydata_profiling.model import BaseDescription
  from ydata_profiling.model.alerts import AlertType
  from ydata_profiling.model.describe import describe
  from ydata_profiling.model.sample import Sample
  from ydata_profiling.model.summarizer import BaseSummarizer, PandasProfilingSummarizer, format_summary, redact_summary
  from ydata_profiling.model.typeset import ProfilingTypeSet
  from ydata_profiling.report import get_report_structure
  from ydata_profiling.report.presentation.core import Root
  from ydata_profiling.report.presentation.flavours.html.templates import create_html_assets
  from ydata_profiling.serialize_report import SerializeReport
  from ydata_profiling.utils.dataframe import hash_dataframe
  from ydata_profiling.utils.paths import get_config
label_desc: Use image node_id 13 for calling the ProfileReport obj's underlying member method code with example usage: obj.get_duplicates() and returns: self