quinta-feira, 7 de maio de 2020


RangeIndex: 145095 entries, 0 to 145094
Data columns (total 10 columns):
 #   Column    Non-Null Count   Dtype         
---  ------    --------------   -----         
 0   path      145095 non-null  object        
 1   epigrafe  133540 non-null  object        
 2   isfile    143619 non-null  object        
 3   size      143619 non-null  float64       
 4   is_valid  142723 non-null  object        
 5   ato_tipo  39880 non-null   object        
 6   num       39789 non-null   object        
 7   date      14516 non-null   datetime64[ns]
 8   classify  39879 non-null   object        
 9   npath     28 non-null      object        
dtypes: datetime64[ns](1), float64(1), object(8)
memory usage: 11.1+ MB

# Periodo do Brasil império
q = (df.date > pd.Timestamp(1822,9,7)) & (df.date < pd.Timestamp(1889,11,15)) & (df.ato_tipo == 'LEI')
df[q]



sss

0 comentários: