One of the most useful Python libraries that you can learn is Pandas.

Especially if you want to build some skills in the data engineering or machine learning space, Pandas is crucial.

Here is what you need to know to get started right away. ↓
2. Pandas is an open-source library to analyze and manipulate data.

Some people even consider it the most powerful library to deal with data in any language!
3. A common way to use Pandas:

First, load a CSV file or a database table as a Python object.

Then, filter the data, aggregate it in any way you'd like, and do pretty much whatever you can imagine.

It's really powerful.
4. Here is a simple example:

• Creates a data frame object
• Prints it
• Computes the sum of a column
• Computes the mean of a column

Pandas implements many different functions that you can use out of the box.
5. Here is another example. It reads and filters a CSV file.

It doesn't get any easier than this!

Here are 25 pretty cool tricks with Python:
6. If you are ready to jump in:

• A quick tutorial: kaggle.com/learn/pandas

• A more in-depth tutorial:

• A serious course: coursera.org/projects/panda…

• And the Pandas official site with great documentation: pandas.pydata.org

Have fun!
It turns out that the Pandas course in Coursera doesn't exist anymore.

😱

There are different Pandas courses in Coursera, but I can't recommend them because I haven't watched them myself.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Santiago

Santiago Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @svpino

7 Dec
Interviewing for technical positions is a broken process.

I believe this is going to change soon.

Getting a job in the software industry we’ll look very different within the next 10 years.

Some thoughts: ↓
2. This is the game we are playing today:

Write down in a piece of paper as much stuff as you possibly can. Make sure you embellish the story. Make yourself look like a hero.

Call this a "resume" and email it to as many companies as you can.
3. Companies collect a list of those resumes.

They sort them by the biggest liars: whoever sells themselves the best, goes right to the top.

They choose the top 10 and start making calls.
Read 18 tweets
3 Dec
When I was at school, I designed a banking application that didn't need authentication (for a class project.)

Yeah, I know it sounds crazy, but I've always been obsessed with "invisible" security.

I see one solution that may get us there for the first time. ↓
The thing that has impressed me the most during my experiments with web3:

You open a website, connect your wallet, and you are in.

That's it.

No "sign up," no "username and password," no "check your email for verification."
I use Dashlane (a password manager.) I have 520 passwords, and I'm reusing 149 of them.

Even better: I have 33 "compromised" passwords.

This is ridiculous.
Read 6 tweets
1 Dec
What is machine learning and why you should care about it?

Let me try to convince you: ↓
2. Let's start with a simple programming exercise:

"Write a function that returns 0 if a supplied number is even or 1 if the number is odd."

If you are a developer, I'm sure you know how to write this function.
3. To simplify things, let's represent this function as follows:

y = f(X)

Where:
• X → The input number
• y → The result (0 if even, 1 if odd)
• f → The function that does the work

We can now get to the interesting part.
Read 16 tweets
29 Nov
One of the things I love about Python: Duck Typing + EAFP.

A short thread that will change the way you write code.

2. The idea behind Duck Typing:

If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.

In other words: the functionality of an object is more important than its type. If the object quacks, then it's a duck.
3. Duck Typing is possible in dynamic languages.

Look at the attached example.

Notice how "Playground" doesn't care about the specific type of the supplied item. Instead, it assumes that it supports the bounce() function.
Read 11 tweets
22 Nov
For one second, let's forget the idea of a central database.

Imagine a product that doesn't store your data. Instead, you keep that information. You allow others to use it at your convenience and close it whenever you want to.

Let's talk about one example. ↓
2. Think about those people that have built excellent profiles using @kaggle.

They have participated in many competitions, shared their knowledge, and built impressive curriculums.

What would happen if Kaggle decides to ban them?
3. This is not science fiction.

Every single company out there can ban you if they decide to do so.

Maybe it is justified, maybe it isn't, but that's beyond the point.

What happens then?
Read 18 tweets
19 Nov
Deploying a machine learning model is not a trivial task.

Here are some of the questions you may have to answer every time: ↓
1. What's the input format expected by your service?

2. How can we validate the input is valid? What's the appropriate action if it isn't.

3. What transformations are needed to turn the service's input into the model's input?
4. What transformations are needed to turn the model's output into the service's output?

5. Do we need to allow for batch processing of data?

6. How much time do we have to return an answer?
Read 6 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(