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