It is a simple project in Kaggle, just imitating one blog, but failed. enter image description here train_inf[‘Age’]=train_inf.fillna(train_inf[‘Age’].median()) ValueError: Columns must be same length as key just this code I am searching for a long time on net. But no use. Please help or try to give some ideas how achieve this. Thanks in advance. Answer You are close, need
Tag: kaggle
scraping name of dataset in kaggle using python
Hi, Please how can i get the name of dataset in kaggle, usign beatiful soup or selenium or scrapy. I test this code but no return : see the picture : inspect element from kaggle Answer Using Selenium Output: dataset snapshot
Gaierror while importing pretrained vgg model on kaggle
I am trying to import a pre-trained VGG model in keras on kaggle. I run through an gaierror which was unfamiliar. Downloading data from https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg19_weights_tf_dim_ordering_tf_kernels_notop.h5 ————————————————————————— gaierror Traceback (most recent call last) /opt/conda/lib/python3.6/urllib/request.py in do_open(self, http_class, req, **http_conn_args) 1317 h.request(req.get_method(), req.selector, req.data, headers, -> 1318 encode_chunked=req.has_header(‘Transfer-encoding’)) 1319 except OSError as err: # timeout error /opt/conda/lib/python3.6/http/client.py in request(self, method, url, body,