Syntax error when trying to import module

Asked 1 years ago, Updated 1 years ago, 72 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.