Skip to content

Instantly share code, notes, and snippets.

@fuwiak
Created August 26, 2020 15:39
Show Gist options
  • Save fuwiak/1e3ba50b542eb40d55cc73fa9701d9cf to your computer and use it in GitHub Desktop.
Save fuwiak/1e3ba50b542eb40d55cc73fa9701d9cf to your computer and use it in GitHub Desktop.
def print_metainformation(meta):
print('Available types:', meta['description']['dtype'].unique())
print('{} Features'.format(meta['description'].shape[0]))
print('{} categorical features'.format(len(meta['categorical_features'])))
print('{} numerical features'.format(len(meta['numerical_features'])))
print('{} categorical features with NAs'.format(len(meta['categorical_features_na'])))
print('{} numerical features with NAs'.format(len(meta['numerical_features_na'])))
print('{} Complete features'.format(len(meta['complete_features'])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment