Upload as open data using CKAN API in Python & automatically link with Github Actions

## table of contents 1. [Summary](#Summary) 1. [Prerequisites](# Prerequisites) 1. [Data upload mechanism](#Data upload mechanism) 1. [Automation of data linkage](#Automation of data linkage) 1.

Procedure to exe python file from Ubunts environment construction

## Introduction I've never used Ubunts, and I got into Hyper-V from the beginning. From there, I got various information as to whether there are not many opportunities to exeize python in the world,

Golang: The matter that you want to execute the process at exactly 00:00 or 30 minutes at the specified interval.

# The ticker doesn't work as expected! There is a job that I want to be resident and execute regularly, but if it is a normal ticker, the interval count starts from the time the ticker is created aft

Implemented Efficient GAN with keras

# Overview When I was investigating anomaly detection methods in my work, I found a method called EfficientGAN, but the author's source code did not describe the version of the library and it was dif

Make progress of dd visible in the progress bar

``` $ brew install pv $ pv /path/to/disk.img | sudo dd of=/dev/disk2 bs=1m 681MiB 0:03:42 [2.26MiB/s] [==> ] 9% ETA 0:36:39 ```

Make holiday data into a data frame with pandas

TL;DR ```python from io import StringIO import urllib.request import pandas as pd req = urllib.request.Request('https://holidays-jp.github.io/api/v1/date.csv') with urllib.request.urlopen(req) as r

What is Linux

I'm wondering if there is anything special to write this time. I installed Linux and so on. Direct download installation using PowerShell was fun. I thought that the mouse is convenient again lol

IQ Bot Custom Logic: Delete the last n rows of the table

I want to use IQ Bot to delete the "last n rows" of a table, what should I do? I received a question from a colleague. I'm not sure how many other similar use cases there are, but I'll post a memor

VS Code freezes & PC crashes when I start the server with go

## What happened When I edit the go file with the editor after starting the server with `go run ***. Go`,` gocode-gomod` consumes a lot of CPU and the editor freezes & the PC crashes ... ## environm

Snippets registered in Google Colaboratory (PDF text conversion)

# PDF text conversion pdfminer ### command ```python !pip install pdfminer.six !python /usr/local/bin/pdf2txt.py -o data.txt data.pdf ``` Python ```python from pdfminer.high_level import extract

I just did FizzBuzz with AWS Lambda

Backgroud I have more chances to hear about serverless applications using AWS Lambda, so I tried making it. Preparetion <img src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/288

Tips when amateurs use Flask in Visual Studio

I will omit the installation of Flask. ### Initial configuration of Flask ![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/346533/c861f5fc-866d-92d9-7cf6-936cf29b8d9e.png)

Periodically run a python program on AWS Lambda

# Introduction I installed a schedule execution program using AWS lambda. I will leave it because it was unexpectedly clogged with the basics of lambda. It is assumed that you have created an AWS a

Unify the environment of the Python development team starting with Poetry

# Unify the environment of the Python development team starting with Poetry ## Overview It was when I was asked to look into the environment of a certain development site. The ** environment constru

Display multiple markers on Google Map

Record what you searched for because you wanted to display the target store and nearby stores on Google Map. Since this article is mainly about Javascript description, the description about Google M

Program for Twitter Trend Analysis (Personal Note)

Hello. I am currently studying Twitter trends ** as the title suggests in my second year student at Komazawa University ** GMS Faculty **. ** This article introduces research, code, and potential ref

Get the top nth values in Pandas

# Get the top nth values in Pandas ## things to do [Getting the top nth values in Pandas | Self-consideration Journey](https://own-search-and-study.xyz/2020/10/24/pandas-dataframe-second-max/) I fo

Create Amazon Linux with AWS EC2 and log in

Create Amazon Linux on AWS EC2 and log in. Log in to AWS, Service> EC2> Launch Instance ![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/625472/7be441dc-3107-fbea-cc85-72eb

Get data using Ministry of Internal Affairs and Communications API

# Get data using Ministry of Internal Affairs and Communications API I took the data in Python to create the panel data for econometrics. (It is a memorandum) ## Preparation Python runtime environ

[AtCoder explanation] Control the A, B, C, D problems of ABC183 with Python!

I will explain ** A, B, C, D problems ** of ** AtCoder Beginner Contest 183 ** as carefully as possible with ** Python 3 **. I am aiming to explain a solution that satisfies the following three poi

Implementation of login function in Django

This is my memorandum. I did a lot of research for self-study, but since there were many explanations of version 2 etc., it was complicated, so I will summarize it to some extent. I am writing it

blender, python, spiral staircase, color

Although there are only a few improvements, I changed the focus of the camera by coloring and changing the rotation axis. Video 1 second is [this video](https://mobile.twitter.com/naohiko7/status/13

I tried running python etc. from a bat file

# Run C or python in a bat file It's cold these days. ## Why such a troublesome thing e? why? Well, hey ... what is a dream? Oh, maybe it's easier to understand the detailed method if you google it

How to implement nested serializer in drf-flex-fields

I stumbled upon implementing a nested serializer, so I'll write it as a memo. # Install drf-flex-fields ``` pip install drf-flex-fields ``` model #### **`model.py`** ```py class User(models.Model):

Gorm has many tables AutoMigrate () gets angry with need to define a foreign key

# See has many in the docs https://gorm.io/docs/has_many.html ## Postscript It was fundamentally wrong. I hope it helps someone who makes similar mistakes. # error contents ``` // Vote model type

How to use a tp-link wireless LAN slave unit that does not support Linux

I purchased a tp-link wireless LAN slave unit (hereinafter referred to as wireless LAN), but it seems that it is not compatible with Linux, so I will introduce how to install the driver created by vo

Delete rows with arbitrary values in pandas DataFrame

# Premise For a column with a data frame (here id column), I had to remove all the rows that contained a particular value. I tried to get the line number and various methods, but I made a note becaus

[Linux Mint 20] Various WiFi confirmation commands

In line with the replacement of my home wireless router, I tried to improve the communication status in my house by changing the location of the router, but at that time, I summarized the CUI command

Glue Studio [AWS]

# Introduction This article leverages Glue Studio, released September 23, 2020, to create, run, and monitor GUI-based Glue jobs. <img src = "https://qiita-image-store.s3.ap-northeast-1.amazonaws.co

Go class basics

Recently I started using go language and somehow I can write it, so I think I'll write it like a class soon, so I'll write it here! I will write it for the time being and explain it in detail later.