We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[BUG]  Top Trust Score Samples produces an error
**Describe the bug**
The `Top Trust Score Samples` check produces an error. The full stack trace of the error is attached below.

**To Reproduce**
Checkout my `urlnb` branch, which is up-to-date with `main` at the moment of opening this issue, and run the `deepchecks/deepchecks/docs/source/examples/use-cases/phishing_urls.ipynb` notebook.

The full stack trace of the error is attached below.

**Expected behavior**
The `Top Trust Score Samples` check should render correctly, as it did up until now.

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/917954/149194436-bd5fbee7-1f4c-4d6d-86cd-0eb105f68436.png)
![image](https://user-images.githubusercontent.com/917954/149194477-9ca2dbe1-db5c-4224-b738-8d50d62e9045.png)


**Environment (please complete the following information):**
 - OS: macOS Big Sur 11.6.1 
 - Python Version: 3.8.5
 - Deepchecks Version: Latest commit on the `urlnb` branch.

**Additional context**
Log here:
```python
Top Trust Score Samples
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/IPython/core/formatters.py in __call__(self, obj)
    916             method = get_real_method(obj, self.print_method)
    917             if method is not None:
--> 918                 method()
    919                 return True
    920 

~/clones/deepchecks/deepchecks/base/suite.py in _ipython_display_(self)
     42 
     43     def _ipython_display_(self):
---> 44         display_suite_result(self.name, self.results)
     45 
     46     def show(self):

~/clones/deepchecks/deepchecks/base/display_suite.py in display_suite_result(suite_name, results)
    140     if display_table:
    141         for i, r in enumerate(display_table):
--> 142             r.show(show_conditions=False, unique_id=unique_id)
    143             if i < len(display_table) - 1:
    144                 display_html(light_hr, raw=True)

~/clones/deepchecks/deepchecks/base/check.py in show(self, show_conditions, unique_id)
    173         """Display check result."""
    174         if is_ipython_display():
--> 175             self._ipython_display_(show_conditions=show_conditions, unique_id=unique_id)
    176         else:
    177             print(self)

~/clones/deepchecks/deepchecks/base/check.py in _ipython_display_(self, show_conditions, unique_id)
    103         for item in self.display:
    104             if isinstance(item, (pd.DataFrame, Styler)):
--> 105                 display_dataframe(item)
    106             elif isinstance(item, str):
    107                 display_html(item, raw=True)

~/clones/deepchecks/deepchecks/base/display_pandas.py in display_dataframe(df)
     29         df (Union[pd.DataFrame, Styler]): Dataframe to display
     30     """
---> 31     display_html(dataframe_to_html(df), raw=True)
     32 
     33 

~/clones/deepchecks/deepchecks/base/display_pandas.py in dataframe_to_html(df)
     53         # https://developer.mozilla.org/en-US/docs/Web/CSS/white-space#values
     54         df_styler.set_properties(**{'white-space': 'pre-wrap'})
---> 55         return df_styler.render()
     56     # Because of MLC-154. Dataframe with Multi-index or non unique indices does not have a style
     57     # attribute, hence we need to display as a regular pd html format.

~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/pandas/io/formats/style.py in render(self, sparse_index, sparse_columns, **kwargs)
    270         if sparse_columns is None:
    271             sparse_columns = get_option("styler.sparse.columns")
--> 272         return self._render_html(sparse_index, sparse_columns, **kwargs)
    273 
    274     def set_tooltips(

~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/pandas/io/formats/style_render.py in _render_html(self, sparse_index, sparse_columns, **kwargs)
    119         Generates a dict with necessary kwargs passed to jinja2 template.
    120         """
--> 121         self._compute()
    122         # TODO: namespace all the pandas keys
    123         d = self._translate(sparse_index, sparse_columns)

~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/pandas/io/formats/style_render.py in _compute(self)
    158         r = self
    159         for func, args, kwargs in self._todo:
--> 160             r = func(self)(*args, **kwargs)
    161         return r
    162 

~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/pandas/io/formats/style.py in _applymap(self, func, subset, **kwargs)
   1171         subset = non_reducing_slice(subset)
   1172         result = self.data.loc[subset].applymap(func)
-> 1173         self._update_ctx(result)
   1174         return self
   1175 

~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/pandas/io/formats/style.py in _update_ctx(self, attrs)
    953         """
    954         if not self.index.is_unique or not self.columns.is_unique:
--> 955             raise KeyError(
    956                 "`Styler.apply` and `.applymap` are not compatible "
    957                 "with non-unique index or columns."

KeyError: '`Styler.apply` and `.applymap` are not compatible with non-unique index or columns.'

Model Evaluation Suite
```


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `deepchecks/base/display_pandas.py`
Content:
```
1 # ----------------------------------------------------------------------------
2 # Copyright (C) 2021 Deepchecks (https://www.deepchecks.com)
3 #
4 # This file is part of Deepchecks.
5 # Deepchecks is distributed under the terms of the GNU Affero General
6 # Public License (version 3 or later).
7 # You should have received a copy of the GNU Affero General Public License
8 # along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.
9 # ----------------------------------------------------------------------------
10 #
11 """Handle displays of pandas objects."""
12 from typing import List, Union
13 import warnings
14 
15 from IPython.core.display import display_html
16 import pandas as pd
17 from pandas.io.formats.style import Styler
18 
19 from . import check  # pylint: disable=unused-import
20 
21 
22 __all__ = ['display_dataframe', 'dataframe_to_html', 'display_conditions_table']
23 
24 
25 def display_dataframe(df: Union[pd.DataFrame, Styler]):
26     """Display in IPython given dataframe.
27 
28     Args:
29         df (Union[pd.DataFrame, Styler]): Dataframe to display
30     """
31     display_html(dataframe_to_html(df), raw=True)
32 
33 
34 def dataframe_to_html(df: Union[pd.DataFrame, Styler]):
35     """Convert dataframe to html.
36 
37     Args:
38         df (Union[pd.DataFrame, Styler]): Dataframe to convert to html
39     """
40     try:
41         if isinstance(df, pd.DataFrame):
42             df_styler = df.style
43         else:
44             df_styler = df
45         # Using deprecated pandas method so hiding the warning
46         with warnings.catch_warnings():
47             warnings.simplefilter(action='ignore', category=FutureWarning)
48             df_styler.set_precision(2)
49 
50         # Align everything to the left
51         df_styler.set_table_styles([dict(selector='table,thead,tbody,th,td', props=[('text-align', 'left')])])
52         # Define how to handle white space characters (like \n)
53         # https://developer.mozilla.org/en-US/docs/Web/CSS/white-space#values
54         df_styler.set_properties(**{'white-space': 'pre-wrap'})
55         return df_styler.render()
56     # Because of MLC-154. Dataframe with Multi-index or non unique indices does not have a style
57     # attribute, hence we need to display as a regular pd html format.
58     except ValueError:
59         return df.to_html()
60 
61 
62 def display_conditions_table(check_results: Union['check.CheckResult', List['check.CheckResult']],
63                              unique_id=None):
64     """Display the conditions table as DataFrame.
65 
66     Args:
67         check_results (Union['CheckResult', List['CheckResult']]): check results to show conditions of.
68         unique_id (str): the unique id to append for the check names to create links
69                               (won't create links if None/empty).
70     """
71     if not isinstance(check_results, List):
72         show_check_column = False
73         check_results = [check_results]
74     else:
75         show_check_column = True
76 
77     table = []
78     for check_result in check_results:
79         for cond_result in check_result.conditions_results:
80             sort_value = cond_result.priority
81             icon = cond_result.get_icon()
82             check_header = check_result.get_header()
83             if unique_id and check_result.have_display():
84                 check_id = f'{check_result.check.__class__.__name__}_{unique_id}'
85                 link = f'<a href=#{check_id}>{check_header}</a>'
86             else:
87                 link = check_header
88                 sort_value = 1 if sort_value == 1 else 5  # if it failed but has no display still show on top
89             table.append([icon, link, cond_result.name,
90                          cond_result.details, sort_value])
91 
92     conditions_table = pd.DataFrame(data=table,
93                                     columns=['Status', 'Check', 'Condition', 'More Info', 'sort'])
94     conditions_table.sort_values(by=['sort'], inplace=True)
95     conditions_table.drop('sort', axis=1, inplace=True)
96     if show_check_column is False:
97         conditions_table.drop('Check', axis=1, inplace=True)
98     display_dataframe(conditions_table.style.hide_index())
99
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/deepchecks/base/display_pandas.py b/deepchecks/base/display_pandas.py
--- a/deepchecks/base/display_pandas.py
+++ b/deepchecks/base/display_pandas.py
@@ -47,11 +47,11 @@
             warnings.simplefilter(action='ignore', category=FutureWarning)
             df_styler.set_precision(2)
 
-        # Align everything to the left
-        df_styler.set_table_styles([dict(selector='table,thead,tbody,th,td', props=[('text-align', 'left')])])
-        # Define how to handle white space characters (like \n)
-        # https://developer.mozilla.org/en-US/docs/Web/CSS/white-space#values
-        df_styler.set_properties(**{'white-space': 'pre-wrap'})
+        table_css_props = [
+            ('text-align', 'left'),  # Align everything to the left
+            ('white-space', 'pre-wrap')  # Define how to handle white space characters (like \n)
+        ]
+        df_styler.set_table_styles([dict(selector='table,thead,tbody,th,td', props=table_css_props)])
         return df_styler.render()
     # Because of MLC-154. Dataframe with Multi-index or non unique indices does not have a style
     # attribute, hence we need to display as a regular pd html format.

{"golden_diff": "diff --git a/deepchecks/base/display_pandas.py b/deepchecks/base/display_pandas.py\n--- a/deepchecks/base/display_pandas.py\n+++ b/deepchecks/base/display_pandas.py\n@@ -47,11 +47,11 @@\n             warnings.simplefilter(action='ignore', category=FutureWarning)\n             df_styler.set_precision(2)\n \n-        # Align everything to the left\n-        df_styler.set_table_styles([dict(selector='table,thead,tbody,th,td', props=[('text-align', 'left')])])\n-        # Define how to handle white space characters (like \\n)\n-        # https://developer.mozilla.org/en-US/docs/Web/CSS/white-space#values\n-        df_styler.set_properties(**{'white-space': 'pre-wrap'})\n+        table_css_props = [\n+            ('text-align', 'left'),  # Align everything to the left\n+            ('white-space', 'pre-wrap')  # Define how to handle white space characters (like \\n)\n+        ]\n+        df_styler.set_table_styles([dict(selector='table,thead,tbody,th,td', props=table_css_props)])\n         return df_styler.render()\n     # Because of MLC-154. Dataframe with Multi-index or non unique indices does not have a style\n     # attribute, hence we need to display as a regular pd html format.\n", "issue": "[BUG]  Top Trust Score Samples produces an error\n**Describe the bug**\r\nThe `Top Trust Score Samples` check produces an error. The full stack trace of the error is attached below.\r\n\r\n**To Reproduce**\r\nCheckout my `urlnb` branch, which is up-to-date with `main` at the moment of opening this issue, and run the `deepchecks/deepchecks/docs/source/examples/use-cases/phishing_urls.ipynb` notebook.\r\n\r\nThe full stack trace of the error is attached below.\r\n\r\n**Expected behavior**\r\nThe `Top Trust Score Samples` check should render correctly, as it did up until now.\r\n\r\n**Screenshots**\r\nIf applicable, add screenshots to help explain your problem.\r\n![image](https://user-images.githubusercontent.com/917954/149194436-bd5fbee7-1f4c-4d6d-86cd-0eb105f68436.png)\r\n![image](https://user-images.githubusercontent.com/917954/149194477-9ca2dbe1-db5c-4224-b738-8d50d62e9045.png)\r\n\r\n\r\n**Environment (please complete the following information):**\r\n - OS: macOS Big Sur 11.6.1 \r\n - Python Version: 3.8.5\r\n - Deepchecks Version: Latest commit on the `urlnb` branch.\r\n\r\n**Additional context**\r\nLog here:\r\n```python\r\nTop Trust Score Samples\r\n---------------------------------------------------------------------------\r\nKeyError                                  Traceback (most recent call last)\r\n~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/IPython/core/formatters.py in __call__(self, obj)\r\n    916             method = get_real_method(obj, self.print_method)\r\n    917             if method is not None:\r\n--> 918                 method()\r\n    919                 return True\r\n    920 \r\n\r\n~/clones/deepchecks/deepchecks/base/suite.py in _ipython_display_(self)\r\n     42 \r\n     43     def _ipython_display_(self):\r\n---> 44         display_suite_result(self.name, self.results)\r\n     45 \r\n     46     def show(self):\r\n\r\n~/clones/deepchecks/deepchecks/base/display_suite.py in display_suite_result(suite_name, results)\r\n    140     if display_table:\r\n    141         for i, r in enumerate(display_table):\r\n--> 142             r.show(show_conditions=False, unique_id=unique_id)\r\n    143             if i < len(display_table) - 1:\r\n    144                 display_html(light_hr, raw=True)\r\n\r\n~/clones/deepchecks/deepchecks/base/check.py in show(self, show_conditions, unique_id)\r\n    173         \"\"\"Display check result.\"\"\"\r\n    174         if is_ipython_display():\r\n--> 175             self._ipython_display_(show_conditions=show_conditions, unique_id=unique_id)\r\n    176         else:\r\n    177             print(self)\r\n\r\n~/clones/deepchecks/deepchecks/base/check.py in _ipython_display_(self, show_conditions, unique_id)\r\n    103         for item in self.display:\r\n    104             if isinstance(item, (pd.DataFrame, Styler)):\r\n--> 105                 display_dataframe(item)\r\n    106             elif isinstance(item, str):\r\n    107                 display_html(item, raw=True)\r\n\r\n~/clones/deepchecks/deepchecks/base/display_pandas.py in display_dataframe(df)\r\n     29         df (Union[pd.DataFrame, Styler]): Dataframe to display\r\n     30     \"\"\"\r\n---> 31     display_html(dataframe_to_html(df), raw=True)\r\n     32 \r\n     33 \r\n\r\n~/clones/deepchecks/deepchecks/base/display_pandas.py in dataframe_to_html(df)\r\n     53         # https://developer.mozilla.org/en-US/docs/Web/CSS/white-space#values\r\n     54         df_styler.set_properties(**{'white-space': 'pre-wrap'})\r\n---> 55         return df_styler.render()\r\n     56     # Because of MLC-154. Dataframe with Multi-index or non unique indices does not have a style\r\n     57     # attribute, hence we need to display as a regular pd html format.\r\n\r\n~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/pandas/io/formats/style.py in render(self, sparse_index, sparse_columns, **kwargs)\r\n    270         if sparse_columns is None:\r\n    271             sparse_columns = get_option(\"styler.sparse.columns\")\r\n--> 272         return self._render_html(sparse_index, sparse_columns, **kwargs)\r\n    273 \r\n    274     def set_tooltips(\r\n\r\n~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/pandas/io/formats/style_render.py in _render_html(self, sparse_index, sparse_columns, **kwargs)\r\n    119         Generates a dict with necessary kwargs passed to jinja2 template.\r\n    120         \"\"\"\r\n--> 121         self._compute()\r\n    122         # TODO: namespace all the pandas keys\r\n    123         d = self._translate(sparse_index, sparse_columns)\r\n\r\n~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/pandas/io/formats/style_render.py in _compute(self)\r\n    158         r = self\r\n    159         for func, args, kwargs in self._todo:\r\n--> 160             r = func(self)(*args, **kwargs)\r\n    161         return r\r\n    162 \r\n\r\n~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/pandas/io/formats/style.py in _applymap(self, func, subset, **kwargs)\r\n   1171         subset = non_reducing_slice(subset)\r\n   1172         result = self.data.loc[subset].applymap(func)\r\n-> 1173         self._update_ctx(result)\r\n   1174         return self\r\n   1175 \r\n\r\n~/.pyenv/versions/3.8.5/envs/py3/lib/python3.8/site-packages/pandas/io/formats/style.py in _update_ctx(self, attrs)\r\n    953         \"\"\"\r\n    954         if not self.index.is_unique or not self.columns.is_unique:\r\n--> 955             raise KeyError(\r\n    956                 \"`Styler.apply` and `.applymap` are not compatible \"\r\n    957                 \"with non-unique index or columns.\"\r\n\r\nKeyError: '`Styler.apply` and `.applymap` are not compatible with non-unique index or columns.'\r\n\r\nModel Evaluation Suite\r\n```\r\n\n", "before_files": [{"content": "# ----------------------------------------------------------------------------\n# Copyright (C) 2021 Deepchecks (https://www.deepchecks.com)\n#\n# This file is part of Deepchecks.\n# Deepchecks is distributed under the terms of the GNU Affero General\n# Public License (version 3 or later).\n# You should have received a copy of the GNU Affero General Public License\n# along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.\n# ----------------------------------------------------------------------------\n#\n\"\"\"Handle displays of pandas objects.\"\"\"\nfrom typing import List, Union\nimport warnings\n\nfrom IPython.core.display import display_html\nimport pandas as pd\nfrom pandas.io.formats.style import Styler\n\nfrom . import check  # pylint: disable=unused-import\n\n\n__all__ = ['display_dataframe', 'dataframe_to_html', 'display_conditions_table']\n\n\ndef display_dataframe(df: Union[pd.DataFrame, Styler]):\n    \"\"\"Display in IPython given dataframe.\n\n    Args:\n        df (Union[pd.DataFrame, Styler]): Dataframe to display\n    \"\"\"\n    display_html(dataframe_to_html(df), raw=True)\n\n\ndef dataframe_to_html(df: Union[pd.DataFrame, Styler]):\n    \"\"\"Convert dataframe to html.\n\n    Args:\n        df (Union[pd.DataFrame, Styler]): Dataframe to convert to html\n    \"\"\"\n    try:\n        if isinstance(df, pd.DataFrame):\n            df_styler = df.style\n        else:\n            df_styler = df\n        # Using deprecated pandas method so hiding the warning\n        with warnings.catch_warnings():\n            warnings.simplefilter(action='ignore', category=FutureWarning)\n            df_styler.set_precision(2)\n\n        # Align everything to the left\n        df_styler.set_table_styles([dict(selector='table,thead,tbody,th,td', props=[('text-align', 'left')])])\n        # Define how to handle white space characters (like \\n)\n        # https://developer.mozilla.org/en-US/docs/Web/CSS/white-space#values\n        df_styler.set_properties(**{'white-space': 'pre-wrap'})\n        return df_styler.render()\n    # Because of MLC-154. Dataframe with Multi-index or non unique indices does not have a style\n    # attribute, hence we need to display as a regular pd html format.\n    except ValueError:\n        return df.to_html()\n\n\ndef display_conditions_table(check_results: Union['check.CheckResult', List['check.CheckResult']],\n                             unique_id=None):\n    \"\"\"Display the conditions table as DataFrame.\n\n    Args:\n        check_results (Union['CheckResult', List['CheckResult']]): check results to show conditions of.\n        unique_id (str): the unique id to append for the check names to create links\n                              (won't create links if None/empty).\n    \"\"\"\n    if not isinstance(check_results, List):\n        show_check_column = False\n        check_results = [check_results]\n    else:\n        show_check_column = True\n\n    table = []\n    for check_result in check_results:\n        for cond_result in check_result.conditions_results:\n            sort_value = cond_result.priority\n            icon = cond_result.get_icon()\n            check_header = check_result.get_header()\n            if unique_id and check_result.have_display():\n                check_id = f'{check_result.check.__class__.__name__}_{unique_id}'\n                link = f'<a href=#{check_id}>{check_header}</a>'\n            else:\n                link = check_header\n                sort_value = 1 if sort_value == 1 else 5  # if it failed but has no display still show on top\n            table.append([icon, link, cond_result.name,\n                         cond_result.details, sort_value])\n\n    conditions_table = pd.DataFrame(data=table,\n                                    columns=['Status', 'Check', 'Condition', 'More Info', 'sort'])\n    conditions_table.sort_values(by=['sort'], inplace=True)\n    conditions_table.drop('sort', axis=1, inplace=True)\n    if show_check_column is False:\n        conditions_table.drop('Check', axis=1, inplace=True)\n    display_dataframe(conditions_table.style.hide_index())\n", "path": "deepchecks/base/display_pandas.py"}], "after_files": [{"content": "# ----------------------------------------------------------------------------\n# Copyright (C) 2021 Deepchecks (https://www.deepchecks.com)\n#\n# This file is part of Deepchecks.\n# Deepchecks is distributed under the terms of the GNU Affero General\n# Public License (version 3 or later).\n# You should have received a copy of the GNU Affero General Public License\n# along with Deepchecks.  If not, see <http://www.gnu.org/licenses/>.\n# ----------------------------------------------------------------------------\n#\n\"\"\"Handle displays of pandas objects.\"\"\"\nfrom typing import List, Union\nimport warnings\n\nfrom IPython.core.display import display_html\nimport pandas as pd\nfrom pandas.io.formats.style import Styler\n\nfrom . import check  # pylint: disable=unused-import\n\n\n__all__ = ['display_dataframe', 'dataframe_to_html', 'display_conditions_table']\n\n\ndef display_dataframe(df: Union[pd.DataFrame, Styler]):\n    \"\"\"Display in IPython given dataframe.\n\n    Args:\n        df (Union[pd.DataFrame, Styler]): Dataframe to display\n    \"\"\"\n    display_html(dataframe_to_html(df), raw=True)\n\n\ndef dataframe_to_html(df: Union[pd.DataFrame, Styler]):\n    \"\"\"Convert dataframe to html.\n\n    Args:\n        df (Union[pd.DataFrame, Styler]): Dataframe to convert to html\n    \"\"\"\n    try:\n        if isinstance(df, pd.DataFrame):\n            df_styler = df.style\n        else:\n            df_styler = df\n        # Using deprecated pandas method so hiding the warning\n        with warnings.catch_warnings():\n            warnings.simplefilter(action='ignore', category=FutureWarning)\n            df_styler.set_precision(2)\n\n        table_css_props = [\n            ('text-align', 'left'),  # Align everything to the left\n            ('white-space', 'pre-wrap')  # Define how to handle white space characters (like \\n)\n        ]\n        df_styler.set_table_styles([dict(selector='table,thead,tbody,th,td', props=table_css_props)])\n        return df_styler.render()\n    # Because of MLC-154. Dataframe with Multi-index or non unique indices does not have a style\n    # attribute, hence we need to display as a regular pd html format.\n    except ValueError:\n        return df.to_html()\n\n\ndef display_conditions_table(check_results: Union['check.CheckResult', List['check.CheckResult']],\n                             unique_id=None):\n    \"\"\"Display the conditions table as DataFrame.\n\n    Args:\n        check_results (Union['CheckResult', List['CheckResult']]): check results to show conditions of.\n        unique_id (str): the unique id to append for the check names to create links\n                              (won't create links if None/empty).\n    \"\"\"\n    if not isinstance(check_results, List):\n        show_check_column = False\n        check_results = [check_results]\n    else:\n        show_check_column = True\n\n    table = []\n    for check_result in check_results:\n        for cond_result in check_result.conditions_results:\n            sort_value = cond_result.priority\n            icon = cond_result.get_icon()\n            check_header = check_result.get_header()\n            if unique_id and check_result.have_display():\n                check_id = f'{check_result.check.__class__.__name__}_{unique_id}'\n                link = f'<a href=#{check_id}>{check_header}</a>'\n            else:\n                link = check_header\n                sort_value = 1 if sort_value == 1 else 5  # if it failed but has no display still show on top\n            table.append([icon, link, cond_result.name,\n                         cond_result.details, sort_value])\n\n    conditions_table = pd.DataFrame(data=table,\n                                    columns=['Status', 'Check', 'Condition', 'More Info', 'sort'])\n    conditions_table.sort_values(by=['sort'], inplace=True)\n    conditions_table.drop('sort', axis=1, inplace=True)\n    if show_check_column is False:\n        conditions_table.drop('Check', axis=1, inplace=True)\n    display_dataframe(conditions_table.style.hide_index())\n", "path": "deepchecks/base/display_pandas.py"}]}