Monitor disk usage on Linux
I wanted to monitor disk usage on Linux, so I looked it up and found the command `watch`. ```bash $ watch -n 1 df -k ``` When you execute, the following screen is refreshed every second. ```bash
I want to climb a mountain with reinforcement learning
 Reinforcement learning is cool, isn't it? This time,
Acclaimed! !! Python Pocket Reference (O'REILLY). I also want a Japanese version. I can't translate it. .. .. There is.
# Purpose The following Python Pocket Reference (O'REILLY) is really easy to use! Python Pocket Reference, 5th Edition Python In Your Pocket By Mark Lutz Publisher: O'Reilly Media (Source: h
How to convert horizontally held data to vertically held data with pandas
First, prepare the data frame below. #### **`Preparation of DataFrame`** ```python import pandas as pd values = [['1', 'John', 'somekey1-1', 'somevalue1-1', 'time1-1', 'somekey2-1', 'somevalue2-
Automatically create word and excel reports in python
# excel edition ## excel creation ```python import openpyxl as opy book = opy.Workbook() ``` ## Check the name of the sheet ```python sheet1 = book.active sheet1.title ``` ## Rename the sheet
[Python] Generator function
# Introduction This article is an article for studying generator functions because it failed to be used without understanding the generator functions. The content is a personal memorandum with refere
Python basic memorandum part 2
# Article summary It is a memorandum that I learned according to [References](#References) with the intention of becoming able to read Python as much as possible. This is a summary of the points tha
Use pyright with Spacemacs
Of [lsp-mode](https://github.com/emacs-lsp/lsp-mode) which is the key to LSP in [Spacemacs](https://github.com/syl20bnr/spacemacs/tree/develop) [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright)
Jupyter Notebook basic operations and shortcut keys
Explains the basic operation method and available shortcut keys for notebooks created with Jupyter Notebook. ### Switch between command mode and edit mode The cells displayed in the notebook have
How to convert Youtube to mp3 and download it super-safely [Python]
This time I will summarize how to download the videos posted on YouTube as mp3. Reference sites and github are also posted. If you have any mistakes or questions, please comment. *important poi
Methods available in the list
# Methods available in the list In addition to sort (), useful methods are defined in the list. Here is a brief description of commonly used methods. * l.reverse () method: Reverse the order Ret
I tried to verify the Big Bang theorem [Is it about to come back?]
# What is the Big Bang theorem? The theory that any word results in the "Big Bang" ## Quote I tried to verify the theory that every word reaches the big bang when the meaning is traced back in the
Download python
Download Python. Please access the URL below. ・ Https://www.python.org/ 
Create your first app with Django startproject
40 years old 6 years ago, I started to work concurrently from the accounting department to the information system, and I learned VBA by myself and have created about 20 to improve the business of the
Monitor traffic on Linux
I tried to monitor the disk capacity with [previous article](https://qiita.com/zrock/items/41371460832d2013342f). By the way, I wanted to measure the traffic, so I passed ʻifconfig` to the` watch` c
Python memo ① Folder and file operations
# Basic operation of files and folders by python This is a memo for myself. The version is python3.7.1. I will add it as needed. ## Create folder #### **` make_folder.py`** ```py # make folder imp
Use django model from interpreter
When I try to access django's model directly from the interpreter, I get angry with the following error: ``` django.core.exceptions.ImproperlyConfigured: Requested setting LOGGING_CONFIG, but settin
Tutorial for doing Test Driven Development (TDD) in Flask ―― 1 Test Client
# Introduction We will teach you the know-how necessary for test-driven development with Flask over a total of 5 times (which is planned and subject to change). In this article, I will introduce the
Beginners use Python for web scraping (1)
I don't know the K character in the cloud or the P character in Python, It's been a month since I started studying Python + GCP. Began to be interested in web scraping in Python How to use request
Make custom settings for Jupyter Lab when creating docker image
Until now, when building a data analysis environment, I used to build a virtual environment with Anaconda and do `pip install`. However, in this case, you may not be able to build the same environmen
pandas category type aggregation trap
# pandas category type aggregation trap If dtype is category, it may be aggregated even for non-existent values. ```python import pandas as pd # version 1.1.2 #Define DataFrame df = pd.DataFrame(
Download Anaconda
### Download Anaconda Anaconda is a distribution that installs Python itself and libraries such as NumPy and Jupyter that are often used in Python together (a package of necessary software). To ins
In Django, how to abbreviate the long displayed string as ....
I'm making a blog with Django and it's hard to see even if there is a long sentence on the home, so I was looking for a way to abbreviate it, and I found something like this, so I will share it. Dja
Hyperparameter tuning
# Introduction I tried to create a model using CNN for handwriting recognition, but I didn't know how to set hyperparameters to create a highly accurate model, so I searched for the optimum paramete
-Delete is good for deleting files searched by find
# Introduction I had the task of writing a shell script to find and delete the backed up files from the database. I knew that there was a find command to search for files, but I was looking for a co
[Python] How to handle inf and NaN in numpy mean, standard deviation, maximum / minimum
# Problems that occurred For the output of image processing (image evaluation) software using numpy in python3, Inf and NaN are included in the mean, standard deviation, maximum, and minimum. ####
Building a machine learning environment with Tellus GPU server (Sakura high-power computing)
# Introduction * Described the procedure for building a machine learning environment on the Tellus GPU server (high thermal power computing). * Check the following three items to check the operatio
Mastering OpenWRT (LEDE): LINE Notify
# Introduction Build a LINE Notify environment on the OpenWRT / LEDE NAS server, Here are some tips for receiving notifications from the server. That said, it doesn't happen in a new and stable en
[LINUX kernel rebuild] Version upgrade (4.18.0 → 5.8.8)
## Target Complete the kernel version upgrade (4.18.0 → 5.8.8) installed in AWS EC2 (Red Hat Enterprise Linux 8 (HVM), SSD Volume Type). ## Premise One AWS EC2 server (Red Hat Enterprise Linux 8 (H
JupyterLab Basic Setup for Data Analysis (pip)
A JupyterLab setting procedure A base setting with minimum packages via pip This is the basic setting of Jupyter Lab by pip. Prerequisite - Windows 10 - `python` 3.8+ - `nodejs` 10+ - Microsoft Vis