viv/examples/frozen_import.py

24 lines
476 B
Python
Raw Permalink Normal View History

2022-12-19 23:22:23 -06:00
#!/usr/bin/env python3
"""
This import statement was generated using
`viv freeze pandas tabulate` on 2022.12.19
Using viv freeze ensures future runs of this
script will use the same essential environment
"""
2024-07-09 12:00:50 -05:00
2023-03-15 13:16:09 -05:00
__import__("viv").use(
2022-12-19 23:22:23 -06:00
"numpy==1.24.0",
"pandas==1.5.2",
"python-dateutil==2.8.2",
"pytz==2022.7",
"six==1.16.0",
"tabulate==0.9.0",
) # noqa
import pandas as pd
df = pd.DataFrame({"x": range(10), "y": range(10)})
print(df.to_markdown())