Hello, I am new to coding. I want to categorize each table based on different markets. I understand the api here https://api.binance.us/api/v3/exchangeInfo allows you to capture the quoteAsset key, which could be used to identify the different markets. Ex. USD, USDT, BUSD, BTC.
I wanted to know why I am receiving this error? ValueError: All arrays must be of the same length.
What can be done to make this work? I am using python with streamlit. Here is my code
from numpy import true_divide
import streamlit as st
import pandas as pd
# Load market data from Binance API
bnc = pd.read_json('https://api.binance.us/api/v3/ticker/24hr')
bncQ = pd.read_json('https://api.binance.us/api/v3/exchangeInfo')
# The issue is here with bncQ
# Title
st.markdown('''# **Crypto Tracker**
Welcome to your dashboard, here you can view all cryptos and add them to your favorites
''')
st.header('**Favorites**')
st.header('USD Markets')
st.header('USDT Markets')
st.header('BUSD Markets')
st.header('BTC Markets')
st.header('All Markets')
bncQ