def write_examples(maker):
maker.set_indent_level(0)
maker.write_chapter("Examples")
examples_root = Path("pages").joinpath("examples")
maker.inc_indent_level()
maker.write_chapter("Load a CSV table")
maker.write_file(examples_root.joinpath("load_csv.txt"))
maker.write_chapter("Get loaded table data as pandas.DataFrame instance")
maker.write_file(examples_root.joinpath("as_dataframe.txt"))
maker.write_chapter("For more information")
maker.write_line_list([
"More examples are available at ",
"http://{:s}.rtfd.io/en/latest/pages/examples/index.html".format(
PROJECT_NAME),
])
评论列表
文章目录