Welcome!
Sampling Rows from a Pandas DataFrame by Group Sampling Rows from a Pandas DataFrame by Group
Pandas is a popular data analysis library in Python that provides powerful tools for manipulating and analyzing data. On
How to Include Curly Braces in Python Format Strings How to Include Curly Braces in Python Format Strings
When working with Python format strings, it is common to use curly braces ({}) to insert variables or expressions into a
What is zero shot, few shot and fine tune in OpenAI GPT models What is zero shot, few shot and fine tune in OpenAI GPT models
When we say zero-shot or few-shot, it just the way we provide prompts when use GPT models, such as GPT3, GPT4 or chatGPT
Securely Loading Environment Variables in Python Using python-dotenv Securely Loading Environment Variables in Python Using python-dotenv
Loading environment variables in Python code is a common task that developers need to perform when building applications
Best Practices for Creating a .gitignore File and how Best Practices for Creating a .gitignore File and how
When you’re working on a Git repository, it’s important to create a .gitignore file to tell Git which files and director
how to use OpenAI to generate text completions and chat-style responses with GPT-3,chatGPT or GPT-4 through API how to use OpenAI to generate text completions and chat-style responses with GPT-3,chatGPT or GPT-4 through API
OpenAI is a research organization that aims to build safe and beneficial artificial intelligence systems. One of their m
How to control work flow in Streamlit with session state How to control work flow in Streamlit with session state
Streamlit is super easy to use to build some demo quickly. Streamlit is an open-source Python library that allows develo
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
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
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
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?
13 / 15