Skip to content

Commit 3e6d798

Browse files
committed
removed the hidden code cell used to ignore a warning from numpy (numpy.dtype size changed) in all tutorial notebooks
1 parent cd04dd9 commit 3e6d798

20 files changed

+0
-210
lines changed

doc/source/tutorial/getting_started.ipyml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ cells:
2727
__version__
2828

2929

30-
- code: |
31-
# run this cell to avoid annoying warnings
32-
import warnings
33-
warnings.filterwarnings("ignore", message=r'.*numpy.dtype size changed*')
34-
35-
metadata:
36-
nbsphinx: hidden
37-
3830
- markdown: |
3931
## Create an array
4032

doc/source/tutorial/getting_started.ipynb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,6 @@
4646
"__version__"
4747
]
4848
},
49-
{
50-
"cell_type": "code",
51-
"execution_count": null,
52-
"metadata": {
53-
"nbsphinx": "hidden"
54-
},
55-
"outputs": [],
56-
"source": [
57-
"# run this cell to avoid annoying warnings\n",
58-
"import warnings\n",
59-
"warnings.filterwarnings(\"ignore\", message=r'.*numpy.dtype size changed*')"
60-
]
61-
},
6249
{
6350
"cell_type": "markdown",
6451
"metadata": {},

doc/source/tutorial/pandas.ipyml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ cells:
44
# Compatibility with pandas
55

66

7-
- code: |
8-
# run this cell to avoid annoying warnings
9-
import warnings
10-
warnings.filterwarnings("ignore", message=r'.*numpy.dtype size changed*')
11-
12-
metadata:
13-
nbsphinx: hidden
14-
157
- markdown: |
168
Import the LArray library:
179

doc/source/tutorial/pandas.ipynb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,6 @@
77
"# Compatibility with pandas"
88
]
99
},
10-
{
11-
"cell_type": "code",
12-
"execution_count": null,
13-
"metadata": {
14-
"nbsphinx": "hidden"
15-
},
16-
"outputs": [],
17-
"source": [
18-
"# run this cell to avoid annoying warnings\n",
19-
"import warnings\n",
20-
"warnings.filterwarnings(\"ignore\", message=r'.*numpy.dtype size changed*')"
21-
]
22-
},
2310
{
2411
"cell_type": "markdown",
2512
"metadata": {},

doc/source/tutorial/tutorial_IO.ipyml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ cells:
88
The LArray library provides methods and functions to load and dump Array, Session, Axis Group objects to several formats such as Excel, CSV and HDF5. The HDF5 file format is designed to store and organize large amounts of data. It allows to read and write data much faster than when working with CSV and Excel files.
99

1010

11-
- code: |
12-
# run this cell to avoid annoying warnings
13-
import warnings
14-
warnings.filterwarnings("ignore", message=r'.*numpy.dtype size changed*')
15-
16-
metadata:
17-
nbsphinx: hidden
18-
1911
- code: |
2012
# first of all, import the LArray library
2113
from larray import *

doc/source/tutorial/tutorial_IO.ipynb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,6 @@
1414
"The LArray library provides methods and functions to load and dump Array, Session, Axis Group objects to several formats such as Excel, CSV and HDF5. The HDF5 file format is designed to store and organize large amounts of data. It allows to read and write data much faster than when working with CSV and Excel files. \n"
1515
]
1616
},
17-
{
18-
"cell_type": "code",
19-
"execution_count": null,
20-
"metadata": {
21-
"nbsphinx": "hidden"
22-
},
23-
"outputs": [],
24-
"source": [
25-
"# run this cell to avoid annoying warnings\n",
26-
"import warnings\n",
27-
"warnings.filterwarnings(\"ignore\", message=r'.*numpy.dtype size changed*')"
28-
]
29-
},
3017
{
3118
"cell_type": "code",
3219
"execution_count": null,

doc/source/tutorial/tutorial_arithmetic_op_and_aggregation.ipyml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ cells:
44
# Arithmetic Operations And Aggregations
55

66

7-
- code: |
8-
# run this cell to avoid annoying warnings
9-
import warnings
10-
warnings.filterwarnings("ignore", message=r'.*numpy.dtype size changed*')
11-
12-
metadata:
13-
nbsphinx: hidden
14-
157
- markdown: |
168
Import the LArray library:
179

doc/source/tutorial/tutorial_arithmetic_op_and_aggregation.ipynb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,6 @@
77
"# Arithmetic Operations And Aggregations\n"
88
]
99
},
10-
{
11-
"cell_type": "code",
12-
"execution_count": null,
13-
"metadata": {
14-
"nbsphinx": "hidden"
15-
},
16-
"outputs": [],
17-
"source": [
18-
"# run this cell to avoid annoying warnings\n",
19-
"import warnings\n",
20-
"warnings.filterwarnings(\"ignore\", message=r'.*numpy.dtype size changed*')"
21-
]
22-
},
2310
{
2411
"cell_type": "markdown",
2512
"metadata": {},

doc/source/tutorial/tutorial_indexing.ipyml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ cells:
44
# Indexing, Selecting and Assigning
55

66

7-
- code: |
8-
# run this cell to avoid annoying warnings
9-
import warnings
10-
warnings.filterwarnings("ignore", message=r'.*numpy.dtype size changed*')
11-
12-
metadata:
13-
nbsphinx: hidden
14-
157
- markdown: |
168
Import the LArray library:
179

doc/source/tutorial/tutorial_indexing.ipynb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,6 @@
77
"# Indexing, Selecting and Assigning\n"
88
]
99
},
10-
{
11-
"cell_type": "code",
12-
"execution_count": null,
13-
"metadata": {
14-
"nbsphinx": "hidden"
15-
},
16-
"outputs": [],
17-
"source": [
18-
"# run this cell to avoid annoying warnings\n",
19-
"import warnings\n",
20-
"warnings.filterwarnings(\"ignore\", message=r'.*numpy.dtype size changed*')"
21-
]
22-
},
2310
{
2411
"cell_type": "markdown",
2512
"metadata": {},

0 commit comments

Comments
 (0)