Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad23015

Browse files
committed
Added extra 'import pandas as pd' line
1 parent 8cf0bf8 commit ad23015

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plotly/tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,6 +2099,8 @@ def create_gantt(df, colors=None, index_col=None, show_colorbar=False,
20992099
import plotly.plotly as py
21002100
from plotly.tools import FigureFactory as FF
21012101
2102+
import pandas as pd
2103+
21022104
# Make data as a dataframe
21032105
df = pd.DataFrame([['Run', '2010-01-01', '2011-02-02', 10],
21042106
['Fast', '2011-01-01', '2012-06-05', 55],

0 commit comments

Comments
 (0)