Wolfram.com
WolframAlpha.com
WolframCloud.com
Wolfram Language
Example Repository
Ready-to-use examples of Wolfram Language
Primary Navigation
Categories
Astronomy
Audio Processing
Calculus
Cellular Automata
Chemistry
Complex Systems
Computer Science
Computer Vision
Control Systems
Creative Arts
Data Science
Engineering
Finance & Economics
Finite Element Method
Food & Nutrition
Geography
Geometry
Graphs & Networks
Image Processing
Life Sciences
Machine Learning
Mathematics
Optimization
Physics
Puzzles and Recreation
Quantum Computation
Signal Processing
Social Sciences
System Modeling
Text & Language Processing
Time-Related Computation
Video Processing
Visualization & Graphics
Alphabetical List
Submit a New Example
Learn More about
Wolfram Language
Related Pages
Related Symbols
Tabular
TransformColumns
Related Categories
Data Science
Tabular Processing
Calculate Wind Chill from Weather Data
Example Notebook
Open in Cloud
Download Notebook
Specify the location, JFK airport (using ICAO code KJFK), and the date range with hourly intervals:
I
n
[
1
]
:
=
l
o
c
a
t
i
o
n
=
"
K
J
F
K
"
;
d
a
t
e
s
=
D
a
t
e
R
a
n
g
e
[
{
2
0
2
4
,
1
2
,
9
,
5
,
5
1
,
0
}
,
{
2
0
2
4
,
1
2
,
1
2
,
4
,
5
9
,
0
}
,
"
H
o
u
r
"
]
;
Create a
Tabular
object of weather data in C, mbar and km/h:
I
n
[
2
]
:
=
d
a
t
a
=
T
a
b
u
l
a
r
A
s
s
o
c
i
a
t
i
o
n
"
d
a
t
e
"
#
,
"
t
e
m
p
e
r
a
t
u
r
e
"
Q
u
a
n
t
i
t
y
M
a
g
n
i
t
u
d
e
[
W
e
a
t
h
e
r
D
a
t
a
[
l
o
c
a
t
i
o
n
,
"
T
e
m
p
e
r
a
t
u
r
e
"
,
#
]
[
"
F
i
r
s
t
V
a
l
u
e
"
]
]
,
&
/
@
d
a
t
e
s
O
u
t
[
2
]
=
Remove the rows for which at least one value is missing:
I
n
[
3
]
:
=
d
a
t
a
1
=
D
i
s
c
a
r
d
[
d
a
t
a
,
C
o
u
n
t
[
#
,
_
Q
u
a
n
t
i
t
y
M
a
g
n
i
t
u
d
e
]
>
0
&
]
O
u
t
[
3
]
=
Define the wind chill factor as a function of temperature and wind speed (adapting the formula to the units of the data):
I
n
[
4
]
:
=
c
h
i
l
l
[
t
_
,
v
_
]
:
=
I
f
[
t
>
1
0
|
|
v
<
5
,
t
,
1
3
.
1
2
+
0
.
6
2
1
5
*
t
+
(
0
.
3
9
6
5
*
t
-
1
1
.
3
7
)
*
(
v
^
0
.
1
6
)
,
M
i
s
s
i
n
g
[
]
]
;
Visualize the wind chill function:
I
n
[
5
]
:
=
C
o
n
t
o
u
r
P
l
o
t
c
h
i
l
l
[
t
,
v
]
,
O
u
t
[
5
]
=
Create a
Tabular
object, adding the wind chill as a new column:
I
n
[
6
]
:
=
w
i
n
d
C
h
i
l
l
D
a
t
a
=
T
r
a
n
s
f
o
r
m
C
o
l
u
m
n
s
[
d
a
t
a
1
,
{
"
d
a
t
e
"
,
"
t
e
m
p
e
r
a
t
u
r
e
"
,
"
w
i
n
d
_
c
h
i
l
l
"
F
u
n
c
t
i
o
n
[
c
h
i
l
l
[
#
t
e
m
p
e
r
a
t
u
r
e
,
#
"
w
i
n
d
_
s
p
e
e
d
"
]
]
}
]
O
u
t
[
6
]
=
Plot the temperature and wind chill over time:
I
n
[
7
]
:
=
D
a
t
e
L
i
s
t
P
l
o
t
w
i
n
d
C
h
i
l
l
D
a
t
a
{
{
"
d
a
t
e
"
,
"
t
e
m
p
e
r
a
t
u
r
e
"
}
,
{
"
d
a
t
e
"
,
"
w
i
n
d
_
c
h
i
l
l
"
}
}
,
O
u
t
[
7
]
=
t
e
m
p
e
r
a
t
u
r
e
w
i
n
d
_
c
h
i
l
l
Related Symbols
Tabular
TransformColumns
Publisher Information
Contributed by:
Wolfram Research