This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
st := time.Now() | |
n := 100000000 |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"nbformat_minor": 0, "cells": [{"source": "#Windeln Backlinks Data", "cell_type": "markdown", "metadata": {}}, {"source": "The script is for fetching and cleaning backlinks data for Windeln so that we can futher analyze the referral sites behind Windeln.de.", "cell_type": "markdown", "metadata": {}}, {"execution_count": 1, "cell_type": "code", "source": "from urlparse import urlparse\nfrom lxml import etree\nimport json\nimport re\nimport os\n\nimport requests\nfrom bs4 import BeautifulSoup\nfrom pandas import *\nimport numpy as np\nimport matplotlib.pyplot as plt\nimport seaborn as sns\n\n%matplotlib inline", "outputs": [], "metadata": {"collapsed": false, "trusted": true}}, {"source": "##Backlinks Data", "cell_type": "markdown", "metadata": {}}, {"source": "The data is downloaded from http://webmeup.com/.", "cell_type": "markdown", "metadata": {}}, {"execution_count": 3, "cell_type": "code", "source": "# data downloaded from http://webmeup.com/\nfpath = 'C:/workspace/analysis_reporting/joe/milk_china/winde |