Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Added "# -- coding: utf-8 --" to preserve the character while guaranteeing successful builds with Python 2.7 #328

Merged
merged 11 commits into from
Oct 15, 2019
3 changes: 2 additions & 1 deletion src/python/nimbusml/examples/Schema.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
###############################################################################
# Get schema from a fitted pipeline example.
import numpy as np
Expand Down Expand Up @@ -30,4 +31,4 @@
schema = pipe.get_output_columns()

print(schema[0:5])
# ['Sentiment', 'SentimentText', 'features.Char.<?>|=|=', 'features.Char.=|=|r', 'features.Char.=|r|u']
# ['Sentiment', 'SentimentText', 'features.Char.<>|=|=', 'features.Char.=|=|r', 'features.Char.=|r|u']
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
###############################################################################
# Example with NGramExtractor and LogisticRegressionBinaryClassifier
import pandas
Expand Down