Differences between revisions 2 and 3
Revision 2 as of 2012-10-24 15:14:38
Size: 498
Editor: MikhailItkin
Comment:
Revision 3 as of 2012-10-24 15:15:20
Size: 507
Editor: MikhailItkin
Comment:
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:


}}}

Pandas

   1 import numpy as np
   2 import pandas as P
   3 import Nio
   4 
   5 hamNc = Nio.open_file('10147-precip.nc')
   6 helNc = Nio.open_file('10015-precip.nc')
   7 
   8 hamTime = hamNc.variables['time'][:]
   9 helTime = helNc.variables['time'][:]
  10 
  11 hamRain = hamNc.variables['rainfall_rain_rate'][:]
  12 helRain = helNc.variables['rainfall_rain_rate'][:]
  13 ham = hamNc.variables['rainfall_rain_rate'][:]

LehreWiki: PythonCourse/PythonLES/Pandas (last edited 2012-11-05 10:53:39 by anonymous)