This repository contains scripts to illustrate skills and competencies in those skills. Many of these scripts depend on my datasense package.
Python script | Description |
---|---|
anscombes_quartet.py | Anscombe's Quartet of four scatter plots and regression line in 2 x 2 grid. |
blake2_hashing.py | Examples of using Blake2 module as part of a blockchain. |
blake3_hashing.py | Examples of using Blake3 module as part of a blockchain. |
box_cox_plot.py | Create Box-Cox normality plot. |
concatenate_feather_files.py | Concatenate a directory of .feather files to create a single .feather file. |
convert_csv_to_feather.py | Convert a directory of .csv files to .feather files. |
convert_html_to_aspx.py | Convert a directory of .html files to .docx files. Convert internal .html URLs to .aspx URLs. Leaver external .html URLs as is. |
convert_html_to_docx.py | Convert a directory of .html files to .docx files. Convert internal .html URLs to .docx URLs. Leave external .html URLs as is. |
country_codes_names_domains.py | Get country codes, names, domains from a Wikipedia table and create a file. |
create_qr_code.py | Create QR codes and save as .svg and .png files. |
date_time_fstring.py | Explore date and time function with f-string. |
delete_columns.py | Delete columns based on various criteria. |
delete_rows.py | Delete rows based on various criteria. |
describe_data_file.py | Describe .csv and .feather files. |
directory_commands.py | Execute bash shell type commands in a Python script. |
discrete_event_simulation_not_simpy.py | Perform a discrete event simulation of a simple process using “sleep” rather than SimPy. |
explore_functions.py | Explore functions using inspect.signature. |
extract_date_from_list_tuple.py | Extract dates from a list or tuple of strings. |
extract_hexadecimal_from_list_tuple.py | Extract hexadecimal from a list or tuple of strings. |
extract_numbers_from_list_tuple.py | Extract numbers from a list or tuple of strings. |
extract_text_from_list_tuple.py | Extract text from a list or tuple of strings. |
feather.py | Save a DataFrame to a .feather file. Read a .feather file into a DataFrame. |
gantt_chart.py | Gantt chart |
generic_email.py | Generic email with multiple receivers, multiple attachments, plain text body; using external files |
google_drive.py | One-way synchronisation between a local directory and a Google Drive subfolder |
hashlib_sha256.py | Examples of using hashlib.py module as part of a blockchain. |
histogram.py | Histogram with bin size adjustment and tick formatting. |
linear_regression_graphics_dataframe_loc.py | Linear regression, scatter plot, fitted line, on row subsets of the independent variable |
move_directories.py | Move directories to keep history. |
normal_probability_plot.py | Create normal probability plot of a Series of data. |
passphrase_generator.py | Create random passphrases of five title-case words and a integer+character |
play_sound.py | Play an mp3 file with Python. |
pyautogui_position.py | Use PyAutoGUI to determine cursor position and screen size. |
sap_hana_to_dataframe_to_file.py | Create DataFrame and feather file fromSAP HANA view. |
scatter_plot_simple.py | Single, simple scatter plot. |
scatter_plot_labelled.py | Single, labelled scatter plot. |
scatter_plots_twin_y_axes.py | Two scatter plots, single x axis, dual y axes, labelled. |
scatter_plots_side_by_side.py | Dual, side-by-side, simple scatter plots. |
scatter_plots_side_by_side_labelled.py | Dual, side-by-side, labelled scatter plots. |
statsmodels_linear_regression.py | Linear regression, graphical analysis, confidence and prediction intervals. |
statsmodels_multiple_linear_regression.py | Multiple linear regression, confidence and prediction intervals. |
two_sample_t_test.py | Comprehensive statistical, graphical analysis of two-sample t test. |
valentine.py | Create a Valentine to your love. |
watch_directory.py | Watch a directory for new files, modified files. |
waiter_simpy_1.py | SimPy simulation of a waiter in a restaurant. 1 of 2. |
waiter_simpy_2.py | SimPy simulation of waiters, customers in a restaurant. 2 of 2. |
xbar_r_control_charts.py | XbarR control charts |
x_mr_control_charts.py | XmR control charts |
yeo_johnson_plot.py | Create Yeo-Johnson normality plot. |