Category: Root

Python: Merge Multiple csv files into one to facilitate reporting on transaction data over time

Python: Merge Multiple csv files into one to facilitate reporting on transaction data over time

Python: Merge Multiple csv files into one to facilitate reporting on transaction data over time

Python: Merge Multiple csv files into one to facilitate reporting on transaction data over time By Sayed Ahmed Merge multiple transaction files into one. This is an extension to the article: Python: Read RBC Canada: Mastercard PDF Statement Transaction Data into CSV file By Sayed Ahmedmedium.com The Code for Merging #!/usr/bin/env python # coding: utf-8 …

Continue reading

GUROBI Optimization: Project Examples

GUROBI Optimization: Functional Code Examples: https://www.gurobi.com/resource/functional-code-examples/ Gurobi Interactive Examples: http://examples.gurobi.com/ *** ***. *** Note: Older short-notes from this site are posted on Medium: https://medium.com/@SayedAhmedCanada *** . *** *** . *** . *** . *** Sayed Ahmed BSc. Eng. in Comp. Sc. & Eng. (BUET) MSc. in Comp. Sc. (U of Manitoba, Canada) MSc. in Data …

Continue reading

Python: Read RBC Canada: Mastercard Statement Data into CSV file

Sure, you can use tools such as Adobe Acrobat to convert PDF statements to csv/xls files. This is a simple approach that you might be able to use when you do not have access to any such tools. How can this help? If you were trying to calculate based on the transactions. One application can …

Continue reading

Misc Stock Market: Crash: Bottom : Bear: Recession

Shiller PE Ratio by Month https://www.multpl.com/shiller-pe/table/by-month PE Ratio (TTM) https://www.profitspi.com/stock/view.aspx?v=stock-chart&uv=101055 Moving Averages: S&P 500 Index https://www.barchart.com/stocks/quotes/$SPX/technical-analysis Hang/San Index https://www.hsi.com.hk/eng "we are likely to see a global recession in the coming quarters." https://www.greaterfool.ca/2020/03/14/anatomy-of-bear-markets/comment-page-1/?unapproved=694043&moderation-hash=2a5261659bd9bc483fae73ca46c67007#comment-694043 "Therefore, we don’t believe any real bottom will setup before May, June or July of 2020 – after Q2 earnings are announced and …

Continue reading

Coronavirus and the Stock Market

"Finally, the news media will never keep things in perspective. Ignore them." https://www.greaterfool.ca/wp-content/uploads/2020/03/DOUG-2.jpg?x70502 https://www.greaterfool.ca/wp-content/uploads/2020/03/DOUG-3.jpg?x70502 https://www.greaterfool.ca/wp-content/uploads/2020/03/DOUG-4.jpg?x70502 https://www.greaterfool.ca/wp-content/uploads/2020/03/DOUG-5.png?x70502 Note: Older short-notes from this site are posted on Medium: https://medium.com/@SayedAhmedCanada *** . *** *** . *** . *** . *** Sayed Ahmed BSc. Eng. in Comp. Sc. & Eng. (BUET) MSc. in Comp. Sc. (U of Manitoba, Canada) …

Continue reading

Project: Optimization

Portfolio Optimization with Linear and Fixed Costs Report: https://github.com/chsasank/CVX/blob/master/Report/report.pdf Project: https://github.com/chsasank/CVX Trajectory Optimization https://github.com/zi-w/6.832-project CourseSchedulingOptimization https://github.com/BenKang34/CourseSchedulingOptimization Local search and optimization algorithms in AI https://github.com/aliarjomandbigdeli/local-search-and-optimization CS524-Group-Assignment-Optimization https://github.com/xiaohk/CS524-Group-Assignment-Optimization TOP – Timetable Optimisation Project https://people.orie.cornell.edu/mru8/orie6326/project.html Website Performance Optimization portfolio project https://github.com/baker-natalie/optimization-project Target Tracking Projects on Github https://github.com/topics/target-tracking Tracking Multiple People in a Multi-Camera Environment https://www.epfl.ch/labs/cvlab/research/research-surv/research-body-surv-index-php Appendix: Optimization Course: …

Continue reading

Python Libraries for Data Science esp. for NLP – Natural Language Processing

For NLP tasks, either you will come across these libraries or you will have to use many of these Python libraries. import nltk # tokenizer nltk.download("punkt") # stop words nltk.download("stopwords") from nltk.tokenize import TreebankWordTokenizer from nltk.tokenize import WordPunctTokenizer from nltk.tokenize import RegexpTokenizer from nltk.tokenize import sent_tokenize from nltk.corpus import stopwords import os.path import re from …

Continue reading

Misc. Plot – 4

Ref: https://www.wolframalpha.com/

Misc Plots – 3