Skip to content

Commit 8531eb7

Browse files
committed
updated tutorial:
- added generate_data.py module to generate the example and test data - renamed 'population_session' dataset as 'demography_eurostat' - included values for years 2016 and 2017 for all arrays of 'demography_eurostat' - fix larray-project#785 - added the 'Pythonic VS String Syntax' section - updated all existing sections to include changes up to the 0.31 release version
1 parent b58d8a9 commit 8531eb7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2887
-1198
lines changed

doc/source/tutorial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ It is mainly dedicated to help new users to familiarize with it and others to re
1818
./tutorial/tutorial_transforming.ipynb
1919
./tutorial/tutorial_indexing.ipynb
2020
./tutorial/tutorial_arithmetic_op_and_aggregation.ipynb
21+
./tutorial/tutorial_string_syntax.ipynb
2122
./tutorial/tutorial_plotting.ipynb
2223
./tutorial/tutorial_miscellaneous.ipynb
2324
./tutorial/tutorial_sessions.ipynb

doc/source/tutorial/tutorial_IO.ipyml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -574,17 +574,17 @@ cells:
574574
- code: |
575575
# create a new Session object and load all arrays, axes, groups and metadata
576576
# from all CSV files located in the passed directory
577-
csv_dir = get_example_filepath('population_session')
577+
csv_dir = get_example_filepath('demography_eurostat')
578578
session = Session(csv_dir)
579579

580580
# create a new Session object and load all arrays, axes, groups and metadata
581581
# stored in the passed Excel file
582-
filepath_excel = get_example_filepath('population_session.xlsx')
582+
filepath_excel = get_example_filepath('demography_eurostat.xlsx')
583583
session = Session(filepath_excel)
584584

585585
# create a new Session object and load all arrays, axes, groups and metadata
586586
# stored in the passed HDF5 file
587-
filepath_hdf = get_example_filepath('population_session.h5')
587+
filepath_hdf = get_example_filepath('demography_eurostat.h5')
588588
session = Session(filepath_hdf)
589589

590590
print(session.summary())

doc/source/tutorial/tutorial_IO.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,17 +835,17 @@
835835
"source": [
836836
"# create a new Session object and load all arrays, axes, groups and metadata \n",
837837
"# from all CSV files located in the passed directory\n",
838-
"csv_dir = get_example_filepath('population_session')\n",
838+
"csv_dir = get_example_filepath('demography_eurostat')\n",
839839
"session = Session(csv_dir)\n",
840840
"\n",
841841
"# create a new Session object and load all arrays, axes, groups and metadata\n",
842842
"# stored in the passed Excel file\n",
843-
"filepath_excel = get_example_filepath('population_session.xlsx')\n",
843+
"filepath_excel = get_example_filepath('demography_eurostat.xlsx')\n",
844844
"session = Session(filepath_excel)\n",
845845
"\n",
846846
"# create a new Session object and load all arrays, axes, groups and metadata\n",
847847
"# stored in the passed HDF5 file\n",
848-
"filepath_hdf = get_example_filepath('population_session.h5')\n",
848+
"filepath_hdf = get_example_filepath('demography_eurostat.h5')\n",
849849
"session = Session(filepath_hdf)\n",
850850
"\n",
851851
"print(session.summary())"

0 commit comments

Comments
 (0)