Skip to content

Instantly share code, notes, and snippets.

View sanchit3008's full-sized avatar

Sanchit Agarwal sanchit3008

  • New Delhi
  • 12:00 (UTC +05:30)
View GitHub Profile
@dhammikamare
dhammikamare / Contest_Guide.md
Last active June 25, 2024 17:46 — forked from shashank21j/Contest_Guide.md
Tutorial for create your own contest on HackerRank.
@jseabold
jseabold / skyrim_table.py
Last active June 14, 2018 03:02
Read an HTML table using pandas
# you can use something like this if read_html fails to find a table
# if you have bs4 >= 4.2.1, you can skip the lxml stuff, the tables
# are scraped automatically. 4.2.0 won't work.
import pandas as pd
from lxml import html
url = "http://www.uesp.net/wiki/Skyrim:No_Stone_Unturned"
xpath = "//*[@id=\"mw-content-text\"]/table[3]"