Docker environment update: add Python package
After building the Anaconda data science environment with Docker, as I proceeded with the analysis, I wanted to add a package. This is a memo when adding a Python package to the Docker container tha
PNG saving is slow with Python imageio.imwrite
## background imageio, it's convenient, isn't it? I wanted to save the image processed data (image) in 8bit or 16bit with lossless compression, so I saved the image with `imageio.imwrite` in PNG,
Extract the band information of raster data with python
## Introduction I wanted to extract the following band information that can be confirmed in the properties when GPV (raster data) is opened in QGIS with python, so a memo of how to do it. ![image.p
I tried to make PyTorch model API in Azure environment using TorchServe
The service "Torch Serve" that can easily convert the model made with PyTorch into an API seemed to be useful, so I actually touched it and made an article. This time, the content is like a tutorial
Are you still using Jupyter Notebook? Enjoy a comfortable Python life with Jupyter Life (.py) with VS Code ?!
Do you guys have a good Python life? Suddenly, how do you usually deal with Python code? I think that there are many people who normally create a `` .py``` file and run it, or write code in a cod
What is a python map?
# Conclusion It seems to make sense to exist as a higher-order function unless a large amount of processing is performed considering the memory. Basically ```python x, y = map(int, ["1", "2"]) ```
How to authenticate with Django Part 3
[Part 2](https://qiita.com/shibafu/items/f7d11978da13a5f52c25) # Save the authentication token in the session Up to the last time, we have already authenticated and issued an authentication token!
LINE BOT (Messaging API) development with API Gateway and Lambda (Python) [Part 2]
# LINE BOT (Messaging API) development with API Gateway and Lambda (Python) [Part 2] ## Introduction [Part] and the main environmental construction in (https://qiita.com/w2or3w/items/1b80bfbae59fe19
Python memo
|date|category|topic| |:-:|:-:|:-:| |2021/01/04|Type specification|[呼び出し可能MoldのType specification - Qiita](https://qiita.com/tkoba2/items/2ecba96062552a4cee85"Mold")| | | | | | | | |
Github Interesting Repository ② ~ Control your whole house from anywhere ~
## About this series I made a [regular notification function](https://qiita.com/Hiroaki-K4/items/61b357fa69c90fd9bbfd) for information from the trend repository on github, and this is a series that i
Manim's method 2
# Overview I checked manim's method. I tried using SVGMobject. # I wrote svg with 9vae. .
# 1. Prerequisite environment This time, create it in the following environment. Please read the contents according to the environment. -Create a VM image directly in C: \ VM \ testvm01 on Window
Notes on exchanging and multiple assignment of Python variable values learned in quiz format
## quiz Answer the output of the following program. ### Question 1 #### **`1`** ```python nums = [1, 2, 3] i = 0 nums[i], i = i, nums[i] print(nums) ``` <details> <summary> See answer </summa
manim's manners
# Overview I checked manim's method. I tried using GraphScene. # Sample code ``` from manimlib.imports import * class test(GraphScene): CONFIG = { "x_min": -4, "x_max": 4, "y_min": -2,
Transform the image by projective transformation-Hack the monitor screen-
# Introduction My previous article -[Rotate sprites with OpenCV](https://qiita.com/mo256man/items/a32ddf5ddbaaf767d319) -[Rotate sprites with OpenCV # 2 ~ Master cv2.warpAffine () ~](https://qiita
Manim's method 5
# Overview I checked manim's method. I tried using Clock. # Sample code ``` from manimlib.imports import * def rev_to_rgba(alpha): alpha = (0.5 - alpha) % 1 hue_list = [0, 0.5 / 6.0, 1 / 6.0,
Web scraping notes in python3
# Introduction I'm researching various things to try web scraping with python, but I'd like to summarize the contents as a memo. ## Library to use Use Beautiful Soup and Requests --Reference art
Automatic minimum testing in web development
## Introduction On New Year's Day, if I'm too lazy, I can't return to society, so I tried programming. It seems that neither the client nor the partner who is requesting development is very good at t
Manim's method 3
# Overview I checked manim's method. I tried using BarChart. # Sample code ``` from manimlib.imports import * class test(Scene): def construct(self): values = list([0.1, 0.5, 0.7, 0.3]) nam
[Python] Anaconda environment construction (installation, startup, virtual environment, package management) Mac environment
<!-- wp:paragraph --> <P> Hello, this is Kaoru. </p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p> This time, I will introduce how to build an environment for Anaconda. </p> <!-- /wp:paragraph -
(Windows10) Install Linux environment and gnuplot.
# Who is the target of this article -People who only have a `Windows 10` machine but need a` Linux` environment. ・ People who have recently started studying servers. ・ University students who are a
Create folders from '01' to '12' with python
When you want to create a monthly folder. ```python import os # '01'From'12'Create folders up to for i in range(1, 13): print(f'{i:02}') os.mkdir(f'{i:02}') ```
I tried image processing like an event camera
# Overview There is a camera called an event camera. I would like to convert a normal video like this event camera. I wonder if it can be used for something. # Deliverables <blockquote class =
I made a vim learning game "PacVim" with Go
## Preface I made a game "[PacVim](https://github.com/TurtleBuild/pacvim)" that operates Pac-Man with vim command with Go. Since it is Go, you can easily execute it by downloading the binary. https
3. Natural language processing with Python 5-4. Emotion value analysis of Japanese sentences [Japanese evaluation polarity dictionary (noun edition)]
* This is the second trial of the Japanese emotion value dictionary. * Continuing from the previous ["Word Emotion Polarity Correspondence Table"](https://qiita.com/y_itoh/items/8e63334058659fe2b4d3
taichi's Torisetsu ⓪ Table of contents
## About this series I'm addicted to a graphic library called [taichi](https://github.com/taichi-dev/taichi) that can be used with python recently, so I will summarize how to use it. ## table of con
Analyzing data on the number of corona patients in Japan
We will analyze the number of corona patients in Japan and create a predictive model. here ・ How to use the library called Prophet provided by Facebook ・ Random forest regression ・ XGBoost I wi