Skip to content

Commit

Permalink
Non escaped quotes again
Browse files Browse the repository at this point in the history
  • Loading branch information
spjuhel authored Aug 30, 2024
1 parent f6d63af commit ec944e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/tutorial/climada_hazard_TropCyclone.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1743,14 +1743,14 @@
"# 1. Which is the time frequency of the data?\n",
"# The values of a DataArray are numpy.arrays.\n",
"# The nummpy.ediff1d computes the different between elements in an array\n",
"diff_time_ns = np.ediff1d(tc_syn["time"])\n",
"diff_time_ns = np.ediff1d(tc_syn[\"time\"])\n",
"diff_time_h = diff_time_ns.astype(int)/1000/1000/1000/60/60\n",
"print('Mean time frequency in hours:', diff_time_h.mean())\n",
"print('Std time frequency in hours:', diff_time_h.std())\n",
"print()\n",
"\n",
"# 2. Compute the maximum sustained wind for each day.\n",
"print('Daily max sustained wind:', tc_syn["max_sustained_wind"].groupby('time.day').max())"
"print('Daily max sustained wind:', tc_syn[\"max_sustained_wind\"].groupby('time.day').max())"
]
},
{
Expand Down

0 comments on commit ec944e0

Please sign in to comment.