I must say krish is doing this all for future data scientist. Great efforts sir. You each and every content is for future generations, for future data scientists. You are not creating videos, you are creating gems 💎
Krish, you are really great teaching systematically and with ease of understanding. I paid lacs of rupees in one of IIIT, but they dont teach like this, and dont bother whether you learn or not. It goes as a self paced, and the code they have done very old. you are doing very great for many people. ❤❤❤thank you.
Hmmm, expected more core content like (how to check for trends, seasons, cyclicity, what to do with them and why). As well, what about basic statistics? covariance, correlation, variance, missing values, outliers/anomalies?? Getting to understand if a specific value for a feature can happen/make sense. In the real world EDA would mean to do this before jumping into any modelling techniques. 😏
Am not joining this live but am about working on a time series sales forecasting project and would really love to see how I can deploy it to production.
@Krish Naik Sir, While trying the code, it's giving me the error. code: import pandas_datareader as pdr import pandas as pd import datetime as dt df = pdr.get_data_yahoo('MSFT') df.head() O/P: TypeError: string indices must be integers. How to fix it sir? it throws error after coming to the line "df = pdr.get_data_yahoo('MSFT')"
import yfinance as yf # Define the ticker symbol for Tesla ticker = 'TSLA' # Fetch the data using yfinance tesla_data = yf.download(ticker) # Print the fetched data tesla_data
I am getting "TypeError: string indices must be integers" while reading the TSLA data as a dataframe. Can anybody comment please why this is happening? If there is any change to the data format?
In real time do we need pandas data reader? As data reader is already having some data sources, can it be used when am trying to access some bank's data (say am working for a bank)?
Firstly Thank you so much sir for all😌In this video we are not able to increase quality of video as it's showing unavailable due to this reason it's blurred
Pdr.get_data_yahoo('TSLA') Not able to fetch data, getting error that " string indices must be integers" could you please help me on this krish sir? How can I fix this error?
Hello sir , sir I'm trying running this code to get data from yahoo finance but it keeps on returning type error I really don't know what to do,could you please help me 6:25
Hi Krish or any one of the subscriber df_msft.plot() not showing the graph as like you did only empty frame created with date as x lim and price in y lim Please help me the plot function is not working for me since im using spyder ide is to so or i need tp work with jupyter note book
Hello Sir, While coding along with your video, I saw that the prices are touching the value in range of 800 in your screen, but when i checked tesla share price on internet, its all time high is only 409.97. When I am coding right now, my values are also coming in this range only having all time high of 409.97. Can you please tell why this variation is there in the values??
sir i m getting a error in line no. 12 ( positional argument follows argument ) and second thing when i plot hole TSLA data in row it not showing year it show a value like 0 ,500,1000,1500,2000,2500 .
1. Benefit of rolling data is to check current trend, whether it is uptrend or downtrend . when you plot it (check 59:18) if stock data is above rolling data it means uptrend or viceversa 2. Deciding the number of rolling data is up to your needs. for example in supplychain or finance domain you might have rolling number of 30, 90 ( monthly, quarter..etc)
@@anandjain4258 For those who are getting the error, run below code. from pandas_datareader import data as pdr import yfinance as yf yf.pdr_override() df = pdr.get_data_yahoo("TSLA", start="2017-01-01", end="2023-09-21") df.tail()
Good day all. Please what am I doing wrong? I'm trying to run this command pdr.get_data_yahoo('TSLA') and I'm getting this error......, "TypeError: string indices must be integers"
Can you please upload a multiclass classification problem ? Like the final output should be something like an animal is mapped to cats tree and to assassins tree at the same time
Sir your community sessions are simply awesome . One question : I have taken your paid course already and was missing your presence there. If you would had to take community session why earlier your asked for joining your paid session courses ?
same problem when loading tesla data .... df_tesla=pdr.get_data_yahoo('TSLA') TypeError: string indices must be integers. kindly help me out with this.
@@aakuthotaharibabu8244 import yfinance as yf # Define the ticker symbol ticker_symbol = 'TSLA' # Fetch the data df_tesla = yf.download(ticker_symbol, start='2017-01-01', end='2024-06-30') # Display the first few rows of the DataFrame print(df_tesla.head()) run this it will work
graph = pydot.graph_from_dot_data(dot_data.getvalue()) list' object has no attribute 'create_png' I am making a decision tree getting this erroe how to resolve it?
can anybody help, please? when i run this code: pdr.get_data_yahoo('TSLA') I got this error TypeError: string indices must be integers can someone help me why this is happening?
figure,axis=plt.subplots() plt.tight_layout() ## Preventing overlapping figure.autofmt_xdate() axis.plot(index,share_open) this code is not working for me, I got an error " x and y must have same first dimension, but have shapes (421,) and (169,) " kindly help me to proceed
I must say krish is doing this all for future data scientist. Great efforts sir. You each and every content is for future generations, for future data scientists. You are not creating videos, you are creating gems 💎
Best Data Science teacher. 2 full days gone in just watching through all amazing tutorials
I am watching this session in 2024 and this is so helpful for my master's project ,I am so thankful for krish teaching this session
The way, simple and lucid manners he explains from complex to simple is outstanding !!
Thanks for your wonderful sessions. 👍👍👍👍👍
This guy is excellent. Always a pleasure to watch his videos.
Krish, you are really great teaching systematically and with ease of understanding. I paid lacs of rupees in one of IIIT, but they dont teach like this, and dont bother whether you learn or not. It goes as a self paced, and the code they have done very old. you are doing very great for many people. ❤❤❤thank you.
Absolutely amazing lecture. Kept me engaged.
Appreciated Krish
Grt work...Thank u for the contribution
Amazing content... You are the person that motivates me to go for data science
perfect session for time series loved it😊
Loved Time Resampling :)
best lecture!
I love your content . Thank you for doing this
Loved the session..... awaiting for next session❤
Amazing video krish..I JUST WANT TO THANK YOU..
great fan of you your videos are really helping me out
Indebted🙏
Thank you so much! I love it! I's so helpful!
Those who are trying with Google Colab. Execute this command first.
pip install --upgrade pandas pip install --upgrade pandas-datareader
Thank you!!
Thanks man!!!!!
Thank you!!
Thank you!
Sir Thank you so much for this Informative Session. It was a Very good practical class.
I would like to notify you that the TSLA data in pd.data reader was changed but they made sure that the pattern looks the same.
Thank you
awesome !
thanks Krish for the amazing session
Thank you so much sir. Very helpful.
Great 🙏
Thank you for supporting Ukraine. You are an amazing DS teacher!
amazing man
hank you so much sir.
Thank you so much sir. These live sessions are very helpful
great session sir
we learn somthing new
great session... love it !!
Thank you sir for this amazing session
Yes Sir
Thank you
I m data scientist but still this help me alot
Hi Mr. Krish, I would appreciate it if you could also teach us about recommender systems using a live session, similar to the Time Series session.
Hmmm, expected more core content like (how to check for trends, seasons, cyclicity, what to do with them and why). As well, what about basic statistics? covariance, correlation, variance, missing values, outliers/anomalies?? Getting to understand if a specific value for a feature can happen/make sense.
In the real world EDA would mean to do this before jumping into any modelling techniques. 😏
Sir, pandas datareader is not working for google collab, what should be done?
at 58:19 , you can see the orange curve has some gap in the beginning and in the end . Tell why ?
Im a beginner and i aspire to work as Data Scientist / in AI. i am Sami from Mumbai
Am not joining this live but am about working on a time series sales forecasting project and would really love to see how I can deploy it to production.
I got an error while loading data set
The error is
'string indices must be integers not str'
The same error i m getting
@@gm9158 Same error not even able to proceed
@Krish Naik Sir, While trying the code, it's giving me the error.
code:
import pandas_datareader as pdr
import pandas as pd
import datetime as dt
df = pdr.get_data_yahoo('MSFT')
df.head()
O/P: TypeError: string indices must be integers. How to fix it sir?
it throws error after coming to the line "df = pdr.get_data_yahoo('MSFT')"
import yfinance as yf
# Define the ticker symbol for Tesla
ticker = 'TSLA'
# Fetch the data using yfinance
tesla_data = yf.download(ticker)
# Print the fetched data
tesla_data
@@c.nbhaskar4718 Thanks a lot
@@c.nbhaskar4718thank you
I am getting "TypeError: string indices must be integers" while reading the TSLA data as a dataframe. Can anybody comment please why this is happening? If there is any change to the data format?
Same here ,
same here
Same here
Got the solution::::
import yfinance as yf
yf.pdr_override()
pdr get_data_yahoo('Stock_Name')
Try this
same
In real time do we need pandas data reader? As data reader is already having some data sources, can it be used when am trying to access some bank's data (say am working for a bank)?
how to choose which function to use expanding and rolling for window size? pls guide me.
HI Krish,
I wonder how its showing date of 31st Dec 2022 on time 42:15?
Firstly Thank you so much sir for all😌In this video we are not able to increase quality of video as it's showing unavailable due to this reason it's blurred
Pdr.get_data_yahoo('TSLA')
Not able to fetch data, getting error that " string indices must be integers" could you please help me on this krish sir? How can I fix this error?
import yfinance as yf
yf.pdr_override()
Data=pdr.get_data_yahoo('TSLA')
Data.head()
It will be work becoz i did it
@@maneeshyadav2697 still not working brother
@@maneeshyadav2697 still the same error.
How can this been done, if the dataset had 100s of stocks altogether? What procedure could be followed for that?
Hello sir , sir I'm trying running this code to get data from yahoo finance but it keeps on returning type error I really don't know what to do,could you please help me 6:25
6:25
Sir I'm getting this error while importing the dataset----> string indices must be integers, not 'str'
please provide the link , you explained the resampling rule A,
Hi Krish or any one of the subscriber
df_msft.plot() not showing the graph as like you did only empty frame created with date as x lim and price in y lim
Please help me the plot function is not working for me since im using spyder ide is to so or i need tp work with jupyter note book
How to access all the lecture series of this EDA session?
Hello Sir,
While coding along with your video, I saw that the prices are touching the value in range of 800 in your screen, but when i checked tesla share price on internet, its all time high is only 409.97. When I am coding right now, my values are also coming in this range only having all time high of 409.97. Can you please tell why this variation is there in the values??
this is because of stock split.
sir i m getting a error in line no. 12 ( positional argument follows argument ) and second thing when i plot hole TSLA data in row it not showing year it show a value like 0 ,500,1000,1500,2000,2500 .
1. what is the benefit we get by rolling the data?
2. how will you decide the number of rolling data like rolling(11) or (10) and why
1. Benefit of rolling data is to check current trend, whether it is uptrend or downtrend . when you plot it (check 59:18) if stock data is above rolling data it means uptrend or viceversa
2. Deciding the number of rolling data is up to your needs. for example in supplychain or finance domain you might have rolling number of 30, 90 ( monthly, quarter..etc)
Do more videos
Hi Krish,
Datareader is not working in colab.
Please advise.
im getting pandas-datareader issue for reading the data can anyone help me with that im using colab
someone help with the tesla dataset now not able to get
yes also not getting data of any stock also i check doc
Pls make live or make video on graph neural network.
let him finish this series man. dont you have patience???
I just asking for that. Obviously he will not stop this series, right?@@geekyprogrammer4831
Can't read the data from y finance. It's better install yfinance using ' pip install yfinance' and read it.
How?
Can you do the same content using R pls
Sir 1 complain if viewing from mobile device your coding can't be seen due to subtitles
Sir, Right now , I have error when reading the data 'string indices must be integers' and
also I successfully install pandas reader
What should I do?
even am getting the same issue bro.! can anyone explain it plz?
Guys, I am also facing same issue , Anyone of you able to solve this ?
@@anandjain4258
For those who are getting the error, run below code.
from pandas_datareader import data as pdr
import yfinance as yf
yf.pdr_override()
df = pdr.get_data_yahoo("TSLA", start="2017-01-01", end="2023-09-21")
df.tail()
I am getting error on accessing data. (df_tesla=pdr.get_data_yahoo('TSLA')): TypeError: string indices must be integers
Then how u resolved the error?
import yfinance as yf
df_tesla = yf.download('TSLA',start= '2020-01-01', end = '2024-01-01')
print(df_tesla)
It worked for me
Same error I too facing
@@ashaythamankar4936I tried this library it didn't worked
Not able to read data from TSLA
Good day all. Please what am I doing wrong?
I'm trying to run this command pdr.get_data_yahoo('TSLA') and
I'm getting this error......, "TypeError: string indices must be integers"
did you find out any solution of it
Can you please upload a multiclass classification problem ? Like the final output should be something like an animal is mapped to cats tree and to assassins tree at the same time
still can we get life time membership?
Yes
54:00 Rolling
How to take multiple csv files as input?
you can read the files separetely and merge them in your notebook
@@felixakwerh5189 I need to take like this
If n = 5
I need to take 5 csv files as user input
And combine them all
Sir your community sessions are simply awesome . One question : I have taken your paid course already and was missing your presence there. If you would had to take community session why earlier your asked for joining your paid session courses ?
Can you also make a session on federated learning ? That would be great
Hello Krish, when you do resampling + mean on whole dataframe. so does it select first columns minimum or minimum value of all?
TypeError: string indices must be integers
same problem when loading tesla data ....
df_tesla=pdr.get_data_yahoo('TSLA')
TypeError: string indices must be integers.
kindly help me out with this.
Same problem
@@aakuthotaharibabu8244
import pandas_datareader.data as pdr
import yfinance as yf
yf.pdr_override()
df=pdr.DataReader('TSLA')
df.head()
@@aakuthotaharibabu8244 import yfinance as yf
# Define the ticker symbol
ticker_symbol = 'TSLA'
# Fetch the data
df_tesla = yf.download(ticker_symbol, start='2017-01-01', end='2024-06-30')
# Display the first few rows of the DataFrame
print(df_tesla.head()) run this it will work
You are insane
hi, I'm looking for a partner to learn data Science, can any one assist me,
graph = pydot.graph_from_dot_data(dot_data.getvalue())
list' object has no attribute 'create_png'
I am making a decision tree getting this erroe how to resolve it?
import yfinance as yf yf.pdr_override() Data=pdr.get_data_yahoo(TSLA) Data.head() It will be work becoz i did it
If anyone getting error string type
yes i am, i have tried differnet method still the same error.
can anybody help, please? when i run this code:
pdr.get_data_yahoo('TSLA') I got this error
TypeError: string indices must be integers
can someone help me why this is happening?
figure,axis=plt.subplots()
plt.tight_layout()
## Preventing overlapping
figure.autofmt_xdate()
axis.plot(index,share_open)
this code is not working for me, I got an error
" x and y must have same first dimension, but have shapes (421,) and (169,) "
kindly help me to proceed
index and share_open dimensions are diff, so that's why you got the error
df_tesla=pdr.get_data_yahoo('TSLA')
df_tesla.head()
getting error;- name 'df_tesla' is not defined
WHAT CAN I DO SIR
@krishnaik Pl help