<commit_before>#jupyter nbconvert --to=notebook --config nbconvert_config.py --output "02 - Data structures.ipynb" "solved - 02 - Data structures.ipynb" 
# jupyter nbconvert --to=notebook --output "03b - Some more advanced indexing.ipynb" "solved - 03b - Some more advanced indexing.ipynb"
#jupyter nbconvert --to=notebook --config nbconvert_config.py --output "03 - Indexing and selecting data.ipynb" "solved - 03 - Indexing and selecting data.ipynb"
#jupyter nbconvert --to=notebook --config nbconvert_config.py --output "04 - Groupby operations.ipynb" "solved - 04 - Groupby operations.ipynb"


#jupyter nbconvert --to=notebook --config nbconvert_config.py --output "04b - Advanced groupby operations.ipynb" "_solved/"
#jupyter nbconvert --to=notebook --config nbconvert_config.py --output "05 - Time series data.ipynb" "solved - 05 - Time series data.ipynb"
#jupyter nbconvert --to=notebook --config nbconvert_config.py --output "06 - Reshaping data.ipynb" "solved - 06 - Reshaping data.ipynb"


declare -a arr=(
                #"00-jupyter_introduction.ipynb"
                #"01-basic.ipynb"
                #"02-control_flow.ipynb"
                #"03-functions.ipynb"
                #"04-reusing_code.ipynb"
                #"05-numpy.ipynb"
                #"python_rehearsal"
                #"pandas_01_data_structures.ipynb"
                #"pandas_02_basic_operations.ipynb" 
                #"pandas_03_selecting_data.ipynb"
                #"pandas_04_time_series_data.ipynb"
                "pandas_05_combining_datasets.ipynb"
                "pandas_06_groupby_operations.ipynb"
                "pandas_07_reshaping_data.ipynb"
                #"case1_bike_count.ipynb"
                "case2_biodiversity_cleaning.ipynb"
                "case2_biodiversity_analysis.ipynb"
                )


for i in "${arr[@]}"
do
   echo "$i"
   # or do whatever with individual element of the array
   
   jupyter nbconvert --to=notebook --config ../nbconvert_config.py --output "notebooks/$i" "$i"   
done<commit_msg>Update bash handling nbtutor<commit_after>
declare -a arr=(
                #"00-jupyter_introduction.ipynb"
                #"01-basic.ipynb"
                #"02-control_flow.ipynb"
                #"03-functions.ipynb"
                #"04-reusing_code.ipynb"
                #"05-numpy.ipynb"
                #"python_rehearsal"
                #"pandas_01_data_structures.ipynb"
                #"pandas_02_basic_operations.ipynb" 
                #"pandas_03_selecting_data.ipynb"
                #"pandas_04_time_series_data.ipynb"
                #"pandas_05_combining_datasets.ipynb"
                #"pandas_06_groupby_operations.ipynb"
                #"pandas_07_reshaping_data.ipynb"
                #"case1_bike_count.ipynb"
                #"case2_biodiversity_cleaning.ipynb"
                #"case2_biodiversity_analysis.ipynb"
                "00-jupyter_introduction.ipynb"
                "01-python-introduction.ipynb"
                "02-scientific-python-introduction.ipynb"
                "03-geopandas-appetizer.ipynb"
                "04-gis-python-vectors.ipynb"
                "05-the-power-of-gdal.ipynb"
                "06-gis-python-rasters.ipynb"
                )

#jupyter nbconvert 02-scientific-python-introduction.ipynb --to notebook --config ../nbconvert_config.py --output "../notebooks/02-scientific-python-introduction.ipynb"
for i in "${arr[@]}"
do
   echo "$i"
   # or do whatever with individual element of the array
   
   jupyter nbconvert "$i" --to notebook --config ../nbconvert_config.py --output "../notebooks/$i"
done
{'fraction_non_alphanumeric': 0.11163565676201055, 'fraction_numerical': 0.02832546514856984, 'mean_word_length': 2.1186147186147184, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4496237', 'n_tokens_mistral': 1367, 'n_tokens_neox': 1234, 'n_words': 207}