Return a test simple df
(dim: int = 4)
| 73 | |
| 74 | |
| 75 | def gen_df(dim: int = 4) -> pd.DataFrame: |
| 76 | """Return a test simple df""" |
| 77 | axis = [i for i in range(0, dim)] |
| 78 | data = {"x": axis, "y": axis} |
| 79 | return pd.DataFrame.from_dict(data) |
| 80 | |
| 81 | |
| 82 | def gen_table_df(rows: int = 4, alphabet: str = "ABCDEF") -> pd.DataFrame: |
no outgoing calls