Python spiral book, AOJ's answer (ALDS1 # 7 ~ # 12)

In this article, we will give answers in Python to topics # 7 to # 12 of the ALDS1 course (Introduction to Algorithms and Data Structures) of the spiral book AOJ. This is a continuation of the prev

[CovsirPhy] COVID-19 Python package for data analysis: S-R trend analysis

Introduction We are creating a Python package [CovsirPhy](https://github.com/lisphilar/covid19-sir) that allows you to easily download and analyze COVID-19 data (such as the number of PCR positives

AtCoder Beginners Contest Past Question Challenge 10

# AtCoder Beginners Contest Past Question Challenge 10 [ABC087D - People on a Line](https://atcoder.jp/contests/abc087/tasks/arc090_b) All you have to do is set the position of one of the people a

Python functions ~ max, min, sum, len, all, any

# Introduction In this article, I'd like to cover the list-related functions that are often used in paiza's skill check. We will cover six items: max, min, sum, len, all, and any. Let's go. max

I tried using "Asciichart Py" which can draw a beautiful graph on the console with Python.

![Screen Shot 2020-09-12 at 2.18.23.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/535270/8026d956-b17b-1774-b651-a44a5c677d3b.png) # Introduction Speaking of graphs, [matplotlib]

[Python learning part 3] Convert pandas DataFrame, Series, and standard List to each other

# At the beginning --I want to convert DataFrame, Series, and standard list used in pandas to each other. --When using data processed by pandas in other libraries, it may only support list, so don't

Install python on xserver to use pip

# Purpose Since the Xserver does not have administrator privileges - Python2.7.x /usr/bin/python - Python3.4.x /usr/bin/python3.4 - Python3.6.x /usr/bin/python3.6 Is included, but there is no

Python --Symbols used when performing operations

# Introduction What operators have you used? This article describes various Python operators. # What is an operator? Operators are symbols for performing calculations. +,-, *, ÷, etc. are one of

Codeforces Round # 668 (Div. 2) Bacha Review (9/7)

# This time's results ![スクリーンショット 2020-09-07 20.03.00.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/331393/278c327c-bf9b-7806-b5ac-cc308fb8b85f.png) # Impressions of this time

[DRF] Snippet to speed up PrimaryKeyRelatedField

# Introduction If you set `PrimaryKeyRelatedField` to` many = True` in the serializer, you can pass an array of pk as a request parameter, but it will be messed up if there are a lot of pk. Therefor

Working with DICOM images in Python

# Trigger At the [Kaggle Competition](https://www.kaggle.com/c/osic-pulmonary-fibrosis-progression), CT scan images and DICOM images of the chest came out and I didn't know how to handle them. # Wha

[Python] Reason for dtype "int32" in Numpy (Windows environment) (as of September 2020)

I was curious when I was studying Numpy. For example, create an array of Numpy as follows and check the data type with "dtype". Then, "int32" is returned as follows. * Windows environment is a pre

Let's make a remote rumba [Hardware]

# Introduction Did you know that Roomba can be controlled? Roomba is equipped with a serial port as standard, and it seems that you can use that port to run Roomba as programmed (it seems to be a fa

[Introduction to Udemy Python3 + Application] 63. Generator comprehension

** * This article is from Udemy "[Introduction to Python3 taught by active Silicon Valley engineers + application + American Silicon Valley style code style](https://www.udemy.com/course/python-begi

yukicoder contest 265 Participation record

# yukicoder contest 265 Participation record [A 1223 I hate Golf](https://yukicoder.me/problems/no/1223) [ABC177A --Don't be late](https://atcoder.jp/contests/abc177/tasks/abc177_a) I thought it m

Note: Prepare the environment of CmdStanPy with docker

I prepared a CmdStanPy environment with docker to read "[Bayesian statistical modeling with Stan and R](https://www.kyoritsu-pub.co.jp/bookdetail/9784320112421)". There seemed to be few Japanese mate

Keras lovers tried PyTorch

# Introduction I've been writing Deep Learning programs only in Keras, but now I have to write in PyTorch, so after studying, I tried to make something that works using MNIST as an example. [Correc

[Python3] Code that can be used when you want to cut out an image in a specific size

Accumulation in the sense of memorandum and OUTPUT # Purpose of creation Code to use when you want to crop all working images # Creation environment ・ Windows10 ・ Anaconda3 ・ Python3.7 ・ Jupyt

python beginner memo (9.2-10)

### I put vscode and anaconda ・ I managed to put it in while searching on the Internet, setting.jonson ... ### regression analysis Simple regression ... Estimating another (objective variable) fr

Let's make a remote rumba [Software]

# Introduction This article is a sequel to [Let's make a remote rumba [Hardware]](https://qiita.com/Yurix/items/016e20ab924d613694cb). If you haven't seen the first part yet, please take a look there

Use features that are no longer visible on the UI in Slack

# environment - Ubuntu Linux 18.04 LTS - slack-desktop-4.0.2-amd64.deb # Clear text format Someday the clear button in text format was gone. Apparently it's gone as a feature. Preferences - Adv

[Maya Python] Crush the contents of the script 3 ~ List unknown Plugins

# Purpose of this article We will deepen your understanding while checking the contents of your own tools one by one, and use them for future tool development. It is a continuation of the following

How to list files under the specified directory in a list (multiple conditions / subdirectory search)

Assume the directory where the files are located as shown below. ``` c:\pics\ a.png b.jpg subfolder\ c.png d.jpg ``` # code I made a function like this. "Exts" is a file extension, but I t

How to interactively draw a machine learning pipeline with scikit-learn and save it in HTML

In this article, I will explain the implementation of interactive pipeline confirmation installed from v0.23 of scikit-learn, and how to save and utilize it as HTML. ## environment - scikit-learn=

I tried to explain multiple regression analysis as easily as possible using concrete examples.

# Target person --Those who do not understand simple regression analysis and multiple regression analysis and want to understand # Introduction When I looked up the multiple regression analysis on

"Usable" one-hot Encoding method for machine learning

# Introduction Even if I study, I will forget it soon, so I will post an article on Qiita for memorandum and output practice. I would be grateful if you could comment on any mistakes or better ways.

Run SwitchBot on Windows 10 with Bleak

# Introduction This article is a tutorial article for those who want to perform BLE communication of SwitchBot using Bleak on Windows 10. It connects to SwitchBot and sends instruction bytes. The lan

Correlation coefficient MIC and Hilbert-Schmidt independence test HSIC that can handle non-linear relationships

Pearson's correlation coefficient is a well-known index for measuring the independence of variables. However, it is an index that deals with linear (linear) relationships, and when there is a U-shape

A memorandum of files under conf.d

It is conf.d which is famous for creating vhosts.conf and setting VH, but I also glanced at other conf files and summarized them. - [ ] mod_dnssd.conf Abbreviation for DNS Service Discovery? It lo

[Introduction to Udemy Python3 + Application] 64. Namespace and Scope

** * This article is from Udemy "[Introduction to Python3 taught by active Silicon Valley engineers + application + American Silicon Valley style code style](https://www.udemy.com/course/python-begi