Wrestling with python <script>. Added function GenerateDatasetCSV, and script for example and use.