Differences and commonalities between dict, list, and tuple types
# What is dict type, list type, tuple type? * dict type This type handles dictionaries. Using `{}`, `{key 1: value 1, key 2: value 2, key 3: value 3}` * list type A type that handles a variable
[Python: UnicodeDecodeError] One of the error solutions when reading CSV
# Introduction Recently, there have been many opportunities to collect sensor data on an Android device, convert it from JSON format to CSV format using Python, and format the data. So, I got stuck
Bit operation of ring buffer (high speed)
# Background When using the ring buffer, the surplus was used to calculate the index. A programmer at work told me that I can do bit operations, so I'll write it down here. Code(Python) #### **`rin
The story of viewing media files in Django
# How do I view media files in Django? First of all, it looks like this to accept file registration with a Web service. File registration ↓ File display In particular, Django has a class calle
Data analysis by clustering using k-means method (python) ([High school information department information II] teaching materials for teacher training)
# Introduction One of the non-hierarchical clustering methods is the k-means method (k-means method). The description of "Chapter 3 Information and Data Science Second Half Learning 16. Classificat
Basics of Quantum Information Theory: Logical Operation by Toric Code (Brading)
$$ \def\bra#1{\mathinner{\left\langle{#1}\right|}} \def\ket#1{\mathinner{\left|{#1}\right\rangle}} \def\braket#1#2{\mathinner{\left\langle{#1}\middle|#2\right\rangle}} $$ ## Introduction [Previous
A memorandum (masOS) that import tkinter could not be done with python installed from pyenv
# Preface This post is N high school student who will be the second article post. In this article, I couldn't import tkinter with python installed from pyenv, so I will write a workaround to enable
It may be a problem to use Japanese for folder names and notebook names in Databricks
# Conclusion first If you use ** Japanese for the folder name or Notebook name **, use [dbutils.notebook.run](https://docs.databricks.com/notebooks/notebook-workflows.html#api) to use another There i
[RHEL / CentOS 8] Network settings memo
# How to use nmcli The text-based user interface `nmtui` for network settings is intuitive, so here's a note of the command line interface` nmcli`. <img src="https://qiita-image-store.s3.ap-northe
IQ Bot Custom Logic: Split Application (Apply to Table, Include Error Control)
The basics of Split handled by IQ Bot are described in [this article](https://qiita.com/IQ_Bocchi/items/127aa72bfaf2b2571190). The above only touches on splits for fields, and the logic does not in
Record addicted to Basemap
I got an error ```py from mpl_toolkits.basemap import Basemap ModuleNotFoundError: No module named 'mpl_toolkits.basemap' ``` I put this in ``` !pip install mpl_toolkits !conda install -y basema
Introduction to machine learning Note writing
[Aidemy](https://aidemy.net) 2020/9/23 # Introduction Hello, it is Yope! I'm a liberal arts college student, but I'm interested in the AI field, so I'm studying at the AI-specialized school "Aidemy".
Django starting from scratch (part: 1)
# Reason I'm working and there are a lot of things related to Django's libraries that I wanted to touch once # Purpose --Understanding the flow of application creation --Understand the libraries yo
I tried to create Quip API
## Introduction I accessed a specific document in Quip with the Quip API to parse the text stored in Sheets on Quip. Make a note of the access method at that time for personal use. * Since it is a p
Kintone REST API snippet (How to write API token authentication header, how to write login name password authentication header, how to write query)
# I tried using it all over, so a memorandum about what I often use I studied REST API for the first time to use some data from Kintone at the internship. On top of that, I've summarized only the Ki
How to embed a variable in a python string
# How to embed a variable in a python string ・ Here, I will introduce two. ・ 1, f-string ・ 2, format () f-string A character string defined by prefixing with f ``` a="apple" f"I like an {a}"#Re
Missing key (s) in state_dict: "bert.embeddings.position_ids".
I get this error when loading earlier models with transformers3. As a countermeasure, you can downgrade
Make a note of what you want to do in the future with Raspberry Pi
## This article It's okay to buy a Raspberry Pi 3 for study and interest, but I don't have time to touch it, but I have more and more things I want to do. So, I will summarize it as a memorandum on
Two rules when reading Python (slice notation)
This time I will write about Python slice notation. Slices are written with simple rules, but for beginners If you use it several times, you may get confused at some moments. At that time, I wil
Try Fortran with VS Code up to debug settings. [Win10]
# at first When building and debugging Fortran on Windows, I investigated what kind of tools should be combined. I was a little stuck with a problem that did not stop at the breakpoint in debugging
A story I was addicted to trying to install LightFM on Amazon Linux
The title is as it is, but as a memorandum. The conclusion is that "Amazon Linux gcc does not include the OpenMP runtime environment, so a manual reinstallation is required." Please check this ar
Object detection using YOLO (python) ([High School Information Department Information II] Teacher training materials)
# Introduction As the name implies, YOLO (You Only Look Once) is an epoch-making algorithm that recognizes and detects an object just by looking at it once like a human being. Compared to the conve
When I made a recommended game search with YoutubeDataAPIv3 and fastText, I found a game that seemed to be interesting that I had never known before.
We will talk about collecting live videos on Youtube, creating distributed expressions with fastText, and creating a service that allows you to search for recommended games according to your taste.
Make Jupyter Notebook a service on CentOS
# Introduction Make a note of the procedure for building a Python environment on Cent OS. This is just a memo about the construction procedure, so when actually building in the production environme
[Note] Regarding Tensorflow
# Introduction I would like to summarize what I found by using Tensorflow (Keras) so far. # 1. Installation of Tensorflow in a virtual environment When installing Tensorflow in a virtual environmen
I can't install mysql-connector-python with anaconda
# Status I'm using anaconda to learn python, but when I try to install it to use the database, I get an error ``` % conda install mysql-connector-python Collecting package metadata (current_repodata
Shared screen screenshot exe app with python
# Introduction Recently, lessons and meetings are increasingly held using web conferencing systems such as zoom. However, the major drawback of online lessons is that the blackboard shared on the scr
Automatic launch of Raspberry Pi programs using Systemd
# Introduction The content of this article is only the procedure that worked for the time being. # Target application https://qiita.com/takmot/items/987b493afeeada75925f The UDP receiver program
Resolve UnicodeDecodeError in kivy JsonStore
# Problem error When dealing with json using storage module in Kivy, I ran into the following error. * The environment is python3.8, but I don't think there is a big difference. ``` File "C:\pro
Scraping the rainfall data of the Japan Meteorological Agency and displaying it on M5Stack
## Overview * In an apartment house, I couldn't see the rain from the window, so I often noticed the rain after going out to the entrance and returned to pick up my umbrella. * In some office buildi