Installing Python for financial data science

Installing Python for financial data science

What's the most important part of a holiday? Well, if you can't get to the airport on time, it's unlikely you'll be going anywhere. When it comes to learning Python, the most important thing is to install Python in the first place!

So how do you install Python, together with all the libraries you might need for financial data science? You could avoid installing Python on your own machine, and use something like Google Colab, which is a Jupyter notebook already setup on the cloud or something like Repl.it, which is another online Python option. In many online installations of Python, you might not necessarily have all the libraries you want installed, so you'll have to install them in addition though using tools like pip or conda which we discuss later.

Installing Python on your own machine (or a cloud machine)

There are many Python distributions you could use (and I have to admit I haven't used them all!), and you might find there's often already one installed on your computer. Whenever I teach Python, I tend to recommend downloading and installing the Anaconda Python distribution. One reason is that it's already got a lot of data science libraries included in the standard Anaconda installation. It also has a few GUI tools, although I must admit, I tend to prefer just to use command line tools (which are much quicker).

pip vs conda to install Python packages

Whatever Python distribution you choose to use, it's likely you'll need to install additional libraries....

To read the rest of the article on the Cuemacro website, please click here!

Sahand Haji Ali Ahmad, PhD

Systematic Trader (Quant-Algo) , Cofounder and CEO of Causal Experts

4 年

Does it make a difference to install a pa lage with pip, conda or mamba?

要查看或添加评论,请登录

Saeed Amen的更多文章

  • Learning from running financial models live

    Learning from running financial models live

    Let's say you are the world's best burger chef (we all have ambitions, right). You'd be serving up all manner of…

    1 条评论
  • DeepSeek, objectives and constraints

    DeepSeek, objectives and constraints

    When a new burger joint opens up, there's often a buzz. Everyone (well, at least me) wants to try the new burger.

    1 条评论
  • Hundreds of quant papers from #QuantLinkADay in 2024

    Hundreds of quant papers from #QuantLinkADay in 2024

    I tweet a lot (from @saeedamenfx and at BlueSky at @saeedamenfx.bsky.

  • What we’ve learnt from reading thousands of Fed communications

    What we’ve learnt from reading thousands of Fed communications

    We recently had the last FOMC decision of 2024. Market l participants reacted to the hawkish tone including Powell’s…

    1 条评论
  • Takeaways from QuantMinds 2024 in London

    Takeaways from QuantMinds 2024 in London

    Over the past years, the quant industry has changed substantially. My first visit to Global Derivatives was just over a…

    12 条评论
  • Takeaways from Web Summit 2024

    Takeaways from Web Summit 2024

    Think of Lisbon and no doubt it’ll conjure images of explorers setting sail in centuries past across the ocean, the…

    1 条评论
  • FILS Europe 2024 Takeaways

    FILS Europe 2024 Takeaways

    Paris is home to many things, the Eiffel Tower, the Arc de Triomphe, burgers (ok, I made that one up!). In recent…

    4 条评论
  • Don't look back in hangar steak

    Don't look back in hangar steak

    I'm currently in the queue for Oasis tickets. Rather than mindlessly watching the counter of people in the queue ahead…

    5 条评论
  • The Olympic spirit for forecasting

    The Olympic spirit for forecasting

    The Olympics finally finished, and the Paralympics are about to begin. I managed to go to some of the Olympic football…

  • Eleven years of independence

    Eleven years of independence

    Regrets become ever more edged with the passing of time. Recalling a time long gone, when perhaps a decision made, was…

    5 条评论

社区洞察

其他会员也浏览了