{
  "cells": [
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {
        "_cell_guid": "6dac4f95-8ad0-53e5-355a-c676147d0152"
      },
      "outputs": [],
      "source": [
        "import numpy as np\n",
        "import pandas as pd\n",
        "\n",
        "from nltk.corpus import stopwords\n",
        "from nltk.stem.snowball import SnowballStemmer\n",
        "\n",
        "from sklearn.cross_validation import train_test_split"
      ]
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {
        "_cell_guid": "609c1577-b219-d81c-c2a5-8844ca78c8ba"
      },
      "outputs": [],
      "source": [
        "# Read train dataset\n",
        "# 'Canal_ID',\n",
        "df_train = pd.read_csv('../input/train.csv', usecols = ['Demanda_uni_equil', 'Semana', 'Producto_ID', 'Agencia_ID',  'Cliente_ID' ],\n",
        "                       dtype  = {'Semana': 'int32',\n",
        "                                 'Producto_ID':'int32',\n",
        "                                 'Agencia_ID': 'int32',\n",
        "                                 'Cliente_ID':'int32',\n",
        "                                 'Demanda_uni_equil':'int32'})\n",
        "\n",
        "print(df_train.head())"
      ]
    }
  ],
  "metadata": {
    "_change_revision": 0,
    "_is_fork": false,
    "kernelspec": {
      "display_name": "Python 3",
      "language": "python",
      "name": "python3"
    },
    "language_info": {
      "codemirror_mode": {
        "name": "ipython",
        "version": 3
      },
      "file_extension": ".py",
      "mimetype": "text/x-python",
      "name": "python",
      "nbconvert_exporter": "python",
      "pygments_lexer": "ipython3",
      "version": "3.5.2"
    }
  },
  "nbformat": 4,
  "nbformat_minor": 0
}