Thursday, 26 March 2020

Python Pandas to read excel .csv file and get all values under specific column and skip null value





import os
from selenium import webdriver
import time
import pandas as pd
from pandas import ExcelWriter
from pandas import ExcelFile

df = pd.read_csv(r"xxx.csv")
queue = df["Messages"].dropna().tolist()
print (queue)

No comments:

Post a Comment

Git

1 git add ↳ It lets you add changes from the working directory into the staging area 2 git commit ↳ It lets you save a snapshot of currently...