Skip to content

Instantly share code, notes, and snippets.

View heronshoes's full-sized avatar
💭
☕ Uganda, Mt. Elgon, naturally processed

Hirokazu SUZUKI heronshoes

💭
☕ Uganda, Mt. Elgon, naturally processed
View GitHub Profile
@heronshoes
heronshoes / heronshoes_DevContainers.md
Last active August 31, 2023 23:48
開発コンテナ(Development Containers)を使おう

開発コンテナ(Development Containers)を使おう

  • すごい広島 .rb with Python [76]
  • 2023年7月26日
  • @heronshoes (鈴木弘一)

自己紹介

  • 鈴木 弘一
@heronshoes
heronshoes / RedAmber_depending_with_previous_row.ipynb
Last active June 1, 2023 07:55
前のレコードに依存する表データのRedAmberでの処理方法
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@heronshoes
heronshoes / RubyGrant2022-RedAmber-interim-report.md
Last active January 15, 2023 01:45
Rubyアソシエーション開発助成2022 中間報告

Rubyアソシエーション開発助成2022 中間報告 [RedAmber - A simple dataframe library for Ruby]

 Red ArrowをベースとしたデータフレームライブラリであるRed Amberについて、下記の項目で開発に取り組んでいる。ここでは期間前半の取り組みの成果について報告する。

期間前半では下記のリリースを行なった。変更履歴とリリースノートは下記の通り。

活動内容を下記の項目に分けて報告する。

@heronshoes
heronshoes / how_to_contribute_to_Red_Arrow.md
Last active January 11, 2023 14:35
GitHub onlyのRed Arrowへのコントリビュート手順(仮)

これは、JIRAを使わないGitHubオンリーのRed Arrowへのパッチを送る手順をまとめたものです。 (公式のマニュアルが未だなので、変更があるかもしれません。お気づきの点がございましたら、ご指摘願います。)

1. Issueの種類の選択

https://github.com/apache/arrow/issues に新規のIssueを立てる。 New Issueをクリックすると、

  • Bug Report : File a bug report
  • Enhancement Request : Request an enhancement to the project
  • Usage Question : Ask a question
  • Report a security vulnerability : Please review our security policy for more details.
@heronshoes
heronshoes / Top_50_Software_Startups.ipynb
Created September 10, 2022 12:16
Top 50 Software Startups
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@heronshoes
heronshoes / compare.md
Created September 1, 2022 21:06
Comparing between RedAmber, dplyr/tidyr and pandas

Comparing between RedAmber, dplyr/tidyr and pandas (tentative)

This is the comparison of basic feature between RedAmber and other major DataFrame libraries, comparing only for the method 'verbs' ignoring parameters and options.

Remarks:

  1. dataframe represents 2D data containers such as DataFrame, tibble or Table.
  2. vector represents 1D data containers such as Vector, Series or Column.

Select columns (variables)

@heronshoes
heronshoes / winequality.ipynb
Last active September 4, 2022 05:34
Wine quality
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@heronshoes
heronshoes / answering_DataFrame_by_zverok.md
Last active September 23, 2022 01:09
Answering "On DataFrame datatype in Ruby" by Victor Shepelev aka @zverok.

Answering @zverok 's amazing expectation for DataFrame

This is an answering comments for @zverok 's amazing expectation for DataFrame. I was very impressed to know how my DataFrame library matched his expectations.

Foreword: My RedAmber's DataFrame

Class RedAmber::DataFrame represents 2D-data.

A DataFrame consists with:

@heronshoes
heronshoes / case1.md
Created June 10, 2022 21:38
Comment for red-data-tools / red-datasets #139

red-data-tools / red-datasets #139

Fix Rdatasets#each to change "NA" to nil.

  • This is the data preview after this fix applied.
  • 265 datasets are fixed.
# [package, dataset] pairs
[["AER", "BenderlyZwick"], ["AER", "GrowthDJ"], ["AER", "GSS7402"], ["AER", "MASchools"], ["AER", "STAR"], ["AER", "USMacroG"], ["AER", "USMacroSWM"], ["AER", "USSeatBelts"], ["asaur", "hepatoCellular"], ["boot", "neuro"], ["boot", "urine"], ["carData", "Chile"], ["carData", "Davis"], ["carData", "Freedman"], ["carData", "GSSvocab"], ["carData", "Hartnagel"], ["carData", "UN"], ["carData", "UN98"], ["causaldata", "abortion"], ["causaldata", "adult_services"], ["causaldata", "auto"], ["causaldata", "close_college"], ["causaldata", "nhefs"], ["causaldata", "nhefs_complete"], ["causaldata", "scorecard"], ["causaldata", "social_insure"], ["causaldata", "thornton_hiv"], ["cluster", "animals"], ["cluster", "plantTraits"], ["cluster", "votes.repub"], ["COUNT", "loomis"], ["COUNT", "ships"], ["DAAG", "bomregions"], ["DAAG", "
@heronshoes
heronshoes / case2.md
Last active June 10, 2022 21:39
Comment for red-data-tools / red-datasets #140

red-data-tools / red-datasets #140

Fix Rdatasets#each to change String datatype for mixed data of Numeric and String.

  • This is the data preview after this fix applied.
  • 55 datasets are fixed.
# [package, dataset] pairs
[["AER", "ResumeNames"], ["boot", "tau"], ["carData", "Blackmore"], ["causaldata", "restaurant_inspections"], ["causaldata", "ri"], ["causaldata", "training_example"], ["DAAG", "biomass"], ["DAAG", "hotspots"], ["DAAG", "rockArt"], ["datasets", "attenu"], ["dragracer", "rpdr_ep"], ["drc", "germination"], ["Ecdat", "Mathlevel"], ["Ecdat", "Schooling"], ["gap", "aldh2"], ["gap", "cnv"], ["gap", "mao"], ["ggplot2", "mpg"], ["ggplot2movies", "movies"], ["gt", "gtcars"], ["HistData", "Pyx"], ["MASS", "Cars93"], ["mosaicData", "Galton"], ["mosaicData", "HELPfull"], ["nycflights13", "airports"], ["nycflights13", "planes"], ["openintro", "birds"], ["openintro", "cards"], ["openintro", "cpu"], ["openintro", "epa2012"], ["openintro", "epa2021"], ["openintro", "kobe_basket"], ["openintro",