Question for plotting chart /u/bigthreedragons Python Education

Question for plotting chart /u/bigthreedragons Python Education

Hi all,

I am new to Python. When I watching a video on YT and try to plotting chart on jupyter as the video instructed. When the video plotting chart on jupyter, it input below command “

close.plot(figsize=(15,8),fontsize=12)

The jupyter return below value and able to plot the chart:

<AxesSubplot: xlabel=’Date’>

However, I follow the same way but cannot plot the same chart jupyter and jupyter return below value:

<Axes: xlabel=’Date’>”

Do anyone figure what happened? Thanks a lot

submitted by /u/bigthreedragons
[link] [comments]

​r/learnpython Hi all, I am new to Python. When I watching a video on YT and try to plotting chart on jupyter as the video instructed. When the video plotting chart on jupyter, it input below command ” “close.plot(figsize=(15,8),fontsize=12)” The jupyter return below value and able to plot the chart: “<AxesSubplot: xlabel=’Date’> However, I follow the same way but cannot plot the same chart jupyter and jupyter return below value: “<Axes: xlabel=’Date’>” Do anyone figure what happened? Thanks a lot submitted by /u/bigthreedragons [link] [comments] 

Hi all,

I am new to Python. When I watching a video on YT and try to plotting chart on jupyter as the video instructed. When the video plotting chart on jupyter, it input below command “

close.plot(figsize=(15,8),fontsize=12)

The jupyter return below value and able to plot the chart:

<AxesSubplot: xlabel=’Date’>

However, I follow the same way but cannot plot the same chart jupyter and jupyter return below value:

<Axes: xlabel=’Date’>”

Do anyone figure what happened? Thanks a lot

submitted by /u/bigthreedragons
[link] [comments]  Hi all, I am new to Python. When I watching a video on YT and try to plotting chart on jupyter as the video instructed. When the video plotting chart on jupyter, it input below command ” “close.plot(figsize=(15,8),fontsize=12)” The jupyter return below value and able to plot the chart: “<AxesSubplot: xlabel=’Date’> However, I follow the same way but cannot plot the same chart jupyter and jupyter return below value: “<Axes: xlabel=’Date’>” Do anyone figure what happened? Thanks a lot submitted by /u/bigthreedragons [link] [comments]

Read more

How do I get better at quickly finding information I need in the documentation? /u/ferero18 Python Education

How do I get better at quickly finding information I need in the documentation? /u/ferero18 Python Education

Going through new documentation is a nightmare (and that’s like the main thing about python, so I gotta learn this properly)

Documentation is supposed to be used as needed, and there is a tone of libraries to use, but they’re so unclear to me…

I’m at the point when I have enough basic knowledge to work with APIs and libraries (and I did work with 10+ at this point, but only for coding exercising, nothing in the real world – which is what I’m doing now)

So how do I get better at finding what I need – and at reading it too, because most of the time the functions in the API/library don’t even have real-world examples, which is the main thing why I prefer using chatGPT for explaining or watching a YT video where someone uses the function I need.

But I don’t want to rely on AI, but to be able to pick it up from the documentation itself, I feel like it’s a core skill to have

submitted by /u/ferero18
[link] [comments]

​r/learnpython Going through new documentation is a nightmare (and that’s like the main thing about python, so I gotta learn this properly) Documentation is supposed to be used as needed, and there is a tone of libraries to use, but they’re so unclear to me… I’m at the point when I have enough basic knowledge to work with APIs and libraries (and I did work with 10+ at this point, but only for coding exercising, nothing in the real world – which is what I’m doing now) So how do I get better at finding what I need – and at reading it too, because most of the time the functions in the API/library don’t even have real-world examples, which is the main thing why I prefer using chatGPT for explaining or watching a YT video where someone uses the function I need. But I don’t want to rely on AI, but to be able to pick it up from the documentation itself, I feel like it’s a core skill to have submitted by /u/ferero18 [link] [comments] 

Going through new documentation is a nightmare (and that’s like the main thing about python, so I gotta learn this properly)

Documentation is supposed to be used as needed, and there is a tone of libraries to use, but they’re so unclear to me…

