Skip to content

Commit e820295

Browse files
authored
Merge pull request statsmodels#5977 from bashtage/fix-docbuild
MAINT: Cleanup legacy imports
2 parents 876dd47 + 4ff64af commit e820295

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+7
-69
lines changed

docs/source/gettingstarted.rst

Lines changed: 0 additions & 1 deletion

examples/incomplete/arima.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function
21
from statsmodels.datasets.macrodata import load_pandas
32
from statsmodels.tsa.base.datetools import dates_from_range
43
from statsmodels.tsa.arima_model import ARIMA

examples/incomplete/wls_extended.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
at outliers, compares with RLM and a short bootstrap
66
77
"""
8-
from __future__ import print_function
98
import numpy as np
109
import statsmodels.api as sm
1110
import matplotlib.pyplot as plt

examples/notebooks/contrasts.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
},
1616
"outputs": [],
1717
"source": [
18-
"from __future__ import print_function\n",
1918
"import numpy as np\n",
2019
"import statsmodels.api as sm"
2120
]

examples/notebooks/discrete_choice_example.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
41-
"from __future__ import print_function\n",
4241
"import numpy as np\n",
4342
"import pandas as pd\n",
4443
"from scipy import stats\n",

examples/notebooks/discrete_choice_overview.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
},
1616
"outputs": [],
1717
"source": [
18-
"from __future__ import print_function\n",
1918
"import numpy as np\n",
2019
"import statsmodels.api as sm"
2120
]

examples/notebooks/formulas.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
},
2727
"outputs": [],
2828
"source": [
29-
"from __future__ import print_function\n",
3029
"import numpy as np # noqa:F401 needed in namespace for patsy\n",
3130
"import statsmodels.api as sm"
3231
]

examples/notebooks/generic_mle.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
},
3535
"outputs": [],
3636
"source": [
37-
"from __future__ import print_function\n",
3837
"import numpy as np\n",
3938
"from scipy import stats\n",
4039
"import statsmodels.api as sm\n",

examples/notebooks/glm.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"metadata": {},
2525
"outputs": [],
2626
"source": [
27-
"from __future__ import print_function\n",
2827
"import numpy as np\n",
2928
"import statsmodels.api as sm\n",
3029
"from scipy import stats\n",

examples/notebooks/glm_formula.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
},
2525
"outputs": [],
2626
"source": [
27-
"from __future__ import print_function\n",
2827
"import statsmodels.api as sm\n",
2928
"import statsmodels.formula.api as smf\n",
3029
"star98 = sm.datasets.star98.load_pandas().data\n",

0 commit comments

Comments
 (0)