Syntax error when trying to import module

Asked 2 years ago, Updated 2 years ago, 93 views

I'm trying what's written in a stock book, but I was told that there's no such syntax.
The 5th line is different.

import Yahoo_fin.stock_info assi
import pandas aspd
import matplotlib.pyplot asplt
from datetime import date
from dateutil.relatedelta
import relatedelta
import police.express aspx
import numpy as np
import seaborn as sns
import plotly.figure_factory asff
import plotly.graph_objects as go
plt.style.use('fivethirtight')
plt.rcParams ['figure.figsize'] = [24,8]

python python3 google-colaboratory

2022-09-30 19:22

1 Answers

In one line without a new line.

 from dateutil.relativedelta import relativedelta


2022-09-30 19:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.