Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 9b27cbe

Browse files
committed
Merge branch 'master' into cloudml
2 parents f220fd0 + 7e9c351 commit 9b27cbe

File tree

16 files changed

+7
-25
lines changed

16 files changed

+7
-25
lines changed

datalab/bigquery/_table.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import codecs
2323
import csv
2424
import datetime
25-
import math
2625
import pandas
2726
import time
2827
import traceback

datalab/context/_project.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
from __future__ import unicode_literals
1616
from builtins import object
1717

18-
import os
19-
2018
import datalab.utils
2119

2220
from . import _api

datalab/data/_csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import os
2424
import pandas as pd
2525
import random
26-
from sklearn.feature_extraction.text import CountVectorizer
26+
2727
try:
2828
from StringIO import StringIO
2929
except ImportError:

datalab/data/_sql_module.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from builtins import object
1919

2020
import shlex
21-
import types
2221

2322
from . import _sql_statement
2423
from . import _utils

datalab/mlalpha/_cloud_predictor.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,11 @@
1212

1313

1414
from googleapiclient import discovery
15-
import json
16-
from numbers import Number
1715
import pandas as pd
1816

19-
import google.cloud.ml as ml
20-
2117
import datalab.context
2218
import datalab.utils
2319

24-
from . import _metadata
25-
2620

2721
# TODO(qimingj) Remove once the API is public since it will no longer be needed
2822
_CLOUDML_DISCOVERY_URL = 'https://storage.googleapis.com/cloud-ml/discovery/' \

datalab/mlalpha/_cloud_runner.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212

1313
import datetime
1414
from googleapiclient import discovery
15-
import json
16-
import google.cloud.ml as ml
17-
import os
1815

1916
import datalab.context
2017

datalab/mlalpha/_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import os
1717
import pandas as pd
1818
import pandas_profiling
19-
from plotly.graph_objs import Histogram, Layout, Scatter, Scatter3d
19+
from plotly.graph_objs import Histogram, Scatter, Scatter3d
2020
from plotly.offline import iplot
2121
from plotly import tools
2222
import seaborn as sns

datalab/mlalpha/_local_predictor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import numpy
1818
import os
1919
import pandas as pd
20-
import yaml
2120

2221
import google.cloud.ml as ml
2322

datalab/mlalpha/_local_runner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import json
1616
import os
1717
import psutil
18-
import socket
1918
import subprocess
2019
import tempfile
2120
import time

datalab/notebook/static/charting.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,9 +807,9 @@ module Charting {
807807
this.base_options.showRowNumber = true;
808808
}
809809
this.base_options.sort = 'disable';
810-
var _this = this;
810+
var __this = this;
811811
this.driver.addPageChangedHandler(function (page:number) {
812-
_this.handlePageEvent(page);
812+
__this.handlePageEvent(page);
813813
});
814814
}
815815

0 commit comments

Comments
 (0)