Skip to content

Instantly share code, notes, and snippets.

@hamletbatista
Created February 27, 2019 22:17

Revisions

  1. hamletbatista created this gist Feb 27, 2019.
    7 changes: 7 additions & 0 deletions splitting_google_urls_by_1k.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    google_df = df[df["category"] == "google"]

    first = google_df[:1000]
    second = google_df[1000:2000]
    third = google_df[2000:3000]
    last = google_df[3000:]