Discover and read the best of Twitter Threads about #python

Most recents (24)

I have been coding in Python for 8 years now. ⏳

Here's a roadmap to Master Python! 🚀

A Thread 🧵👇
1️⃣ freeCodeCamp

4 hours Python bootcamp!!

What you'll learn:
- Installing Python
- Setting up an IDE
- Basics Syntax
- Variables & Datatypes
- Looping in Python
- Exception handling
- Modules & pip
- Mini hands-on projects 🔥

Check this out 👇
2️⃣ CS50p: Harvard University

There isn't a better place to learn #Python than @davidjmalan 's CS50p.

Beautiful explanations and great projects.
It's a complete package.

Highly recommended!!

Check this out 👇
cs50.harvard.edu/python/2022/
Read 6 tweets
Breaking news!

LEAKED: ChatGPT API available to everyone.... How?

((Instructions + 🐍free code🧵👇))
Use the normal paid OpenAi API and in #python set the model to the latest chatgpt model:

text-chat-davinci-002-20221122

H/t @LeeFootSEO for telling me while I'm on vacay...

Full instructions:
Read 5 tweets
How to get started with machine learning: From 0 to Engineer.

(thread)
1. Math - via @khanacademy

Use these resources (all links in the last tweet):

- Khan Academy - Multivariable Calculus
- Khan Academy - Differential Equations
- Khan Academy - Linear Algebra
- Khan Academy - Statistics Probability
2. Learn Python - via @freeCodeCamp

- Learn Python: Full Course For Beginners
- Intermediate Python: Programming Course
Read 11 tweets
La mayoría utiliza Chat GPT para generar texto, pero también puede graficar.

Primero, hay que buscar la base de datos. En este caso vamos a utilizar los datos de homicidios dolosos en México durante 2022.

#homicidios #violencia #Mexico #ChatGPT #DataViz
Pegamos la información en el chat y le pedimos que la ordene en una tabla.
Le damos la instrucción (prompt), en la que le pedimos que simule a una persona experta en DataViz y que genere el código para visualizar la información de diversas maneras.

#Prompt #ChatGPT3 #DataViz #Python
Read 5 tweets
💡 𝟱 𝗮𝘄𝗲𝘀𝗼𝗺𝗲 𝗺𝗮𝗰𝗵𝗶𝗻𝗲 𝗹𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗿𝗲𝗽𝗼𝘀𝗶𝘁𝗼𝗿𝗶𝗲𝘀!

