Account Share

Discover and read the best of Twitter Threads about #python

Most recents (7)
👋 Hi, friends! A couple of folks DM-ed asking about the difference between @GoogleColab and @GoogleCloud #DataLab.

📒 Both services are built with @ProjectJupyter, and look kinda similar; and both are useful for data exploration! - but that is the extent of the overlap. (1/n)
✨📒 @GoogleColab doesn’t require any setup or other @Google products to be used; though notebooks are stored on @GoogleDrive.

It’s intended primarily for interactive use- which means some long-running background processes may be stopped. It currently only supports Python. (2/n)
✨👩‍🔬#DataLab is also free to use; but allows you to analyze data using @GoogleCloud resources. You can take full advantage of scalable services such as #BigQuery and Cloud ML Engine to analyze, manipulate and visualize data.

📊 Python, SQL, and JavaScript are supported. (3/n)
Read 4 tweets
Now up: Zachary Brown, Lead Data Scientist at S&P Global on #DataScience and #OpenEducation for the enterprise. Dayjob: #AI, Sidehustle: building #digital skills using #opensource #ODSCWest @School_GC
#DigitalLiteracy - Why? Effective work today requires a lot of associated learning. @linuxfoundation @github #VersionControl #Visualization -- continuous learning is critical. Optimal tools & processes are probably not the ones you are using now (Matlab vs. Scikit-Learn)
Need an evolving understanding for what tools are available today to get your work done. If you want your business people to work with your #datascience team, they need to understand what data is and what it can do. Also helps to avoid chasing buzzwords and bling.
Read 14 tweets
The Data Engineering group at The New York Times is hiring for multiple roles #dataengineering @nytdevs
Read 4 tweets
Did Thread Reader help you today?
Support us: We are indie developers! Read more about the story
Become a 💎 Premium member ($30.00/year) and get exclusive features!
Too expensive?
Make a small donation instead. Buy us a coffee ($5) or help for the server cost ($10):
Donate with 😘 Paypal or  Become a Patron 😍 on Patreon.com
THREAD - How about a bunch of blog posts on #Space and #Astronomy? Yes, I have more than you can imagine - especially since these are really just #physics topics. Hold on - because this is going to be a bit large.
2/ Here is an answer to my fav astronomy question EVER - "What would the phases of the moon look like if the moon was a cube?" wired.com/2015/09/moon-c…
3/ The great thing about the cube moon question is that it really tests if students understand phases of the moon rather than just recalling factual stuff. Here is my python model of a cube and spherical moon
Read 70 tweets
If you're new to #python programming, welcome aboard! I've spotted a few techniques that newcomers miss out on and thus learn more slowly.
First, and most important: install and use ipython. You will learn APIs much faster with tab completion and the ability to write foo? to see documentation for foo.

The default python interpreter will slow you down.
Second, install a linter in your editor. I suggest pyflakes for newcomers. This will catch lots of silly errors and give you fast feedback on syntax.
Read 5 tweets
High level #python #tutorial thread:
Python is a high level language that runs bytecode in its virtual machine.
Everything is an object.
It supports OOP up to multiple inheritance and functional programming.
Typing is polymorphic - duck typing is preferred
A Python script is a file with a name like name.py - we indent at four spaces (it matters), comments (after #) don't execute - and is typically written like:

def main(): # function
print("Hello world")

if __name__ == '__main__': # then entry point
main()
A module is a reusable script:

"""this is a docstring at the top of the module - gives help on the module"""

import this # do imports at the top

def main(): # main at top or bottom
"""functions get docstrings too"""

if __name__... always at the bottom, assumed from now on
Read 68 tweets
learn How Compiler Works in 20 minutes xahlee.info/parser/compile…
What's the Difference Between BNF, EBNF, ABNF?
xahlee.info/parser/bnf_ebn…
#golang #haskell #lisp #python
this, still the best book on writing a compiler. Though, not as clear and broad as i thought.
there are thievery pdf versions online, but all code/formula are screwed. You better buy the real thing.
Dragon Book Table of Contents
xahlee.info/parser/dragon_…
Read 46 tweets
Related hashtags
Did Thread Reader help you today?
Support us: We are indie developers! Read more about the story
Become a 💎 Premium member ($30.00/year) and get exclusive features!
Too expensive?
Make a small donation instead. Buy us a coffee ($5) or help for the server cost ($10):
Donate with 😘 Paypal or  Become a Patron 😍 on Patreon.com