Blog

Page 766 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Get PostGIS version

Get PostGIS version

Published on September 2, 2023

# 🌐 How to get PostGIS version 🌐 So, you want to find out which version of PostGIS you have? No worries, we've got you covered! πŸ™Œ PostGIS, a powerful and popular geospatial extension for PostgreSQL, provides a wide range of geospatial capabilities. Kn

Cover Image for Counting unique values in a column in pandas dataframe like in Qlik?
pandaspython

Counting unique values in a column in pandas dataframe like in Qlik?

Published on September 2, 2023

# Counting Unique Values in a Pandas DataFrame like in Qlik Hey there tech enthusiasts! πŸ‘‹ Are you struggling to count unique values in a column of a pandas DataFrame, just like in Qlik? Look no further! In this blog post, we will explore a common issue t

Cover Image for PostgreSQL wildcard LIKE for any of a list of words

PostgreSQL wildcard LIKE for any of a list of words

Published on September 2, 2023

# PostgreSQL Wildcard LIKE: Finding Rows with Any of a List of Words So you have a PostgreSQL database with a table that has a varchar field, and you want to find any rows that contain any of the words from a given list. You've already tried using multipl

Cover Image for Turn Pandas Multi-Index into column
dataframeflattenmulti-indexpandaspython

Turn Pandas Multi-Index into column

Published on September 2, 2023

# πŸΌπŸ“ŠTurn Pandas Multi-Index into Column: A Complete Guide!πŸ”₯ Do you have a `DataFrame` with multiple index levels in your hands, and you're struggling to manipulate and analyze the data? 😫 Don't worry! We've got you covered! In this guide, we'll show y

Cover Image for Pandas get topmost n records within each group
group-bypandaspython

Pandas get topmost n records within each group

Published on September 2, 2023

πŸ“šπŸ’» **Title: A Simple and Elegant Approach to Get the Topmost Records within Each Group in Pandas** ### Introduction: So you have a pandas DataFrame and you want to extract the topmost records within each group? No worries, my tech-savvy friend, I've go

Cover Image for Replacing Pandas or Numpy Nan with a None to use with MysqlDB
mysql-pythonpandaspython

Replacing Pandas or Numpy Nan with a None to use with MysqlDB

Published on September 2, 2023

πŸ“ **Title**: Replacing Pandas or Numpy Nan with None for MysqlDB: The Ultimate Guide 🐼 πŸ‘‹ Welcome to TechExplained! Today, we'll dive deep into a common issue faced by data scientists and developers who are trying to store Pandas dataframes or Numpy arr

Cover Image for Replacing blank values (white space) with NaN in pandas
dataframepandaspython

Replacing blank values (white space) with NaN in pandas

Published on September 2, 2023

# Replacing Blank Values (Whitespace) with NaN in Pandas: A Complete Guide 🐼 Are you facing the challenge of dealing with blank values (whitespace) in your Pandas dataframe? Look no further! In this guide, we will address this common issue and provide yo

Cover Image for How to create a dictionary of two pandas DataFrame columns
dataframedictionarypandaspython

How to create a dictionary of two pandas DataFrame columns

Published on September 2, 2023

# How to Create a Dictionary of Two Pandas DataFrame Columns 😎🐼 Are you ready to level up your data organization game? πŸ˜„ In this blog post, we'll dive into the world of pandas DataFrames and explore the most efficient way to create a dictionary from tw

Cover Image for Postgresql SELECT if string contains

Postgresql SELECT if string contains

Published on September 2, 2023

# Postgresql SELECT if string contains: A Complete Guide 🐘 Have you ever faced the challenge of selecting data from a PostgreSQL table based on whether a string contains a specific value? πŸ€” If you're struggling with this problem, you're in the right pla

Blog | Matheus Mello