Welcome!
Easy and neat way to retry function after error in Python Easy and neat way to retry function after error in Python
Have you ever written a Python script that needed to handle unreliable network connections or flaky APIs? If so, you mig
vector search using Elastic Search,  index and search example using python requests library vector search using Elastic Search, index and search example using python requests library
Vector search has becoming very useful in deep learning applications. To search dense vectors in Elasticsearch 8.6, you
How to bulk index data with Elastic Search engine How to bulk index data with Elastic Search engine
Previously, we have discussed how to index and query data using elasticsearch in PythonHere However, indexing large amou
AI and the Future of Jobs, Questions and Answers on ChatGPT and Automation AI and the Future of Jobs, Questions and Answers on ChatGPT and Automation
What is ChatGPT and how does it work?Answer: ChatGPT is a virtual assistant or chatbot that uses natural language proce
2023-03-17
Scratch Your Head? Be Careful with \r or Carriage Return when Printing Strings Scratch Your Head? Be Careful with \r or Carriage Return when Printing Strings
Have you ever encountered a situation where you printed a string in Python and found that it didn’t appear as expected?
Decoding JSON String When There are Single Quotes Decoding JSON String When There are Single Quotes
JSON (JavaScript Object Notation) is a popular format used for transmitting data between applications. It’s a lightweigh
Expanding Array Columns in Pandas DataFrames and wrap up in scikit-learn transformer Expanding Array Columns in Pandas DataFrames and wrap up in scikit-learn transformer
Sometimes, you may find yourself working with a Pandas DataFrame that contains a column of arrays with the same length.
Longer and more, the one minute takeaways of GPT4 model Longer and more, the one minute takeaways of GPT4 model
Most impressive thing:The token limits goes from 4K up to 32K tokens (or roughly 50 pages of texts).Now we can use GPT4
2023-03-14
Adding progress bars and parallelize tasks in Python Adding progress bars and parallelize tasks in Python
use tqdm and pqdm in Python to add progress bars to your code and parallelize tasks. Projects in Python often involve lo
How to convert CURL to python requests and vice versa How to convert CURL to python requests and vice versa
curl and Python requests are both powerful tools for sending HTTP requests. While curl is a command-line tool that allow
Difference between `json` and `data` parameter of the HTTP POST Requests with JSON Data in Python using the Requests Library Difference between `json` and `data` parameter of the HTTP POST Requests with JSON Data in Python using the Requests Library
HTTP POST requests are a common way to send data to web servers from client applications. When sending JSON data as the
How to Prettify and Visualize JSON Data in Python How to Prettify and Visualize JSON Data in Python
JSON (JavaScript Object Notation) is a lightweight data interchange format that is widely used in web applications and A
20 / 28