Skip to content

Commit 14ec0bc

Browse files
committed
docs: remove a duplicate code block
1 parent 0cb0a04 commit 14ec0bc

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

docs/source/examples/resample_example.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@ given enough datapoints.
2323
Each data table has two columns: first is the grid and second is the function value.
2424
To extract the columns, we can utilize the serialize function ...
2525

26-
.. code-block:: python
27-
28-
from diffpy.utils.parsers.serialization import serialize_data
29-
nickel_data = serialize_data('Nickel.gr', {}, nickel_datatable, dt_colnames=['grid', 'func'])
30-
nickel_grid = nickel_data['Nickel.gr']['grid']
31-
nickel_func = nickel_data['Nickel.gr']['func']
32-
target_data = serialize_data('NiTarget.gr', {}, nitarget_datatable, dt_colnames=['grid', 'function'])
33-
target_grid = nickel_data['Nickel.gr']['grid']
34-
target_func = nickel_data['Nickel.gr']['func']
35-
36-
To extract the columns, we can utilize the serialize function ...
37-
3826
.. code-block:: python
3927
4028
from diffpy.utils.parsers.serialization import serialize_data

0 commit comments

Comments
 (0)