2019-09-16から1日間の記事一覧

【Excel】【VBA】行列を入れ替える

Dim last_row As Integer last_row = Cells(Rows.Count, 1).End(xlUp).Row Range("A1").Select Selection.CurrentRegion.Select Selection.Copy Cells(last_row + 1, 1).PasteSpecial Transpose:=True Rows("1:" & last_row).Delete Shift:=xlUp

Pandas備忘録

インデックスの変更 A B day_of_the_week 2018/1/1 1.2 13.5 Mon 2018/1/10 2.5 12.1 Wed 2018/1/15 1.4 10.9 Mon 2018/1/22 3.2 11.5 Mon 2018/2/5 1.8 10.6 Mon 2018/2/12 2.2 10.1 Mon 2018/2/19 2.8 11.7 Mon 2018/2/26 3.4 12.5 Mon 2018/3/5 1.9 10.0 …