Python programmers are in hot demand in banks and hedge funds specially in India. Fortunately the language is easy to learn – it’s often used in data science. However, before your first encounter with Python there are a few things you should know – particularly if you want to use it in a finance context.
Which version to learn Python 3 or Python 2 for data science?
Note : All way learn latest programming language.
When new versions of languages come out they usually involve incremental updates, and are backwardly compatible with earlier versions. This means that all your existing code will still work. Not so with Python version 3. This included substantial changes, and doesn’t play at all well with Python 2. Weirdly Python 2 continues to be supported, with over 30 updates released since Python 3 came out nearly ten years ago. New releases of Python 2 have now stopped, but it’s still widely used in the finance industry.
Given the choice Python 3 is definitely the vintage to use on any new projects, and the newer the better – all the cool new features of later versions are worth having. However you could find yourself working with legacy Python 2 code, so it’s important to be fluent in both variants if you want to apply Python in a finance job.
Learn Python library like numpy, scipy and matplotlib
You also need to know that the core Python library is pretty lightweight. You’ll need to import pre-packaged libraries if you want to do anything interesting. These libraries incorporate functions to perform most mathematical operations, deal with calendars, import and handle data, and do common system tasks.
However the real power of Python comes when you start downloading some of the numerous, and freely available, third party libraries. For serious finance work you’ll need numpy (to handle operations on large arrays), scipy (advanced statistical and mathematical functions), and matplotlib (data visualisation). Data scientists interested in machine learning will probably want to look at tensorflow. Pandas is a must for data manipulation, and has a solid finance pedigree – it was originally developed at giant hedge fund AQR capital management.
Lazier Python users might want to check out the Anaconda distribution, which includes all of the above packages and more, in a neat pre-packaged environment.
Python is easy to learn for Data Science Job
Programmers who are used to the lightning speed of C or C++, or the relatively fast pace of Julia or Java, will find Python somewhat sluggish (although it’s still a bit quicker than R and Matlab, both popular languages in quantitative finance).
Programmers love to brag about how fast and efficient their code is, but most code doesn’t have to run that quickly. However Python will definitely be too slow when it comes to functions that are run repeatedly over large datasets or latency sensitive trading algorithims.
Fortunately it’s extremely easy to write speedy C or C++ functions, and then embed these into your Python modules. Learn how to do this too.
Get Big Data Training in Ahmedabad with Python
Finance firms looking for an edge in today’s markets are focusing on new sources of data. These alternative data sources have one thing in common – they’re big. Using Twitter feed data to predict market sentiment is a cool idea, but there are about 500 million new tweets every day. That’s an awful lot of data to store, process, and analyse.
Fortunately, Python fits neatly into the big data ecosystem with packages you can use to talk to Spark and Hadoop. Python also has APIs for NoSQL databases like MongoDB, and for all major providers of cloud storage.