From da3e943dfb7e9f676e276e2af5297b2bbabca868 Mon Sep 17 00:00:00 2001 From: philipMartini <45294280+philipMartini@users.noreply.github.com> Date: Sun, 21 Mar 2021 13:02:37 +0100 Subject: [PATCH] Update README.rst --- README.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 959cef0..02ccd6e 100644 --- a/README.rst +++ b/README.rst @@ -19,7 +19,7 @@ Implementing your own data importer | to import data in csv format. The net in exam has three ternary nodes and no prior net structure. | Suppose the trajectories that have to be inported have this structure: .. image:: docs-out/esempio_dataset.png - :width: 400 + :width: 600 :alt: An example trajectory to be imported. | In the read_csv_file method the data are imported in memory, put in a list and assigned to the _df_samples_list class | member, so that it contains all the trajectories to be processed. @@ -34,7 +34,11 @@ Implementing your own data importer .. code-block:: python + import pandas as pd + import typing + from PyCTBN import AbstractImporter + from PyCTBN import SamplePath class CSVImporter(AbstractImporter):