Why the dataframes cannot be merged?

1. Assign the same data type for the merge keys Given two pandas.DataFrames: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # a_df # amount # CODE # 20262 3.0 # 20270 1.0 # 20280 4.0 # 20281 1.0 # 20299 5.0 # b_df # CODE limit # 0 20299 4 # 1 20262 5 # 2 20270 6 # 3 20280 4 # 4 20281 3 # 5 30001 3 When I try to do outer join with pandas.

Introduction of Redux

Create template project Pre-requisite Install node.js Install VSCode see Introduction of Typescript Add chrome extension - Redux devtools Install template 1 npx create-react-app . --template redux Then you can start template project by: 1 npm start Reference redux.js.org

Introduction of Typescript

For building some simple frontend apps with React, typescript worth understanding especially for its type strictness and inference. Below code is just a memo for my private reference. Create template project Pre-requisite Install node.js Install VSCode Add extensions for VSCode ES7 React/Redux/GraphQL/R (Compliment function for react) Prettier (Code formatter) Configure prettier VSCode > settings > (type “save”) > check “editor: format on save” Install template 1 npx create-react-app .

dplyr introduction

This article is record note for Hands-on dplyr tutorial. I updated source code provided as a lecture materials of Gatech MGT6203 based on youtube instruction Hands-on dplyr tutorial for faster data manipulation in R Packages preparation 1 2 3 4 5 6 7 8 9 10 11 suppressMessages(library(dplyr)) if (!require(hflights)) install.packages("hflights") suppressMessages(library(hflights)) # explore data data(hflights) head(hflights) #tbl_df for pretty printing flights <- tbl_df(hflights) filter verb filter rows by value

Change Google colaboratory default language as R

Note Without doing below, you may see a GUI menu on Colab; Runtime > Change runtime type, then change the type of runtime into R. I’m not sure what enables this settings because some notebooks seem not have options for changing the type of runtime. If you do not see the options, below procedure would be an alternative. Option1. Create notebook with R language from URL endpoint Below link enables blank noteboook with default kernel language R.

Setup git client for https access to github using token

I needed to connect to company’s github.com domain access with organizations SSO. Some of local script refers to the github.com space with https access which requires configuration for token setup by github CLI. Add remote URL (if applicable) For accessing to new remote address, you may add remote url by git remote add command. 1 2 3 4 5 6 7 $ git remote add origin https://github.com/user/repo.git # Set a new remote $ git remote -v # Verify new remote > origin https://github.