I’m at the point when I have enough basic knowledge to work with APIs and libraries (and I did work with 10+ at this point, but only for coding exercising, nothing in the real world – which is what I’m doing now)

So how do I get better at finding what I need – and at reading it too, because most of the time the functions in the API/library don’t even have real-world examples, which is the main thing why I prefer using chatGPT for explaining or watching a YT video where someone uses the function I need.

But I don’t want to rely on AI, but to be able to pick it up from the documentation itself, I feel like it’s a core skill to have

submitted by /u/ferero18
[link] [comments]  Going through new documentation is a nightmare (and that’s like the main thing about python, so I gotta learn this properly) Documentation is supposed to be used as needed, and there is a tone of libraries to use, but they’re so unclear to me… I’m at the point when I have enough basic knowledge to work with APIs and libraries (and I did work with 10+ at this point, but only for coding exercising, nothing in the real world – which is what I’m doing now) So how do I get better at finding what I need – and at reading it too, because most of the time the functions in the API/library don’t even have real-world examples, which is the main thing why I prefer using chatGPT for explaining or watching a YT video where someone uses the function I need. But I don’t want to rely on AI, but to be able to pick it up from the documentation itself, I feel like it’s a core skill to have submitted by /u/ferero18 [link] [comments]

Read more

How to install and work with Anaconda? /u/EmergerZ Python Education

How to install and work with Anaconda? /u/EmergerZ Python Education

