==========================
== Neural Market Trends ==
==========================

Groovy over Python?

AI Machine Learning Python

After a few frustrating events where I had some python code blow up because of dependencies, I started looking hard a using Groovy going forward.

For some simple things, Groovy and Python are very easy. For example if I wanted to read the latest sales from Park.IO and print them out, I could do the following in Python on my Mac.


import pandas as pd

df = pd.read_csv('https://park.io/orders/export.csv')

print (df)

If I tried that on my old Raspberry Pi, I’d run into dependency issues w.r.t. to Numpy not compiling correctly.

With Groovy, it’s roughly the same but no need to call a module, it’s just built in.


String getResult = new URL('https://park.io/orders/export.csv').text

print getResult

And that works on my Raspberry Pi.

Granted, I don’t really need all the multi-threading power of Java to run this simple program but the portability is nice.

Learning Python Programming the Easy Way


I picked up python programming when I needed to do something but couldn't figure out how to connect the dots. Luckily there were some great books out there that I picked up and helped accelerate my learning process.

Here is a list of book and cheatsheets I like:

comments powered by Disqus