More than 5 years have passed since last update.
df[:0]
これだけ。 0 行目より手前を取り出す、と指定しているので、実質、空になる。
Register as a new user and use Qiita more conveniently