[Python] Multiplication table using for statement

I made a multiplication table using the for statement. ```python for i in range(1, 10): for j in range(1, 10): print(i * j, end=' ') print() ``` `` end`` specifies what to outp

How to read CSV files in Pandas

In this article How to read CSV files in Pandas I will write about. This article also uses Jupyter lab. We will start on the assumption that you have installed it. ## What is a CSV file? comma

I tried "Implementing a genetic algorithm (GA) in python to solve the traveling salesman problem (TSP)"

# Introduction Since this is Qiita's first post, please give us all the details such as not only the content but also the format and writing style. ### [Implementing the genetic algorithm (GA) in py

I-town page scraping with selenium

# Preface Around 2020, the specifications of the i-town page changed, so I created a script corresponding to it. Create a script like the one below Enter keywords and areas and search on the i-tow

Convenient Linux shortcuts (for beginners)

## Introduction --I am a beginner who wants to continue learning Linux. ――It's an article that I just wrote down while moving my hand to check the shortcuts that are likely to shorten the time. ――

Get the key for the second layer migration of JSON data in python

## File example For example, when you want to get the value using `" ruleId "` as a key #### **`test.json`** ```json { "timestamp": 1604751455679,

I get an error when I try to raise Python to 3 series using pyenv on Catalina

## environment mac OS Catalina Version 10.15.7 I have Xcode installed (Version 12.1), but it hasn't been open all the time ## Ordinary procedure ```$ python --version``` Check the current version

Automation of creation of working hours table created at the end of the month with Selenium

This is a memo that automates one troublesome simple task. Because it was necessary to acquire data from the site that requires login this time I used selenium for the first time, but it's conveni

configparser

```py import configparser config = configparser.ConfigParser() config['DEFAULT'] = { 'debug': True } config['web_server'] = { 'host': '127.0.0.1', 'port': 80 } config['db_server'] = {

Easy time series prediction with Prophet

# 1.First of all Recently, I tried using Prophet for easy time series prediction. Since it's a big deal, I decided to share everything from introduction to operation, so I wrote an article. *

streamlit explanation Japanese translation

The following Japanese translation. https://docs.streamlit.io/en/latest/main_concepts.html # Create an app ### Execution method streamlit run your_script.py [-- script args] As soon as you run the

Try implementing Yubaba in Go language

[Implementing Yubaba in Java](https://qiita.com/Nemesis/items/c7192a7c510788d2cba2) (@ Nemesis) was buzzing, so It's completely piggybacking, but it seems to be fun, so I'll implement Go Auntie in G

streamlit tutorial Japanese translation

The following Japanese translation. https://docs.streamlit.io/en/latest/tutorial/create_a_data_explorer_app.html#create-an-app # Create an app uber_pickups.py ```python import streamlit as st impo

Procedure for building a kube environment on amazon linux2 (aws) ~ (with bonus)

## Prerequisites ・ Freshly made amazon linux2 (centos) ## 1. Until docker environment construction on ec2 First, build docker on amazon linux2 referring to here. https://docs.aws.amazon.com/ja_jp/

yukicoder contest 273 Participation record

# yukicoder contest 273 Participation record [A 1279 Array Battle](https://yukicoder.me/problems/no/1279) It seems that the score when a <sub> i </ sub> is sorted in descending order and b <sub> i

Give a Python decorator an alias that passes fixed arguments

# motivation Sometimes you want to fix a variable in a Python variable decorator and give it an alias. This time, we will target the following general-purpose decorator `tag`. #### **`main.py--Im

USB over ethernet using Raspberry pi

# Introduction A cohesive article on how to share ** multiple ** USB devices over a network using USB / IP (universal serial bus extension over IP network) ** for free ** (without paying license fees

Data wrangling (pdfplumber) PDF about influenza outbreak situation of Ministry of Health, Labor and Welfare

Created [PDF data wrangling about influenza outbreak situation of Ministry of Health, Labor and Welfare](https://qiita.com/barobaro/items/88bb9cdcbf080382c27f) with pdfplumber It's easy because you

What's new in Python 3.10 (Summary)

## Introduction I've posted an article summarizing the contents of What's New since Python 3.5. * [What's new in Python 3.5](http://qiita.com/ksato9700/items/9a0aef07d90d00e67525) * [What's new i

samba settings

# Try installing samba on Raspberry Pi 3 Model B ## environment - Raspberry Pi 3 Model B - OS : Raspberry Pi OS (32bit) - Linux raspberrypi 5.4.51-v7+ ## Installation --Command #### **`comman

Moving object separation with Robust PCA

# Introduction In the previous article (https://qiita.com/matsxxx/items/652e58f77558faecfd23), I showed an example of separating moving objects in a video with Dynamic Mode Decomposition (DMD). In t

EC2 / Amazon Linux2: What to do if you get an "unable to execute'gcc': No such file or directory" error with pip install

## Overview When I run `pip install -r requirements.txt` on EC2 / Amazon Linux2, the following 30 lines of error text are output and the installation fails. ``` ERROR: Command errored out with exit

[Environment construction] @anaconda that runs keras / tensorflow on GPU

# Note ――I hope you can think of it as a personal memo when building the environment again someday. ――Since the evolution is fast, the version may be different from the current one. ――We cannot tak

How to use C216 Audio Controller on Arch Linux

Recently I changed the motherboard to `Z77M-D3H`. There is no sound when I connect the SSD of Arch Linux. After investigating, it seems that the kernel module settings should be added. If you recre

Search for large files on Linux from the command line

Search for large files on Linux from the command line ``` Search for files of 100MB or more under the current directory $ find ./ -size +100M | xargs ls -lh Output the size of each file in the curr

How to set browser location in Headless Chrome

When scraping, some sites may ask for your browser's (geo) location. This article is a personal note about the solution when using Selenium + Headless Chrome + Python. ## environment EC2 (Amazon Lin

Google form automatic response to overcome corona entry / exit management

# Introduction When leaving the laboratory due to coronavirus, it is necessary to enter the entry / exit time of the day on Google form. It is a project to make it fully automatic because it is tr

Create a Mastodon bot with a function to automatically reply with Python

# Introduction I tried to make a Mastodon bot and it was surprisingly easy, so I will summarize it. The only library to use is "Mastodon.py", so please pip it in advance. # Initial setting First o

Error handling during Django migrate'DIRS': [BASE_DIR /'templates']

(Django learning notes) An error occurred when migrating db with django, so a correction memo. Include / as a string and combine BASE_DIR and'templates' with the'+' operator. #### **`Terminal (

[Python] [Machine learning] Beginners without any knowledge try machine learning for the time being

# Premise Me: A beginner who has never studied or touched machine learning Machine learning is a technology that you should know in the future, and I thought I would like to use it for a while. I w