Skip to content

Commit 90f2370

Browse files
MarcoGorelliemmanuelle
authored andcommitted
👽 upgrade code so it no longer uses deprecated pandas method ix (#2011)
1 parent ad8b403 commit 90f2370

File tree

1 file changed

+1
-1
lines changed
  • packages/python/plotly/plotly/figure_factory

1 file changed

+1
-1
lines changed

Diff for: packages/python/plotly/plotly/figure_factory/_gantt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def validate_gantt(df):
4646
for index in range(num_of_rows):
4747
task_dict = {}
4848
for key in df:
49-
task_dict[key] = df.ix[index][key]
49+
task_dict[key] = df.iloc[index][key]
5050
chart.append(task_dict)
5151

5252
return chart

0 commit comments

Comments
 (0)