Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pandas version 1.0
#loading data
import pandas as pd
data = pd.read_csv('train_LZdllcl.csv')
#data summary
data.info()
import pandas as pd
data = pd.read_csv('train_LZdllcl.csv')
data.head()
#loading data
import pandas as pd
data = pd.read_csv('train.csv')
## convert to markdown format
print((data).to_markdown())
data['recruitment_channel'].replace(to_replace = 'other', value= np.nan, inplace=True)
data.head()
#loading data
import pandas as pd
data = pd.read_csv('train.csv')
## convert to markdown format
from tabulate import tabulate
print(tabulate(data, headers='keys', tablefmt='pipe'))
# loading twitter data
import pandas as pd
tweets_data = pd.read_csv('tweets.csv')
tweets_data.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment