MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / show

Method show

functional/pipeline.py:1684–1715  ·  view source on GitHub ↗

Pretty print first n rows of sequence as a table. See https://bitbucket.org/astanin/python-tabulate for details on tabulate parameters :param n: Number of rows to show :param headers: Passed to tabulate :param tablefmt: Passed to tabulate :param floa

(
        self,
        n=10,
        headers=(),
        tablefmt="simple",
        floatfmt="g",
        numalign="decimal",
        stralign="left",
        missingval="",
    )

Source from the content-addressed store, hash-verified

1682 return pandas.DataFrame.from_records(self.to_list(), columns=columns)
1683
1684 def show(
1685 self,
1686 n=10,
1687 headers=(),
1688 tablefmt="simple",
1689 floatfmt="g",
1690 numalign="decimal",
1691 stralign="left",
1692 missingval="",
1693 ):
1694 """
1695 Pretty print first n rows of sequence as a table. See
1696 https://bitbucket.org/astanin/python-tabulate for details on tabulate parameters
1697
1698 :param n: Number of rows to show
1699 :param headers: Passed to tabulate
1700 :param tablefmt: Passed to tabulate
1701 :param floatfmt: Passed to tabulate
1702 :param numalign: Passed to tabulate
1703 :param stralign: Passed to tabulate
1704 :param missingval: Passed to tabulate
1705 """
1706 formatted_seq = self.tabulate(
1707 n=n,
1708 headers=headers,
1709 tablefmt=tablefmt,
1710 floatfmt=floatfmt,
1711 numalign=numalign,
1712 stralign=stralign,
1713 missingval=missingval,
1714 )
1715 print(formatted_seq)
1716
1717 def _repr_html_(self):
1718 """

Callers 1

test_tabulateMethod · 0.80

Calls 1

tabulateMethod · 0.95

Tested by 1

test_tabulateMethod · 0.64