from IPython.display import display, HTML
from IPython.display import display_html
from itertools import chain,cycle
def display_side_by_side(*args,titles=cycle([''])):
    html_str=''
    for df,title in zip(args, chain(titles,cycle(['</br>'])) ):
        html_str+='<th style="text-align:center"><td style="vertical-align:top">'
        html_str+=f'<h2>{title}</h2>'
        html_str+=df.to_html().replace('table','table style="display:inline"')
        html_str+='</td></th>'
    display_html(html_str,raw=True)

display_side_by_side(c[:25], c[25:50], c[50:75], c[75:100])

e57cbae0bbc53a4d5bd46b459922778c33f9b484
<mask token>

<mask token>


def display_side_by_side(*args, titles=cycle([''])):
    html_str = ''
    for df, title in zip(args, chain(titles, cycle(['</br>']))):
        html_str += (
            '<th style="text-align:center"><td style="vertical-align:top">')
        html_str += f'<h2>{title}</h2>'
        html_str += df.to_html().replace('table',
            'table style="display:inline"')
        html_str += '</td></th>'
    display_html(html_str, raw=True)


<mask token>

<mask token>


def display_side_by_side(*args, titles=cycle([''])):
    html_str = ''
    for df, title in zip(args, chain(titles, cycle(['</br>']))):
        html_str += (
            '<th style="text-align:center"><td style="vertical-align:top">')
        html_str += f'<h2>{title}</h2>'
        html_str += df.to_html().replace('table',
            'table style="display:inline"')
        html_str += '</td></th>'
    display_html(html_str, raw=True)


display_side_by_side(c[:25], c[25:50], c[50:75], c[75:100])

from IPython.display import display, HTML
from IPython.display import display_html
from itertools import chain, cycle


def display_side_by_side(*args, titles=cycle([''])):
    html_str = ''
    for df, title in zip(args, chain(titles, cycle(['</br>']))):
        html_str += (
            '<th style="text-align:center"><td style="vertical-align:top">')
        html_str += f'<h2>{title}</h2>'
        html_str += df.to_html().replace('table',
            'table style="display:inline"')
        html_str += '</td></th>'
    display_html(html_str, raw=True)


display_side_by_side(c[:25], c[25:50], c[50:75], c[75:100])

from IPython.display import display, HTML
from IPython.display import display_html
from itertools import chain,cycle
def display_side_by_side(*args,titles=cycle([''])):
    html_str=''
    for df,title in zip(args, chain(titles,cycle(['</br>'])) ):
        html_str+='<th style="text-align:center"><td style="vertical-align:top">'
        html_str+=f'<h2>{title}</h2>'
        html_str+=df.to_html().replace('table','table style="display:inline"')
        html_str+='</td></th>'
    display_html(html_str,raw=True)

display_side_by_side(c[:25], c[25:50], c[50:75], c[75:100])
