{"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":"markdown","source":"# Datatable\n\n<p style=\"text-align:center\">\n  <img src=\"https://miro.medium.com/max/446/0*w7dsjAY9CKNY7owL.png\" width=\"300\" />\n</p>\n\nDatatable is a python library for manipulating tabular data. It supports out-of-memory datasets, multi-threaded data processing, and flexible API.fread is the fucntion to read the files in datatable module. From the documentation,fread provides fast and convenient parsing of text (csv) files.\n\nDocumentation : [Datatable](https://datatable.readthedocs.io/en/latest/)","metadata":{}},{"cell_type":"code","source":"import datatable as dt\nimport time","metadata":{"execution":{"iopub.status.busy":"2022-05-25T16:47:03.620539Z","iopub.execute_input":"2022-05-25T16:47:03.621306Z","iopub.status.idle":"2022-05-25T16:47:03.753051Z","shell.execute_reply.started":"2022-05-25T16:47:03.621154Z","shell.execute_reply":"2022-05-25T16:47:03.751927Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"%%time\ndf = dt.fread(\"../input/amex-default-prediction/train_data.csv\")","metadata":{"execution":{"iopub.status.busy":"2022-05-25T16:47:03.756468Z","iopub.execute_input":"2022-05-25T16:47:03.757015Z","iopub.status.idle":"2022-05-25T16:48:27.886799Z","shell.execute_reply.started":"2022-05-25T16:47:03.756962Z","shell.execute_reply":"2022-05-25T16:48:27.884372Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.shape","metadata":{"execution":{"iopub.status.busy":"2022-05-25T16:48:27.888365Z","iopub.execute_input":"2022-05-25T16:48:27.888806Z","iopub.status.idle":"2022-05-25T16:48:27.8975Z","shell.execute_reply.started":"2022-05-25T16:48:27.888762Z","shell.execute_reply":"2022-05-25T16:48:27.896221Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.head()","metadata":{"execution":{"iopub.status.busy":"2022-05-25T16:48:27.899722Z","iopub.execute_input":"2022-05-25T16:48:27.900207Z","iopub.status.idle":"2022-05-25T16:48:27.918342Z","shell.execute_reply.started":"2022-05-25T16:48:27.900168Z","shell.execute_reply":"2022-05-25T16:48:27.917145Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}