{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"files=check_output([\"ls\", \"../input/favorita-grocery-sales-forecasting\"]).decode(\"utf8\")\nfiles\n#Check the number of row of each file\nfor file in files.split(\"\\n\"):\n    path='../input/favorita-grocery-sales-forecasting/'+file\n    popenobj=subprocess.Popen(['wc', '-l', path], stdout=subprocess.PIPE, \n                                              stderr=subprocess.PIPE)\n    result,error= popenobj.communicate()\n    print(\"The file :\",file,\"has :\",result.strip().split()[0],\"rows\")","metadata":{"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import platform\nplatform.python_version()","metadata":{"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import xgboost as xgb\n\nxgb.__version__","metadata":{"trusted":true},"execution_count":null,"outputs":[]}]}