So I have been learning Python from Mosh Hamedani’s tutorials on YouTube (https://www.youtube.com/watch?v=_uQrJ0TkZlc&t=17928s). When it comes to Machine Learning, he first asks to ‘install Anacaonda’. I follow his instructions but for some reason, it’s not working well on my PC. After installation, he tells to open a terminal window and type ‘jupyter notebook’ to install a notebook server on my machine. But when I install Anaconda and open a terminal window, I get the error: ‘jupyter’ is not recognized as an internal or external command, operable program or batch file.

Kindly, rescue me out of here.

submitted by /u/EmergerZ
[link] [comments]

​r/learnpython So I have been learning Python from Mosh Hamedani’s tutorials on YouTube (https://www.youtube.com/watch?v=_uQrJ0TkZlc&t=17928s). When it comes to Machine Learning, he first asks to ‘install Anacaonda’. I follow his instructions but for some reason, it’s not working well on my PC. After installation, he tells to open a terminal window and type ‘jupyter notebook’ to install a notebook server on my machine. But when I install Anaconda and open a terminal window, I get the error: ‘jupyter’ is not recognized as an internal or external command, operable program or batch file. Kindly, rescue me out of here. submitted by /u/EmergerZ [link] [comments] 

So I have been learning Python from Mosh Hamedani’s tutorials on YouTube (https://www.youtube.com/watch?v=_uQrJ0TkZlc&t=17928s). When it comes to Machine Learning, he first asks to ‘install Anacaonda’. I follow his instructions but for some reason, it’s not working well on my PC. After installation, he tells to open a terminal window and type ‘jupyter notebook’ to install a notebook server on my machine. But when I install Anaconda and open a terminal window, I get the error: ‘jupyter’ is not recognized as an internal or external command, operable program or batch file.

Kindly, rescue me out of here.

submitted by /u/EmergerZ
[link] [comments]  So I have been learning Python from Mosh Hamedani’s tutorials on YouTube (https://www.youtube.com/watch?v=_uQrJ0TkZlc&t=17928s). When it comes to Machine Learning, he first asks to ‘install Anacaonda’. I follow his instructions but for some reason, it’s not working well on my PC. After installation, he tells to open a terminal window and type ‘jupyter notebook’ to install a notebook server on my machine. But when I install Anaconda and open a terminal window, I get the error: ‘jupyter’ is not recognized as an internal or external command, operable program or batch file. Kindly, rescue me out of here. submitted by /u/EmergerZ [link] [comments]

Read more

Script To Play Next Spotify Song After X Seconds /u/Spiketop_ Python Education

Script To Play Next Spotify Song After X Seconds /u/Spiketop_ Python Education

I’m looking to create a Python script that will go to the next song in a Spotify playlist after it has surpassed a certain amount of time (for example 30 seconds).

I am inexperienced in Python, but after a quick ChatGPT inquiry it seems like it could be possible with Python.

Has anyone tried this before with any success?

submitted by /u/Spiketop_
[link] [comments]

​r/learnpython I’m looking to create a Python script that will go to the next song in a Spotify playlist after it has surpassed a certain amount of time (for example 30 seconds). I am inexperienced in Python, but after a quick ChatGPT inquiry it seems like it could be possible with Python. Has anyone tried this before with any success? submitted by /u/Spiketop_ [link] [comments] 

I’m looking to create a Python script that will go to the next song in a Spotify playlist after it has surpassed a certain amount of time (for example 30 seconds).

I am inexperienced in Python, but after a quick ChatGPT inquiry it seems like it could be possible with Python.

Has anyone tried this before with any success?

submitted by /u/Spiketop_
[link] [comments]  I’m looking to create a Python script that will go to the next song in a Spotify playlist after it has surpassed a certain amount of time (for example 30 seconds). I am inexperienced in Python, but after a quick ChatGPT inquiry it seems like it could be possible with Python. Has anyone tried this before with any success? submitted by /u/Spiketop_ [link] [comments]

Read more

I want to learn python Easy gui can anyone provide materials or any videos to learn it.. /u/Ambitious-Chapter-99 Python Education

I want to learn python Easy gui can anyone provide materials or any videos to learn it.. /u/Ambitious-Chapter-99 Python Education

Python EasyGui

submitted by /u/Ambitious-Chapter-99
[link] [comments]

​r/learnpython Python EasyGui submitted by /u/Ambitious-Chapter-99 [link] [comments] 

Python EasyGui

submitted by /u/Ambitious-Chapter-99
[link] [comments]  Python EasyGui submitted by /u/Ambitious-Chapter-99 [link] [comments]

Read more

Need guidance and help /u/General-Proof-5905 Python Education

Need guidance and help /u/General-Proof-5905 Python Education

I have started to learn python but my major goal is quant finance/research field. So can anyone please suggest what all I should do in python or any projects or resources which anybody can share

submitted by /u/General-Proof-5905
[link] [comments]

​r/learnpython I have started to learn python but my major goal is quant finance/research field. So can anyone please suggest what all I should do in python or any projects or resources which anybody can share submitted by /u/General-Proof-5905 [link] [comments] 

I have started to learn python but my major goal is quant finance/research field. So can anyone please suggest what all I should do in python or any projects or resources which anybody can share

submitted by /u/General-Proof-5905
[link] [comments]  I have started to learn python but my major goal is quant finance/research field. So can anyone please suggest what all I should do in python or any projects or resources which anybody can share submitted by /u/General-Proof-5905 [link] [comments]

Read more

(Regex | Regular expression) match.group(1) = ‘None’ due to using appended patterns /u/0_pl Python Education

(Regex | Regular expression) match.group(1) = ‘None’ due to using appended patterns /u/0_pl Python Education

Hi there,

I am using regex to get ‘pack size’ (how a product is packaged) out of product descriptions. So ‘Apple 1x300g’ and taking out ‘1x300g’.

The issue is that there are lots of different variants a pack size can be, so I have been using the ‘|’ between the regex expressions. However, when doing this it doesn’t allow the match.group(n), where n >1 to work.

Quick example:

description = ‘apple 1x300g’

UoM = r'(g|kg|ml) #Meaning Unit’s of Measure
all_patterns = (

r'(d+)+xs+(d+)’ + UoM + r’|’

r'(d+)’ + UoM +r'(d+)’

)

match = re.search(all_patterns, description)

However, match.group(0) will give ‘1x300g’ and match.group(1) will be ‘none’ as all_patterns is just one big or. I am wanting it to be ‘1’ and ‘300g’.

Is there a simple fix, other than looping through the patterns?

I am new to regex so appreciate any help.

PL 🙂

submitted by /u/0_pl
[link] [comments]

​r/learnpython Hi there, I am using regex to get ‘pack size’ (how a product is packaged) out of product descriptions. So ‘Apple 1x300g’ and taking out ‘1x300g’. The issue is that there are lots of different variants a pack size can be, so I have been using the ‘|’ between the regex expressions. However, when doing this it doesn’t allow the match.group(n), where n >1 to work. Quick example: description = ‘apple 1x300g’ UoM = r'(g|kg|ml) #Meaning Unit’s of Measure all_patterns = ( r'(d+)+xs+(d+)’ + UoM + r’|’ r'(d+)’ + UoM +r'(d+)’ ) match = re.search(all_patterns, description) However, match.group(0) will give ‘1x300g’ and match.group(1) will be ‘none’ as all_patterns is just one big or. I am wanting it to be ‘1’ and ‘300g’. Is there a simple fix, other than looping through the patterns? I am new to regex so appreciate any help. PL 🙂 submitted by /u/0_pl [link] [comments] 

Hi there,

I am using regex to get ‘pack size’ (how a product is packaged) out of product descriptions. So ‘Apple 1x300g’ and taking out ‘1x300g’.

The issue is that there are lots of different variants a pack size can be, so I have been using the ‘|’ between the regex expressions. However, when doing this it doesn’t allow the match.group(n), where n >1 to work.

Quick example:

description = ‘apple 1x300g’

UoM = r'(g|kg|ml) #Meaning Unit’s of Measure
all_patterns = (

r'(d+)+xs+(d+)’ + UoM + r’|’

r'(d+)’ + UoM +r'(d+)’

)

match = re.search(all_patterns, description)

However, match.group(0) will give ‘1x300g’ and match.group(1) will be ‘none’ as all_patterns is just one big or. I am wanting it to be ‘1’ and ‘300g’.

Is there a simple fix, other than looping through the patterns?

I am new to regex so appreciate any help.

PL 🙂

submitted by /u/0_pl
[link] [comments]  Hi there, I am using regex to get ‘pack size’ (how a product is packaged) out of product descriptions. So ‘Apple 1x300g’ and taking out ‘1x300g’. The issue is that there are lots of different variants a pack size can be, so I have been using the ‘|’ between the regex expressions. However, when doing this it doesn’t allow the match.group(n), where n >1 to work. Quick example: description = ‘apple 1x300g’ UoM = r'(g|kg|ml) #Meaning Unit’s of Measure all_patterns = ( r'(d+)+xs+(d+)’ + UoM + r’|’ r'(d+)’ + UoM +r'(d+)’ ) match = re.search(all_patterns, description) However, match.group(0) will give ‘1x300g’ and match.group(1) will be ‘none’ as all_patterns is just one big or. I am wanting it to be ‘1’ and ‘300g’. Is there a simple fix, other than looping through the patterns? I am new to regex so appreciate any help. PL 🙂 submitted by /u/0_pl [link] [comments]

Read more

What interactive free courses are there to dip your toes in to see if you like learning programming? /u/WhoAmIEven2 Python Education

What interactive free courses are there to dip your toes in to see if you like learning programming? /u/WhoAmIEven2 Python Education

I am specifically after one of those websites where you read up to learn, and on the right there is a prompt that allows you to write code yourself and see what happens.

I know there are other styles of courses, like youtube videos, or just plain old reading, but I only want tips on this kind of course as that’s how I learn the best.

What are some good ones?

submitted by /u/WhoAmIEven2
[link] [comments]

​r/learnpython I am specifically after one of those websites where you read up to learn, and on the right there is a prompt that allows you to write code yourself and see what happens. I know there are other styles of courses, like youtube videos, or just plain old reading, but I only want tips on this kind of course as that’s how I learn the best. What are some good ones? submitted by /u/WhoAmIEven2 [link] [comments] 

I am specifically after one of those websites where you read up to learn, and on the right there is a prompt that allows you to write code yourself and see what happens.

I know there are other styles of courses, like youtube videos, or just plain old reading, but I only want tips on this kind of course as that’s how I learn the best.

What are some good ones?

submitted by /u/WhoAmIEven2
[link] [comments]  I am specifically after one of those websites where you read up to learn, and on the right there is a prompt that allows you to write code yourself and see what happens. I know there are other styles of courses, like youtube videos, or just plain old reading, but I only want tips on this kind of course as that’s how I learn the best. What are some good ones? submitted by /u/WhoAmIEven2 [link] [comments]

Read more