pandas-ml / pandas-ml

pandas, scikit-learn, xgboost and seaborn integration
BSD 3-Clause "New" or "Revised" License
318 stars 78 forks source link

PEP8 #61

Closed s-celles closed 8 years ago

s-celles commented 8 years ago

We might add flake8 to ensure that code is PEP8 valid.

See https://github.com/scls19fr/pandas_confusion/blob/master/.travis.yml

s-celles commented 8 years ago
flake8 --ignore E501 pandas_ml/

returns

pandas_ml/__init__.py:3:1: F401 'ModelFrame' imported but unused
pandas_ml/__init__.py:3:1: F401 'ModelSeries' imported but unused
pandas_ml/__init__.py:4:1: F401 'info' imported but unused
pandas_ml/__init__.py:5:1: F401 '__version__' imported but unused
pandas_ml/tools.py:20:14: W292 no newline at end of file
pandas_ml/core/__init__.py:3:1: F401 'ModelFrame' imported but unused
pandas_ml/core/__init__.py:4:1: F401 'ModelSeries' imported but unused
pandas_ml/core/accessor.py:5:1: F401 'np' imported but unused
pandas_ml/core/accessor.py:6:1: F401 'pd' imported but unused
pandas_ml/core/accessor.py:8:1: F401 'Appender' imported but unused
pandas_ml/core/accessor.py:8:1: F401 'cache_readonly' imported but unused
pandas_ml/core/accessor.py:175:13: W292 no newline at end of file
pandas_ml/core/frame.py:18:1: F401 'misc' imported but unused
pandas_ml/core/frame.py:99:48: E261 at least two spaces before inline comment
pandas_ml/core/frame.py:99:49: E262 inline comment should start with '# '
pandas_ml/core/frame.py:100:9: E125 continuation line with same indent as next logical line
pandas_ml/core/frame.py:100:9: E128 continuation line under-indented for visual indent
pandas_ml/core/frame.py:352:37: E261 at least two spaces before inline comment
pandas_ml/core/frame.py:449:37: E128 continuation line under-indented for visual indent
pandas_ml/core/frame.py:535:32: E128 continuation line under-indented for visual indent
pandas_ml/core/frame.py:633:32: E128 continuation line under-indented for visual indent
pandas_ml/core/frame.py:831:5: E303 too many blank lines (2)
pandas_ml/core/generic.py:6:1: F401 'cache_readonly' imported but unused
pandas_ml/core/generic.py:119:47: E714 test for object identity should be 'is not'
pandas_ml/core/groupby.py:4:1: F401 'cache_readonly' imported but unused
pandas_ml/core/series.py:3:1: F401 'np' imported but unused
pandas_ml/misc/__init__.py:3:1: F401 'transform_with_patsy' imported but unused
pandas_ml/misc/__init__.py:3:60: W292 no newline at end of file
pandas_ml/misc/test/test_patsy.py:3:1: F401 'datetime' imported but unused
pandas_ml/misc/test/test_patsy.py:4:1: F401 'warnings' imported but unused
pandas_ml/misc/test/test_patsy.py:7:1: F401 'compat' imported but unused
pandas_ml/misc/test/test_patsy.py:9:1: F401 'datasets' imported but unused
pandas_ml/misc/test/test_patsy.py:21:28: E127 continuation line over-indented for visual indent
pandas_ml/misc/test/test_patsy.py:22:28: E127 continuation line over-indented for visual indent
pandas_ml/misc/test/test_patsy.py:48:28: E127 continuation line over-indented for visual indent
pandas_ml/misc/test/test_patsy.py:49:28: E127 continuation line over-indented for visual indent
pandas_ml/plotting/__init__.py:3:1: F401 'ClassifierPlotter' imported but unused
pandas_ml/plotting/__init__.py:3:1: F401 'RegressorPlotter' imported but unused
pandas_ml/plotting/estimator.py:5:1: F401 'cache_readonly' imported but unused
pandas_ml/plotting/estimator.py:86:1: E302 expected 2 blank lines, found 1
pandas_ml/plotting/estimator.py:115:13: F841 local variable 'imshow_handle' is assigned to but never used
pandas_ml/plotting/estimator.py:147:13: F841 local variable 'imshow_handle' is assigned to but never used
pandas_ml/plotting/estimator.py:176:40: E241 multiple spaces after ','
pandas_ml/plotting/estimator.py:185:9: F401 'Axes3D' imported but unused
pandas_ml/plotting/estimator.py:201:18: W292 no newline at end of file
pandas_ml/plotting/test/test_estimator.py:3:1: F401 'np' imported but unused
pandas_ml/plotting/test/test_estimator.py:4:1: F401 'pd' imported but unused
pandas_ml/seaborn/__init__.py:3:1: F401 'SeabornMethods' imported but unused
pandas_ml/seaborn/base.py:5:1: E265 block comment should start with '# '
pandas_ml/seaborn/base.py:7:1: F401 'np' imported but unused
pandas_ml/seaborn/base.py:8:1: F811 redefinition of unused 'pd' from line 3
pandas_ml/seaborn/base.py:9:1: F401 'cache_readonly' imported but unused
pandas_ml/seaborn/base.py:28:37: E231 missing whitespace after ','
pandas_ml/seaborn/base.py:63:38: E128 continuation line under-indented for visual indent
pandas_ml/seaborn/base.py:169:1: E303 too many blank lines (3)
pandas_ml/seaborn/base.py:210:1: E302 expected 2 blank lines, found 1
pandas_ml/seaborn/test/test_sns.py:4:1: F401 'pd' imported but unused
pandas_ml/seaborn/test/test_sns.py:13:1: E402 module level import not at top of file
pandas_ml/seaborn/test/test_sns.py:15:1: E402 module level import not at top of file
pandas_ml/seaborn/test/test_sns.py:27:1: E302 expected 2 blank lines, found 1
pandas_ml/seaborn/test/test_sns.py:93:15: E261 at least two spaces before inline comment
pandas_ml/seaborn/test/test_sns.py:179:55: E703 statement ends with a semicolon
pandas_ml/seaborn/test/test_sns.py:227:1: E302 expected 2 blank lines, found 1
pandas_ml/seaborn/test/test_sns.py:320:15: E261 at least two spaces before inline comment
pandas_ml/seaborn/test/test_sns.py:392:1: E303 too many blank lines (3)
pandas_ml/skaccessors/__init__.py:3:1: F401 '_maybe_sklearn_data' imported but unused
pandas_ml/skaccessors/__init__.py:4:1: F401 'ClusterMethods' imported but unused
pandas_ml/skaccessors/__init__.py:5:1: F401 'CovarianceMethods' imported but unused
pandas_ml/skaccessors/__init__.py:6:1: F401 'CrossDecompositionMethods' imported but unused
pandas_ml/skaccessors/__init__.py:7:1: F401 'CrossValidationMethods' imported but unused
pandas_ml/skaccessors/__init__.py:8:1: F401 'DecompositionMethods' imported but unused
pandas_ml/skaccessors/__init__.py:9:1: F401 'EnsembleMethods' imported but unused
pandas_ml/skaccessors/__init__.py:10:1: F401 'FeatureExtractionMethods' imported but unused
pandas_ml/skaccessors/__init__.py:11:1: F401 'FeatureSelectionMethods' imported but unused
pandas_ml/skaccessors/__init__.py:12:1: F401 'GaussianProcessMethods' imported but unused
pandas_ml/skaccessors/__init__.py:13:1: F401 'GridSearchMethods' imported but unused
pandas_ml/skaccessors/__init__.py:14:1: F401 'IsotonicMethods' imported but unused
pandas_ml/skaccessors/__init__.py:15:1: F401 'LearningCurveMethods' imported but unused
pandas_ml/skaccessors/__init__.py:16:1: F401 'LinearModelMethods' imported but unused
pandas_ml/skaccessors/__init__.py:17:1: F401 'ManifoldMethods' imported but unused
pandas_ml/skaccessors/__init__.py:18:1: F401 'MetricsMethods' imported but unused
pandas_ml/skaccessors/__init__.py:19:1: F401 'NeighborsMethods' imported but unused
pandas_ml/skaccessors/__init__.py:20:1: F401 'PipelineMethods' imported but unused
pandas_ml/skaccessors/__init__.py:21:1: F401 'PreprocessingMethods' imported but unused
pandas_ml/skaccessors/__init__.py:22:1: F401 'SVMMethods' imported but unused
pandas_ml/skaccessors/cluster.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/cluster.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/cluster.py:90:1: W391 blank line at end of file
pandas_ml/skaccessors/covariance.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/covariance.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/cross_decomposition.py:3:1: F401 'warnings' imported but unused
pandas_ml/skaccessors/cross_decomposition.py:5:1: F401 'np' imported but unused
pandas_ml/skaccessors/cross_decomposition.py:6:1: F401 'pd' imported but unused
pandas_ml/skaccessors/cross_decomposition.py:56:22: W292 no newline at end of file
pandas_ml/skaccessors/cross_validation.py:5:1: F401 'np' imported but unused
pandas_ml/skaccessors/cross_validation.py:135:1: W391 blank line at end of file
pandas_ml/skaccessors/decomposition.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/decomposition.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/ensemble.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/ensemble.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/ensemble.py:5:1: F401 'cache_readonly' imported but unused
pandas_ml/skaccessors/ensemble.py:36:9: F841 local variable 'data' is assigned to but never used
pandas_ml/skaccessors/feature_extraction.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/feature_extraction.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/feature_extraction.py:40:32: E128 continuation line under-indented for visual indent
pandas_ml/skaccessors/feature_extraction.py:42:1: W391 blank line at end of file
pandas_ml/skaccessors/feature_selection.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/feature_selection.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/feature_selection.py:20:1: W391 blank line at end of file
pandas_ml/skaccessors/gaussian_process.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/gaussian_process.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/gaussian_process.py:5:1: F401 'cache_readonly' imported but unused
pandas_ml/skaccessors/gaussian_process.py:62:1: W391 blank line at end of file
pandas_ml/skaccessors/grid_search.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/isotonic.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/isotonic.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/isotonic.py:5:1: F401 'cache_readonly' imported but unused
pandas_ml/skaccessors/isotonic.py:45:1: W391 blank line at end of file
pandas_ml/skaccessors/learning_curve.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/learning_curve.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/linear_model.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/linear_model.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/linear_model.py:96:1: W391 blank line at end of file
pandas_ml/skaccessors/manifold.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/manifold.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/manifold.py:24:46: E241 multiple spaces after ','
pandas_ml/skaccessors/metrics.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/metrics.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/metrics.py:7:37: E128 continuation line under-indented for visual indent
pandas_ml/skaccessors/metrics.py:8:37: E128 continuation line under-indented for visual indent
pandas_ml/skaccessors/metrics.py:36:9: F841 local variable 'func' is assigned to but never used
pandas_ml/skaccessors/metrics.py:42:13: F841 local variable 'msg' is assigned to but never used
pandas_ml/skaccessors/metrics.py:43:30: F821 undefined name 'msf'
pandas_ml/skaccessors/neighbors.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/neighbors.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/neighbors.py:20:1: W391 blank line at end of file
pandas_ml/skaccessors/pipeline.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/pipeline.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/pipeline.py:6:1: F401 '_attach_methods' imported but unused
pandas_ml/skaccessors/pipeline.py:26:39: W292 no newline at end of file
pandas_ml/skaccessors/preprocessing.py:17:1: E302 expected 2 blank lines, found 1
pandas_ml/skaccessors/preprocessing.py:57:1: E302 expected 2 blank lines, found 1
pandas_ml/skaccessors/svm.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/svm.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/svm.py:6:1: F401 '_attach_methods' imported but unused
pandas_ml/skaccessors/svm.py:44:1: W391 blank line at end of file
pandas_ml/skaccessors/test/test_base.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_base.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_base.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_base.py:22:13: F841 local variable 'mdf' is assigned to but never used
pandas_ml/skaccessors/test/test_cluster.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_cluster.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_cluster.py:99:52: E231 missing whitespace after ','
pandas_ml/skaccessors/test/test_covariance.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_covariance.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_covariance.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_cross_decomposition.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_cross_decomposition.py:7:1: F401 'datasets' imported but unused
pandas_ml/skaccessors/test/test_cross_decomposition.py:24:31: E231 missing whitespace after ','
pandas_ml/skaccessors/test/test_cross_decomposition.py:24:34: E231 missing whitespace after ','
pandas_ml/skaccessors/test/test_cross_decomposition.py:24:43: E231 missing whitespace after ','
pandas_ml/skaccessors/test/test_cross_decomposition.py:24:46: E231 missing whitespace after ','
pandas_ml/skaccessors/test/test_cross_decomposition.py:24:55: E231 missing whitespace after ','
pandas_ml/skaccessors/test/test_cross_decomposition.py:24:58: E231 missing whitespace after ','
pandas_ml/skaccessors/test/test_cross_validation.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_cross_validation.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_datasets.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_datasets.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_datasets.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_decomposition.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_decomposition.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_decomposition.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_dummy.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_dummy.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_dummy.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_ensemble.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_ensemble.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_ensemble.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_feature_extraction.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_feature_extraction.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_feature_extraction.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_feature_extraction.py:7:1: F401 'datasets' imported but unused
pandas_ml/skaccessors/test/test_feature_selection.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_feature_selection.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_feature_selection.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_gaussian_process.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_gaussian_process.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_gaussian_process.py:7:1: F401 'datasets' imported but unused
pandas_ml/skaccessors/test/test_gaussian_process.py:97:9: F841 local variable 'phi' is assigned to but never used
pandas_ml/skaccessors/test/test_gaussian_process.py:98:9: F841 local variable 'PHI' is assigned to but never used
pandas_ml/skaccessors/test/test_gaussian_process.py:99:9: F841 local variable 'PHIinv' is assigned to but never used
pandas_ml/skaccessors/test/test_gaussian_process.py:102:9: F841 local variable 'lim' is assigned to but never used
pandas_ml/skaccessors/test/test_grid_search.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_grid_search.py:43:34: E127 continuation line over-indented for visual indent
pandas_ml/skaccessors/test/test_isotonic.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_isotonic.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_isotonic.py:7:1: F401 'datasets' imported but unused
pandas_ml/skaccessors/test/test_isotonic.py:42:37: E261 at least two spaces before inline comment
pandas_ml/skaccessors/test/test_isotonic.py:55:9: F841 local variable 'mod1' is assigned to but never used
pandas_ml/skaccessors/test/test_isotonic.py:56:9: F841 local variable 'mod2' is assigned to but never used
pandas_ml/skaccessors/test/test_kernel_approximation.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_kernel_approximation.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_kernel_approximation.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_lda.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_lda.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_lda.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_learning_curve.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_learning_curve.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_linear_model.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_linear_model.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_linear_model.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_manifold.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_manifold.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_manifold.py:61:49: E261 at least two spaces before inline comment
pandas_ml/skaccessors/test/test_manifold.py:62:46: E261 at least two spaces before inline comment
pandas_ml/skaccessors/test/test_manifold.py:62:47: E262 inline comment should start with '# '
pandas_ml/skaccessors/test/test_metrics.py:9:1: F401 'multiclass' imported but unused
pandas_ml/skaccessors/test/test_metrics.py:85:13: F841 local variable 'result' is assigned to but never used
pandas_ml/skaccessors/test/test_metrics.py:154:13: F841 local variable 'result' is assigned to but never used
pandas_ml/skaccessors/test/test_metrics.py:158:13: F841 local variable 'result' is assigned to but never used
pandas_ml/skaccessors/test/test_metrics.py:202:13: F841 local variable 'result' is assigned to but never used
pandas_ml/skaccessors/test/test_metrics.py:337:13: F841 local variable 'result' is assigned to but never used
pandas_ml/skaccessors/test/test_metrics.py:355:13: E128 continuation line under-indented for visual indent
pandas_ml/skaccessors/test/test_metrics.py:361:13: E128 continuation line under-indented for visual indent
pandas_ml/skaccessors/test/test_metrics.py:386:13: F841 local variable 'result' is assigned to but never used
pandas_ml/skaccessors/test/test_metrics.py:398:13: F841 local variable 'result' is assigned to but never used
pandas_ml/skaccessors/test/test_metrics.py:404:42: E128 continuation line under-indented for visual indent
pandas_ml/skaccessors/test/test_metrics.py:478:5: F811 redefinition of unused 'test_explained_variance_score' from line 463
pandas_ml/skaccessors/test/test_mixture.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_mixture.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_mixture.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_multiclass.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_multiclass.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_multiclass.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_naive_bayes.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_naive_bayes.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_naive_bayes.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_neighbors.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_neighbors.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_neighbors.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_neural_network.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_neural_network.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_neural_network.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_pipeline.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_pipeline.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_pipeline.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_pipeline.py:10:1: F401 'svm' imported but unused
pandas_ml/skaccessors/test/test_preprocessing.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_preprocessing.py:405:5: F811 redefinition of unused 'test_LabelBinarizer' from line 355
pandas_ml/skaccessors/test/test_qda.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_qda.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_qda.py:7:1: F401 'datasets' imported but unused
pandas_ml/skaccessors/test/test_random_projection.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_random_projection.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_random_projection.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_random_projection.py:7:1: F401 'datasets' imported but unused
pandas_ml/skaccessors/test/test_semi_supervised.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_semi_supervised.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_semi_supervised.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_svm.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_svm.py:5:1: F401 'compat' imported but unused
pandas_ml/skaccessors/test/test_svm.py:39:55: E226 missing whitespace around arithmetic operator
pandas_ml/skaccessors/test/test_tree.py:3:1: F401 'np' imported but unused
pandas_ml/skaccessors/test/test_tree.py:4:1: F401 'pd' imported but unused
pandas_ml/skaccessors/test/test_tree.py:5:1: F401 'compat' imported but unused
pandas_ml/smaccessors/__init__.py:3:1: F401 '_maybe_statsmodels_data' imported but unused
pandas_ml/smaccessors/__init__.py:3:63: W292 no newline at end of file
pandas_ml/smaccessors/test/test_base.py:4:1: F401 'pd' imported but unused
pandas_ml/smaccessors/test/test_base.py:9:1: F401 'pdml' imported but unused
pandas_ml/smaccessors/test/test_base.py:46:5: E303 too many blank lines (2)
pandas_ml/smaccessors/test/test_base.py:50:13: F841 local variable 'result' is assigned to but never used
pandas_ml/smaccessors/test/test_base.py:53:5: E303 too many blank lines (2)
pandas_ml/smaccessors/test/test_base.py:61:13: F841 local variable 'fitted' is assigned to but never used
pandas_ml/smaccessors/test/test_base.py:70:25: E261 at least two spaces before inline comment
pandas_ml/smaccessors/test/test_base.py:119:13: F841 local variable 'fitted' is assigned to but never used
pandas_ml/smaccessors/test/test_datasets.py:3:1: F401 'np' imported but unused
pandas_ml/smaccessors/test/test_datasets.py:5:1: F401 'compat' imported but unused
pandas_ml/smaccessors/test/test_datasets.py:64:13: F841 local variable 'df' is assigned to but never used
pandas_ml/smaccessors/test/test_datasets.py:91:13: F841 local variable 'df' is assigned to but never used
pandas_ml/smaccessors/test/test_datasets.py:104:13: F841 local variable 'df' is assigned to but never used
pandas_ml/smaccessors/test/test_datasets.py:138:13: F841 local variable 'df' is assigned to but never used
pandas_ml/smaccessors/test/test_datasets.py:151:13: F841 local variable 'df' is assigned to but never used
pandas_ml/smaccessors/test/test_datasets.py:178:13: F841 local variable 'df' is assigned to but never used
pandas_ml/smaccessors/test/test_datasets.py:189:13: F841 local variable 'df' is assigned to but never used
pandas_ml/test/test_frame.py:8:1: F401 'compat' imported but unused
pandas_ml/test/test_frame.py:38:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:39:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:72:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:73:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:94:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:95:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:187:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:188:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:205:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:210:13: F841 local variable 'mdf' is assigned to but never used
pandas_ml/test/test_frame.py:215:31: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:220:37: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:265:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:266:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:274:29: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:275:29: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:307:29: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:362:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:363:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:449:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:469:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:608:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:609:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:622:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:623:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:656:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:657:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:660:32: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:665:19: E222 multiple spaces after operator
pandas_ml/test/test_frame.py:670:28: E128 continuation line under-indented for visual indent
pandas_ml/test/test_frame.py:671:28: E128 continuation line under-indented for visual indent
pandas_ml/test/test_frame.py:703:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:704:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:709:32: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:714:19: E222 multiple spaces after operator
pandas_ml/test/test_frame.py:719:28: E128 continuation line under-indented for visual indent
pandas_ml/test/test_frame.py:720:28: E128 continuation line under-indented for visual indent
pandas_ml/test/test_frame.py:732:32: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:741:19: E222 multiple spaces after operator
pandas_ml/test/test_frame.py:746:28: E128 continuation line under-indented for visual indent
pandas_ml/test/test_frame.py:747:28: E128 continuation line under-indented for visual indent
pandas_ml/test/test_frame.py:754:34: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:763:32: E127 continuation line over-indented for visual indent
pandas_ml/test/test_frame.py:771:19: E222 multiple spaces after operator
pandas_ml/test/test_frame.py:777:28: E128 continuation line under-indented for visual indent
pandas_ml/test/test_frame.py:778:28: E128 continuation line under-indented for visual indent
pandas_ml/test/test_groupby.py:3:1: F401 'datetime' imported but unused
pandas_ml/test/test_groupby.py:4:1: F401 'warnings' imported but unused
pandas_ml/test/test_groupby.py:21:28: E127 continuation line over-indented for visual indent
pandas_ml/test/test_groupby.py:138:1: E303 too many blank lines (3)
pandas_ml/test/test_series.py:3:1: F401 'datetime' imported but unused
pandas_ml/test/test_series.py:4:1: F401 'warnings' imported but unused
pandas_ml/test/test_series.py:8:1: F401 'compat' imported but unused
pandas_ml/test/test_series.py:10:1: F401 'datasets' imported but unused
pandas_ml/test/test_series.py:11:1: F401 'svm' imported but unused
pandas_ml/util/__init__.py:3:1: F401 '_is_1d_harray' imported but unused
pandas_ml/util/__init__.py:3:1: F401 '_is_1d_varray' imported but unused
pandas_ml/util/_util.py:3:1: E302 expected 2 blank lines, found 1
pandas_ml/util/_util.py:14:51: W292 no newline at end of file
pandas_ml/util/testing.py:4:1: F401 'pd' imported but unused
pandas_ml/util/testing.py:5:1: F401 'compat' imported but unused
pandas_ml/util/testing.py:8:1: F403 'from pandas.util.testing import *' used; unable to detect undefined names
pandas_ml/util/testing.py:80:20: W292 no newline at end of file
pandas_ml/xgboost/__init__.py:3:1: F401 'XGBoostMethods' imported but unused
pandas_ml/xgboost/base.py:3:1: F401 'pd' imported but unused
pandas_ml/xgboost/base.py:129:1: W391 blank line at end of file
pandas_ml/xgboost/test/test_base.py:5:1: F401 'compat' imported but unused
pandas_ml/xgboost/test/test_base.py:46:55: E226 missing whitespace around arithmetic operator
pandas_ml/xgboost/test/test_base.py:82:34: E127 continuation line over-indented for visual indent
pandas_ml/xgboost/test/test_base.py:87:5: E303 too many blank lines (2)
s-celles commented 8 years ago

A noqa comment might be useful

like

from pandas_ml.core import ModelFrame, ModelSeries  # noqa

in pandas_ml/__init__.py

but there is many unused imports, useless spaces...

sinhrks commented 8 years ago

Thanks, I haven't cared much until now. Will fix soon.