From dbce8f13e0266466f454aae2eb6aa368de3da3a9 Mon Sep 17 00:00:00 2001 From: Ruonan Wang <105281011+rnwang04@users.noreply.github.com> Date: Fri, 11 Nov 2022 16:30:15 +0800 Subject: [PATCH] Chronos : How to preprocess my data guide (#6446) * add introduction * finish basic version * update nblink * update based on comments * update css --- docs/readthedocs/source/_static/css/custom.css | 5 +++++ docs/readthedocs/source/_toc.yml | 1 + .../doc/Chronos/Howto/how_to_preprocess_my_data.nblink | 3 +++ docs/readthedocs/source/doc/Chronos/Howto/index.rst | 1 + 4 files changed, 10 insertions(+) create mode 100644 docs/readthedocs/source/doc/Chronos/Howto/how_to_preprocess_my_data.nblink diff --git a/docs/readthedocs/source/_static/css/custom.css b/docs/readthedocs/source/_static/css/custom.css index 18f909b1..c8a98675 100644 --- a/docs/readthedocs/source/_static/css/custom.css +++ b/docs/readthedocs/source/_static/css/custom.css @@ -96,4 +96,9 @@ footer.bd-footer{ /* for tables in documentation guides, vertically center rows */ .bigdl-documentation-guide-tables td{ vertical-align: middle; +} + +/* for tables in notebooks generated by pandas dataframe */ +.rendered_html table { + table-layout: auto !important; } \ No newline at end of file diff --git a/docs/readthedocs/source/_toc.yml b/docs/readthedocs/source/_toc.yml index 80f8f126..4ebc0f60 100644 --- a/docs/readthedocs/source/_toc.yml +++ b/docs/readthedocs/source/_toc.yml @@ -190,6 +190,7 @@ subtrees: - file: doc/Chronos/Howto/how_to_export_onnx_files - file: doc/Chronos/Howto/how_to_export_openvino_files - file: doc/Chronos/Howto/how_to_export_torchscript_files + - file: doc/Chronos/Howto/how_to_preprocess_my_data - file: doc/Chronos/QuickStart/index title: "Tutorials" subtrees: diff --git a/docs/readthedocs/source/doc/Chronos/Howto/how_to_preprocess_my_data.nblink b/docs/readthedocs/source/doc/Chronos/Howto/how_to_preprocess_my_data.nblink new file mode 100644 index 00000000..6a0cef76 --- /dev/null +++ b/docs/readthedocs/source/doc/Chronos/Howto/how_to_preprocess_my_data.nblink @@ -0,0 +1,3 @@ +{ + "path": "../../../../../../python/chronos/colab-notebook/howto/how_to_preprocess_my_data.ipynb" +} \ No newline at end of file diff --git a/docs/readthedocs/source/doc/Chronos/Howto/index.rst b/docs/readthedocs/source/doc/Chronos/Howto/index.rst index 059fe63c..26b01815 100644 --- a/docs/readthedocs/source/doc/Chronos/Howto/index.rst +++ b/docs/readthedocs/source/doc/Chronos/Howto/index.rst @@ -22,3 +22,4 @@ Forecasting * `Export the ONNX model files to disk `__ * `Export the OpenVINO model files to disk `__ * `Export the TorchScript model files to disk `__ +* `Preprocess my data `__