<reponame>gzvulon/pydocflow<gh_stars>0
import numpy as np
import pandas as pd
import pyarrow as pa


def flow_just_for_fun(s: int, sdf):
    pass


def create_sample_dataframe():
    df = pd.DataFrame(
        {
            'one': [-1, np.nan, 2.5],
            'two': ['foo', 'bar', 'baz'],
            'three': [True, False, True]
        },
        index=list('abc'))
    table = pa.Table.from_pandas(df)
    return table


def main():
    table = create_sample_dataframe()
    print(table)


def entrypoint():
    import fire
    fire.Fire(main)


if __name__ == "__main__":
    entrypoint()

import numpy as np
import pandas as pd
import pyarrow as pa


def flow_just_for_fun(s: int, sdf):
    pass


def create_sample_dataframe():
    df = pd.DataFrame(
        {
            'one': [-1, np.nan, 2.5],
            'two': ['foo', 'bar', 'baz'],
            'three': [True, False, True]
        },
        index=list('abc'))
    table = pa.Table.from_pandas(df)
    return table


def main():
    table = create_sample_dataframe()
    print(table)


def entrypoint():
    import fire
    fire.Fire(main)


if __name__ == "__main__":
    entrypoint()