Skip to content

Instantly share code, notes, and snippets.

{
"code": 0,
"reason": "OK",
"result": [
{
"ctype": "news",
"dtype": 2,
"image": "https://img-staging.yana.asideas.de/image/fetch/w_1280,h_720,c_lfill,f_webp,g_auto:faces,q_auto:eco/https%3A%2F%2Fcdn.images.express.co.uk%2Fimg%2Fdynamic%2F78%2F750x445%2F1187631.jpg",
"imageUrl": [],
"docid": "xOUODFlNVun1vVnycPgLtg",
#pip install pandas
#pip install lxml
#pip install openpyxl
# Importing pandas
import pandas as pd
# The webpage URL whose table we want to extract
url = "https://www.moneycontrol.com/mutual-funds/canara-robeco-blue-chip-equity-fund-direct-plan/portfolio-holdings/"