Skip to content

Instantly share code, notes, and snippets.

View tikazyq's full-sized avatar
🎯
Focusing

Marvin Zhang tikazyq

🎯
Focusing
  • Chongqing, China
View GitHub Profile
package main
import (
"fmt"
"time"
)
func main() {
st := time.Now()
n := 100000000
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Prosper Loan Data Exploration by Yeqing Zhang</title>
<script type="text/javascript">
window.onload = function() {
var imgs = document.getElementsByTagName('img'), i, img;
@tikazyq
tikazyq / graph_analysis_windeln
Created May 1, 2015 21:40
Graph Analysis of Domains Referring to Windeln.de
{"nbformat_minor": 0, "cells": [{"source": "#Graph Analysis of Domains Referring to Windeln.de", "cell_type": "markdown", "metadata": {}}, {"source": "This notebook analyses the domains that are linking to Windeln.de and attempting to help understand the relationship between those websites.", "cell_type": "markdown", "metadata": {}}, {"execution_count": 13, "cell_type": "code", "source": "import os\nimport re\nfrom pandas import *\nimport numpy as np\nimport networkx as nx\nimport matplotlib.pyplot as plt\nfrom mpld3 import display\n\n%matplotlib inline", "outputs": [], "metadata": {"collapsed": false, "trusted": true}}, {"source": "###Read Raw Data\nData produced by backlinks.py", "cell_type": "markdown", "metadata": {}}, {"execution_count": 17, "cell_type": "code", "source": "df = read_csv('C:/workspace/analysis_reporting/joe/milk_china/anchor_urls.csv', sep='\\t')\n# df.head()", "outputs": [], "metadata": {"collapsed": false, "trusted": true}}, {"execution_count": 15, "cell_type": "code", "source": "df_dom
@tikazyq
tikazyq / backlinks
Created May 1, 2015 21:33
This is the IPython notebook for fetching and cleaning backlinks data for Windeln so that we can futher analyze the referral sites behind Windeln.de.