Skip to content

Commit ec944e0

Browse files
authored
Non escaped quotes again
1 parent f6d63af commit ec944e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial/climada_hazard_TropCyclone.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1743,14 +1743,14 @@
17431743
"# 1. Which is the time frequency of the data?\n",
17441744
"# The values of a DataArray are numpy.arrays.\n",
17451745
"# The nummpy.ediff1d computes the different between elements in an array\n",
1746-
"diff_time_ns = np.ediff1d(tc_syn["time"])\n",
1746+
"diff_time_ns = np.ediff1d(tc_syn[\"time\"])\n",
17471747
"diff_time_h = diff_time_ns.astype(int)/1000/1000/1000/60/60\n",
17481748
"print('Mean time frequency in hours:', diff_time_h.mean())\n",
17491749
"print('Std time frequency in hours:', diff_time_h.std())\n",
17501750
"print()\n",
17511751
"\n",
17521752
"# 2. Compute the maximum sustained wind for each day.\n",
1753-
"print('Daily max sustained wind:', tc_syn["max_sustained_wind"].groupby('time.day').max())"
1753+
"print('Daily max sustained wind:', tc_syn[\"max_sustained_wind\"].groupby('time.day').max())"
17541754
]
17551755
},
17561756
{

0 commit comments

Comments
 (0)