Get high-quality, curated resources from these repositories.
1️⃣ 𝗛𝗼𝗺𝗲𝗺𝗮𝗱𝗲 𝗠𝗮𝗰𝗵𝗶𝗻𝗲 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 (lnkd.in/g5nHPZbn)
Learn machine learning by building the algorithms from scratch.
2️⃣ 𝗗𝗲𝗲𝗽 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗶𝗻 𝗣𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝗼𝗻 (lnkd.in/gUspmVM9)
Learn how companies put their deep learning systems in production.
Read 7 tweets
USD NET LIQUIDITY (NLQ) -important macro metric to track. Originally formulated by @42Macro, NLQ provides estimate of total liquidity to markets from Fed, treasury & bigFunds. Markets show high correlation with NLQ. Use my #python script to track this yourself w/daily update.🧵
2/ Following March 2020, the huge surge in net liquidity caused by unprecedented QE made this liquidity tide the primary driving force in markets. High correlation now seen between SPX, NDQ, DJI, BTC etc & NLQ. Great intro here by @maxjanderson:
3/ Max’s thread provides great explanation of importance of NLQ & where to get the data. You’ll need code though to display it. I’ve done this for you (in #python). It uses Fed bal. sheet (weekly) & RevRepo (daily) from FRED. It gets the TGA bal. daily series from treasury API.
Read 25 tweets
USD NET LIQUIDITY (NLQ) - important macro metric to track. Originally formulated by @42Macro, NLQ provides estimate of total liquidity to markets from Fed, treasury & bigFunds. Markets show high correlation with NLQ. Use my #python script to track this yourself w/daily update.🧵
2/ Following March 2020, the huge surge in net
liquidity caused by unprecedented QE made this liquidity tide the primary driving force in markets.
High correlation now seen between SPX, NDQ, DJI, BTC etc & NLQ.
Great intro here by @maxjanderson:

3/ Max’s thread provides great explanation of why NLQ is important & where to get the data. You’ll need a script though to display it.
I’ve done this for you. It uses Fed bal. sheet (weekly) & RevRepo (daily) from FRED. It gets the TGA bal. daily series from treasury API.
Read 25 tweets
Can you reverse engineer Google?
🎯HUGE LIST OF RANKING FACTORS🎯

▶️▶️▶️Yandex says yes!! 🤯

- Full ENGLISH translations
- All 1922 search factors!
- Full catalog and analysis to surprise #SEOs

((+free 🐍 #python code! 🧵👇))
First I wrote a script to translate descriptions to English and convert it into a tabular CSV format:
Every major organization invests in monitoring their competitors. Yandex is the same.

h/t to @iPullRank for finding the Google parser:
Read 27 tweets
💻 Hey Folks 😀

✍ Day 8 - Series on #Python Projects

🧵👇
🙏 𝐁𝐢𝐠 𝐒alute 𝐭𝐨 Shri @amankk_9 sir for providing such a great Content

✏ In this Project I Done a Algorithmic Trading using #Python

#pythonprogramming #60daysofcodechallenge #PythonbySk #100daysofcodechallenge #100dayswithpython
#60dayswithpython #30dayswithpython
Read 5 tweets
Internet is full of resources. Its good, but sometimes, people get stuck on which is best for them.

I have compiled a massive list of resources for PYTHON lang you can get started with.

#Python

A thread 🧵
Official SitePython.org
Documentation : docs.python.org/3/
Quick Start Guide : python.org/about/gettings…

#Python

1/9
Basic Roadmap (GFG)
geeksforgeeks.org/best-way-to-st…

Python Notes (goalkicker)
books.goalkicker.com/PythonBook/

#Python

2/9
Read 11 tweets
Wanna build the next ChatGPT?

Here's a 6 month learning plan for AI large language models (LLMs) from scratch.

(thread)
1. Familiarize yourself with basic machine learning concepts and Python programming.

Books:

1.1. Introduction to Machine Learning with Python by Andreas Müller and Sarah Guido

1.2. Python Machine Learning by @rasbt
2. Learn about natural language processing (NLP) and its applications.

Books:

2.1. Speech and Language Processing by Daniel Jurafsky and James H. Martin

2.2. Natural Language Processing with Python by Steven Bird, Ewan Klein, and Edward Loper
Read 8 tweets
💻 Hey Folks 😀

✍ Day 7 - Series on #Python Projects

🧵👇
✏ In this Post I create EDA PROJECT ON SUICIDE CASES IN INDIA
using #Python

* Find insights about - suicide due to unemployment
- #suicide cause
- #gender plays any role
-#age group mostlikely to suicide
#state having highest count
#least suicide case

github.com/sachinkumar160…
Read 4 tweets
🔥 4 essential site Quality metrics ( +code 🐍)

Track niche sites and competitors...
- beyond just DA and monthly traffic
- identify better link building!

(( FREE python code for #seos 🚀 )) ...save! 🧵 Image
This week's free code is thanks to a 'prompt'...
(a collab w/@fatjoewho -> SEO services on-demand)

THE PROMPT???

a) I got a DM from @joecowmanwd
b) I checked if everyone called themselves Joe😅
c) We got right to work....

.... with a first draft from ChatGPT 😇 Image
Fully tested and working 🐍 #python code!! FREE

🎯 SITE-WIDE (DOMAIN) QUALITY METRICS: 🎯

1⃣ Ratio of URLs to Outbound Links
2⃣ Pages published per year
3⃣ Traffic/Pages Ratio
4⃣ Sitemap Links compared to Indexed Links

See code! 👇👇 (Like + Share_;)
github.com/FrontAnalytics…
Read 7 tweets
💥14 herramientas secretas impulsadas por #RStats para ahorrar tiempo y esfuerzo en tus proyectos de datos (¡No te lo pierdas!):👀
1️⃣ ¡Edita tus datos de forma interactiva (y guarda el código)! 👀
📦 'editData' es un complemento de RStudio para editar un data.frame o un tibble de forma interactiva
🔗 buff.ly/3U5Tgjy

#DataScience #DataVisualization #dataviz #stats #analytics #RStats #Analytics
2️⃣ ¡Crea gráficos #ggplot de forma interactiva!🚀
📦esquisse es otro de mis addins favoritos de #rstudio
✅ exporta el gráfico o recupera el código para reproducir el gráfico
🔗 buff.ly/3mxLHSo
#DataScience #DataVisualization #dataviz #stats #analytics #RStats #Analytics
Read 17 tweets
1/
@Target's XML sitemap
Has 2.6M URLs with ~1M duplicates (39%)

Consistent URL structure mostly 4 dirs

5 types of pages
product
category
search
brand
store-location

Data
bit.ly/3WKbw3H
Code
bit.ly/3XB0sGH

#DataScience #advertools #SEO #Python #DataAnalytics
2/
Checking top category pages, we see the top 10 are mostly toys.

A more accurate approach is to count the words in those URLs, which shows that clothing and home are bigger.

We can also check the percentage of category URLs that contain those words for a different/better view
3/
We can easily go deeper by filtering URLs that contain "clothing", and checking what the top words are for those URLs.

We can go to sub-sub-categories by filtering for URLs containing "clothing" & "kids" for example.

You can interactively explore any combination you want.
Read 5 tweets
Keine Sterne in Athen und keine #Leopard2 in #Ukraine

statt

"Deutsche Waffen und Deutsches Geld morden in aller Welt"

haben Chefs von Deutschland entschieden

"die andere Wange oder Ohr auch noch hinhalten"
in "Jesus von Nazareth", "Ben Hur" und "Live of Brian M. #Python"
also im Kino fand ich "The Last Temptation of Christ" schon deutlicher angenehmer zu gucken als dieser blurünstige Prachtschinken von Mel Gibson "The Passion of Christ"
aber was ich schon?

Wenn ich wüsste,
dass ich nichts weiss,
dann wüsste ich weit mehr,
als all das, wass ich weiß.

Bo, n Date mit Simone de Beauvoir im Jahr 1968 im Straßen-Cafe auf MontMartre würd jetzt echt gut tun.
Read 5 tweets
XML sitemap of @Apple with a quick audit/analysis

105,244 (26.2%) duplicated URLs with 45% with a mysterious parameter "fh" which mainly provides an empty page.

Data: bit.ly/3WKbw3H
Code: bit.ly/3J86xWw

#DataScience #SEO #advertools #Python

1/
Unsurprisingly /shop/ is the biggest directory (number of URLs), and we can also see what are the biggest product categories under that with a simple filter.

But what is /today/ ??

It seems they run live online events for product demonstrations and explanations

2/
Most of these ~13k pages are empty (event expired), and it's not clear why they even have them in the sitemap.

This definitely needs fixing. But we can still use the data to understand what topics they focus on in their events (iPhone, photo, art)

3/
Read 4 tweets
One of my biggest mistakes when I began learning data science - I believed everything I heard.

Don’t do this. 🧵

#datascience #rstats #python
Here are 2 of the biggest fallacies that cost me time.

I hear that data scientists must be experts in:
👉Math: advanced calculus, matrix math, statistical analysis, the list goes on.

I can count on one hand how many times I’ve used advanced calculus.
Read 11 tweets
My 10 quick recommendations to SEOs that want to know data.

The most underrated yet extremely profitable skills that your clients need.

Yes, there are a lot of websites that have severe issues.

No, #SEO alone is not enough if they can't find their problems.

Let's see them 🧵
1. Don't just learn to code.

You don't want to be a developer, you should get closer to an analyst, in case.

Code is the weakest part of your work, as you are an SEO.

Storytelling and understanding patterns are where you add value.
2. Most of the industry advice about data is given by people without qualifications.

This alone makes most information factually incorrect.

You can notice it while reading case studies that skip steps.

Practice alone isn't enough, you need basic theory.
Read 14 tweets
💻 Hey Folks 😀

✍ Day 5️⃣ - Series on #Python

🧵👇
🙏 𝐁𝐢𝐠 𝐒alute 𝐭𝐨 Shri @Alex_TheAnalyst Sir for providing such a great Content

✏ In this Post I created a BMI Calculator in #Python Image
📢 Github Project Link - ( Request to every learners to must check )github.com/sachinkumar160…

#pythonprogramming #Data #PythonbySk #100dayswithpython
#60dayswithpython #30dayswithpython
Read 4 tweets
Today is a great day to learn about exception handling in #Python!

Let's find out how they work!

🧵🐍👇
#Python handles exceptions using the `try/except` keywords.

You can optionally add `finally` and `else` to the mix too!

Here's an example that uses all of them:
#Python has the concept of the "bare except". What that means is that you catch ALL exceptions.

You can do this by catching Exception, which is the base class of ALL other exceptions.

Or you can just not specify an exception type all!
Read 15 tweets
Stop spending so much time on theory.

Do this instead.

#rstats #python #datascience Image
If your plan to become a data scientist involves learning:

1. Calculus
2. Matrix multiplication
3. Linear algebra
4. Graph theory
5. How every algorithm "works"
6. Coding algorithms from scratch
7. Advanced probability theory (with proofs)

Then you're wasting your time.
How do I know?

Because I've wasted a lot of time in my 10+ year journey.

And it cost me jobs I couldn't have gotten quicker and promotions I could have had faster. 😡

And I don't want to see you struggle as I did.
Read 9 tweets
You can use Pycryptodome to encrypt a file and decrypt it.

In this example, you use RSA encryption to encrypt a file with #Python
Now let's decrypt the file using Pycrytodome! 🐍🔥

Here's how to do it:
PyCrytodome supports generating RSA keys with 2048-bits and higher

pycryptodome.org/src/examples#e…
Read 4 tweets
How to Auto-write 1000's of articles via GPT API...

... exact code to create #seo articles! 🤑

(( functional 🐍 code + an article template ))
FREE: Here is the exact code I used to create AI articles for pennies each article!

Each model differs in size, quality, and cost:

▶️1st example uses Curie
▶️2nd example uses the latest DaVinci GPT-3

All the code is here to test your own:
github.com/FrontAnalytics…
Do AI articles even rank on Google? What about cannibalization and duplicate content?

A: I suggest you run your own experiments and see what works for your audience and your niche. No guarantees!

Here's one of my AI experiment sites (~3000 articles):
Read 7 tweets

Related hashtags

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.00/month or $30.00/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 Become our Patreon

Thank you for your support!