Python erreur de syntaxe
skali
-
jee pee Messages postés 32111 Date d'inscription Statut Modérateur Dernière intervention -
jee pee Messages postés 32111 Date d'inscription Statut Modérateur Dernière intervention -
Bonjour,
j'ai ce type d'erreur malgré j'ai respecté la syntaxe
SyntaxError: unexpected character after line continuation character
voilà mon code :
data=pd.Series(mabase.values[:,0],
\index=pd.DatetimeIndex(start='2018-01-05',end='2022-01-03',freq='MS'))
y=data[:48]
true=data[48:]
plt.figure(figsize=(20,6))
plt.plot(data)
plt.plot(true,color='red')
plt.show()
j'ai ce type d'erreur malgré j'ai respecté la syntaxe
SyntaxError: unexpected character after line continuation character
voilà mon code :
data=pd.Series(mabase.values[:,0],
\index=pd.DatetimeIndex(start='2018-01-05',end='2022-01-03',freq='MS'))
y=data[:48]
true=data[48:]
plt.figure(figsize=(20,6))
plt.plot(data)
plt.plot(true,color='red')
plt.show()
A voir également:
- Syntaxerror unexpected character after line continuation character python
- Character spéciaux - Guide
- C'est quoi character ai - Accueil - Guide technologies
- Caractères spéciaux : comment taper des |—[©\½→}… - Guide
- Citizen code python avis - Accueil - Outils
- Citizen code python solution - Forum Python