Skip to content

Instantly share code, notes, and snippets.

@daxiongshu
Created June 6, 2019 04:49
Show Gist options
  • Save daxiongshu/b4c529c8d437467806326df37bb98e18 to your computer and use it in GitHub Desktop.
Save daxiongshu/b4c529c8d437467806326df37bb98e18 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Last login: Mon Jun 3 01:36:17 on ttys006
ngvpn01-160-49:~ jiweil$ sh login.sh
jiweil@10.33.227.161's password:
Permission denied, please try again.
jiweil@10.33.227.161's password:
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-134-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
139 packages can be updated.
72 updates are security updates.
New release '18.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
Last login: Sun Jun 2 22:36:09 2019 from 10.2.160.49
jiweil@dgx11:~$ screen -ls
There are screens on:
7508.reg5 (06/01/2019 08:13:44 AM) (Detached)
37809.retr (05/30/2019 09:49:37 PM) (Detached)
26977.reg3 (05/30/2019 06:37:40 PM) (Detached)
13692.reg4 (05/29/2019 01:27:42 PM) (Detached)
36499.reg2 (05/25/2019 03:08:00 AM) (Detached)
64527.fashion2 (05/13/2019 12:43:36 PM) (Attached)
6608.reg (05/03/2019 10:58:58 AM) (Detached)
7 Sockets in /var/run/screen/S-jiweil.
jiweil@dgx11:~$ screen -r reg5
[screen is terminating]
jiweil@dgx11:~$ screen -ls
There are screens on:
26977.reg3 (05/30/2019 06:37:40 PM) (Attached)
13692.reg4 (05/29/2019 01:27:42 PM) (Attached)
36499.reg2 (05/25/2019 03:08:00 AM) (Detached)
64527.fashion2 (05/13/2019 12:43:36 PM) (Attached)
6608.reg (05/03/2019 10:58:58 AM) (Detached)
5 Sockets in /var/run/screen/S-jiweil.
jiweil@dgx11:~$ screen -r reg2
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import cudf as gd\n",
"import pandas as pd\n",
"from IPython.display import display\n",
"pd.set_option('display.max_columns', None)"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"PATH = '../input'\n",
"cols = ['ID_code', 'target'] + ['var_%d'%i for i in range(200)]\n",
"dtypes = ['int32', 'int32'] + ['float32' for i in range(200)]\n",
"train_gd = gd.read_csv('%s/train.csv'%PATH,names=cols,dtype=dtypes,skiprows=1)"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
"~/Downloads/read_data.ipynb" 1522L, 60812C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment