Python3 programming functions personal summary
# at first This is a personal reminder of Python 3 libraries and functions used in competitive programming and more. ### List in order #### **`python`** ``` python3 #List from start to end # [1,..
I want to analyze songs with Spotify API 2
# At the beginning This is a continuation of [Last time](https://qiita.com/grinch1252/items/76ca4f03e1d198964eef). We will look at API acquisition for each album, song items, etc. # Get album info
How to implement Discord Slash Command in Python
Discord has recently implemented a new feature called the "slash command". Even if you look at the official reference, it's only in English, and even if you try to translate it, you can't understand
Correct the week set by index in datetime format
# Introduction When processing time series data, it is convenient to set index to datetime in pandas, but when extracting a week from index, the last week such as 2019/12/30 and 12/31 will be the fi
Roadmap for beginners
I started programming after entering university (non-informatics department), and now I am like a part-time mentor who is studying while making various products with Python and JavaScript by various
Time series analysis related memo
```python from statsmodels.tsa.stattools import acf,acovf,ccf , ccovf ``` ・ Acf: autocorrelation function Autocorrelation function ・ Acovf: autocovariance function Autocovariance function ・ Ccf: c
Start M5Stack with UIFlow
# Introduction It is a memorandum to start the loaded M5Stack immediately. # Development environment - M5Stack - Windows 10 PC # Introduction 1. 1. Refer to [UIFlow Quick Start](https://docs.m5sta
Sequential processing method when there is not enough memory in Keras
# Overview Use model.fit_generator. https://keras.io/ja/models/model/#fit_generator ### environment - Keras: 2.4.3 - python: 3.6.9 # How to use When the memory is low, the easiest solution is to r
Understand Linked List Cycle
# Introduction When I started studying algorithms with leetcode, I learned about a data structure called a linked list, so I made a note of it. # Difference between array and linked list For arrays
Execution environment test after Go language installation
# final confirmation After installation and version confirmation Create a folder with VSCord and test until you get the expected results [Click here to build Go language environment](https://qiita.
Calculate the editing distance as an index of pronunciation similarity [python]
# Overview We have summarized the points to note when using the editing distance as the pronunciation similarity between Japanese sentences. We also showed a code example to find the editing distanc
Execution order when multiple context managers are specified in the Python with statement
According to Python's Language Reference (https://docs.python.org/3/reference/compound_stmts.html#the-with-statement), `with` can be multiple context managers. #### **`Language_Excerpt from Referen
When you want to print to standard output with print while testing with pytest
## From the conclusion, adding the -s option is OK When testing with pytest, there are times when you want to check not only the result but also the value of a variable in the middle. In conclusion
About scipy Gaussian filter
scipy.ndimage.gaussian_filter [[reference](https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.gaussian_filter.html)] #### **`usage.py`** ```python from scipy.ndimage import gaussian
Manim's method 10
# Overview I checked manim's method. I tried using add_updater. # Sample code ``` from manimlib.imports import * class test(Scene): def construct(self): self.t_offset = 0 dot = Dot() rat
I tried to move ROS (Melodic) with the first Raspberry Pi (Stretch) at the beginning of 2021
### Introduction The ARM11-based `Raspberry Pi` is still alive in the Zero series, and there have already been reports of successful installations of` ROS`. [^ 1] I thought that if it works with t
Algorithm learned with Python 14th: Tic-tac-toe (ox problem)
# #Algorithm learned in Python <Tic-tac-toe (ox problem)> ## Introduction Implement the basic algorithm in Python to deepen your understanding of the algorithm. As the 14th bullet, we deal with tic
ROS Python-Own service import error
## error There was an error that the library of my service could not be loaded in the Python node #### **`my_server.py`** ```python ... from my_servs.srv import * ... ``` #### **`error`** ```
Manim's method 9
# Overview I checked manim's method. I tried using ParametricSurface. # Sample code ``` from manimlib.imports import * class DSurface(ParametricSurface): def __init__(self, **kwargs): kwargs
docker / docker-compose versioned installation (up | down)
## Installation notes ``` function version () { [ -e $1 ] && $1 -v | sed -r 's/.* ([\.0-9]+), .*$/\1/' } VER=19.03.8 BIN=/usr/bin/docker if [ $(version $BIN) != $VER ]; then curl -s -fsSL https:
Automatically RT promotional tweets using a running PC anyway
# Overview It's annoying to go to press the retweet button every time, so Seya! It's automated! The story. # It's unexpectedly annoying to repeat retweets many times I like making music and that
Validation and verification that you forget 50,000 times a year in 3 lines.
|Words|meaning|In particular|Check target| |---|---|---|---| |Validation<br>Validation|Validation|Are the specifications satisfying user requirements?|specification| |Verification<br>Verification|
How to install CUDA and nvidia-driver
# How to install CUDA and nvidia-driver -** CUDA ** (Compute Unified Device Architecture) is a development environment for creating GPU-accelerated applications developed by Nvidia. -** nvidia-dri
How to switch mouse operations on CentOS
# How to switch the mouse pointer between your computer and the pointer on the virtual environment screen on CentOS It's like that.`** ```predict(data)It's like that. Suddenly, w
Install the python module with pip on a server without root privileges
# procedure Install the package from the virtual environment using Python virtualenv. ``` $ curl --location --output virtualenv-16.1.0.tar.gz https://github.com/pypa/virtualenv/tarball/16.1.0 $ ta
[Competition Pro] Summary of stock buying and selling problems
In real-world stock trading, we aim to earn more profits by buying new stocks or selling our own stocks while watching the ever-changing stock prices. <img src="https://qiita-image-store.s3.ap-north
[Blender x Python] How to make an animation
# table of contents 0. Animation operations 1. Move the object to the specified coordinates 2. Move the object to random coordinates 3. Use trigonometric functions to move objects 4. Change the
2021 Go Language Framework Star Count Comparison
A Github star comparison of Go language frameworks (both micro and full stack). (Aggregated on 2021/01/05) I couldn't find the 2021 version. 
# Introduction It's more content now, but I will post it as an article because it is a great deal to summarize in the assignment. Please let us know in the comments if you have any mistakes or inapp