mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-21 09:15:36 +00:00
lint fixes
This commit is contained in:
parent
d48b70b106
commit
fb517b53d6
2 changed files with 10 additions and 10 deletions
|
|
@ -28,7 +28,7 @@ from fbprophet.models import prophet_stan_models
|
|||
# fb-block 1 end
|
||||
|
||||
try:
|
||||
import pystan
|
||||
import pystan # noqa F401
|
||||
except ImportError:
|
||||
logger.error('You cannot run prophet without pystan installed')
|
||||
raise
|
||||
|
|
|
|||
|
|
@ -10,16 +10,13 @@ from __future__ import division
|
|||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import os
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
|
||||
# fb-block 1 start
|
||||
import os
|
||||
from unittest import TestCase
|
||||
from fbprophet import Prophet
|
||||
# fb-block 1 end
|
||||
# fb-block 2
|
||||
|
||||
DATA = pd.read_csv(
|
||||
os.path.join(os.path.dirname(__file__), 'data.csv'),
|
||||
|
|
@ -29,6 +26,9 @@ DATA2 = pd.read_csv(
|
|||
os.path.join(os.path.dirname(__file__), 'data2.csv'),
|
||||
parse_dates=['ds'],
|
||||
)
|
||||
# fb-block 1 end
|
||||
# fb-block 2
|
||||
|
||||
|
||||
class TestProphet(TestCase):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue