Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 627 Bytes

File metadata and controls

7 lines (7 loc) · 627 Bytes

Code snippets for Python

Generic and reusable code snippets for specific tasks. Files starting with 'f' contain reusable function(s).

List of codes with brief description:

  • f1_create_gif_from_list_of_2Darrays.py: Create a gif from a list of 2D numpy arrays wherein each array is treated as a separate frame.
  • f2_pickle_save_load.py: Use 'pickle' module for saving or loading data in python.
  • f3_convert_excel_to_json.py: Convert an excel or csv data file into a json dictionary file.
  • f4_convert_alloy_name_string_to_composition.py: Create composition dictionary from an alloy name string.