How to create a heatmap with an arbitrary domain in Python

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/288125/336bf861-b7e0-50a1-411b-57b215ab49b2.png) [Heatmap](https://ja.wikipedia.org/wiki/%E3%83%92%E3%83%BC%E3%83%88%E3%83%9

How to write regular expression patterns in Linux

I am familiar with the following sites, so I will post a link. https://eng-entrance.com/linux-regular-expression#i

Change the Python version of Homebrew

# Homebrew's Python has become Python 3.9 before I knew it When the brew update comes in, Python will automatically become 3.9. Python 3.9 is inconvenient because there are some new and unsupported

Python basic operation 3rd: Object-oriented and class

# #Python basic operations <object-oriented and classes> # ## Introduction Review the basic operations of Python only for the parts that you are uneasy about. As the third step, we describe object

Let's make a positive / negative judgment tool into a band graph (Python)

It is always said that I will return to my parents' house. : man_tone3: Father "When are you getting married?" : woman_tone3: Mother "Not married yet?" : girl_tone3: Sister "When will you get marr

[Python] pytest mocker.patch has finally worked, so I will write down what I found with just momentum

I knew in my head that Python's `import` introduces names into my namespace. I've finally come to understand it in practice, so I'll write it down so I don't forget it. With great momentum. # file

A program that failed when trying to create a linebot with reference to "Dialogue system made with python"

# 12/26 was done <a href="https://qiita.com/shinoshishino/items/0d6ff037e90d787cf4b6"> I tried to make the weather forecast on the official line by referring to the weather forecast bot of the book "

[ML Ops] I want to do multi-project with Python

This article is the 13th day article of [Puri Puri Appliance Advent Calendar 2020](https://qiita.com/advent-calendar/2020/ppap). # Introduction I usually use Python to work on MLOps. Originally,

Basic Python operation 2nd: Function (argument)

# #Python basic operation <function> # ## Introduction Review the basic operations of Python only for the parts that you are uneasy about. As the second step, we describe the function. ## Function

Python eval can execute statements.

# 1. Very common contradiction There is often an explanation that "` eval (" expression") `is an evaluation of an expression, so the statement cannot be executed. The statement is executed by` exec

Python version switching (pyenv)

# Overview This is an article about changing the version of python. Some tools such as GCP tools (2.7 series) have a python version specified, so you will need to switch when using them. This time,

Replacing rmtrash on Mac and replacing rm on Linux

# rmtrash can no longer be installed with Homebrew It seems that it was recently removed from Homebrew because the license is opaque and there is no response from the author. https://github.com/Home

Mac environment construction Python

# Mac mini environment construction ## Overview I bought a MacMini (M1), so a memo until I `Hello World` python. * Package management tool to use: Macports * Install package: Pytnon38, pip38 ## p

Easy modeling with Blender and Python

# Preface Blender is free and has so many features that it's often said to be a first-time killer ~~ It's a great software for modeling! However, I don't know what to do to model using many function

Setting up Jupyter Lab in a Python 3.9 venv environment

# Introduction ――I always forget about the setup, so I will expose the memo. # environment - MacOSX --Python installation uses pyenv - Python 3.9.0 --nodejs is included (necessary for extension in

Building Linux From Scratch 10.0

Building Linux From Scratch 10.0 ============================= Introduction -------- [Linux From Scratch](http://www.linuxfromscratch.org/) (** LFS **) is a project that provides steps to build a

Python basic operation 1st: List comprehension notation

# #Python basic operation <list comprehension> # ## Introduction Review the basic operations of Python only for the parts that you are uneasy about. As the first step, we describe list comprehensio

[Python] 01-BFS ARC005C

[ARC005C](https://atcoder.jp/contests/arc005/tasks/arc005_3) # [A little polite explanation of 01-BFS](https://betrue12.hateblo.jp/entry/2018/12/08/000020) ** An algorithm that finds the length of t

How to create a Python virtual environment (venv)

When I started learning Python and was thinking about creating an app, it seems that it is common to create a virtual environment, so I will summarize the operation method. ## Why you need a virtua

Data analysis using Python 0

I would like to summarize the Python code used in data analysis as a review of what I learned at school. This time, I would like to focus on the basics. (It is undecided how many times it will end.

[Python] Try to graph from the image of Ring Fit [OCR]

I thought I had to exercise the other day, so I bought a ring fit because of the trend. About two months later, I feel like I haven't done much (I used to do it every day, but now it's about once a

Introduction to Structural Equation Modeling (SEM), Covariance Structure Analysis with Python

# Introduction I had to use Python to perform Structural Equation Modeling (SEM). However, since there were almost no Japanese articles to serve as a reference, I decided to write a summary article

Animation and communication state transitions can be easily described using JS and Python generators.

I think that programs often consider state transitions in which the state of the program changes depending on the situation. ![flowchart](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0

I tried to put out the frequent word ranking of LINE talk with Python

This is Qiita's first post. I'm glad I managed to post without throwing it out ... # Introduction I make LINE stamps as a hobby, but when I tried to make a niche stamp that I used only with a speci

WSL2 ~ Linux on Windows ~ (Part 1: Introduction)

WSL2 is an abbreviation of "Windows Subsystem for Linux2", which runs Linux on Windows. Since Linux (WSL2) was very easy, I summarized the installation procedure. # 1.First of all ## Summary of th

python tips

f'{:.2f}' When you want to specify significant figures and display while using f'{}' ### Use tqdm Use tqdm when you want to manage the progress. The basics about tqdm are nicely organized in othe

I tried LeetCode every day 108. Convert Sorted Array to Binary Search Tree (Python, Go)

#### What is Leetcode [leetcode.com](https://leetcode.com/) This is the practice of coding interviews for software developers. A total of more than 1,500 coding questions have been posted, and it s

What is the true identity of Python's sort method "sort"? ??

## Introduction I will write an article about Qiita after a long time. This is * nishiwakki *. This time, I will post this article as the "12th day" frame of "* Python Part 2 Advent Calendar 2020 *"

[AtCoder explanation] Control the A, B, C problems of ABC185 with Python!

2020/12/16 Update: Corrected the explanation of duplicate combinations of C problem a little carefully Added a pattern that uses the `factorial` function of the` math` module to the pattern that im

New Linux commands! !!

# Study record --Let's learn Linux commands 2020/12/13 ## What you studied --Learn useful commands for Linux --Create shared files for Linux and Windows ## What are you studying based on -[Intro