text_plain_output_1.png
import numpy as np # linear algebra

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

df = pd.read_csv('../input/aerial-cactus-identification/train.csv')

train = pd.read_csv('../input/cactus-images-csv/dataset/train.csv')
test = pd.read_csv('../input/cactus-images-csv/dataset/test.csv')

print('TRAIN---------------------')
print('Shape: {}'.format(train.shape))
train = train.drop('Unnamed: 0', axis=1)
test = test.drop('Unnamed: 0', axis=1)
print('Label 0 (False): {}'.format(np.sum(train.label == 0)))
print('Label 1 (True):  {}'.format(np.sum(train.label == 1)))
print('TEST----------------------')
print('Shape: {}'.format(test.shape))