Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 90f2370

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
  • packages/python/plotly/plotly/figure_factory
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎packages/python/plotly/plotly/figure_factory/_gantt.py

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/figure_factory/_gantt.py
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.