Swagger2: Failed to introspect Class

Try to use swagger 2 in project but getting below error. "java.lang.IllegalStateException: Failed to introspect Class [springfox.documentation.swagger2.configuration.Swagger2DocumentationConfiguration] from Class Loader //Spring Boot version: 2.1.9 //Swagger2: 2.9.2 //java: 11 package path.to.package;…

0 Comments

how do i solve this error expected Str bytes or os.PathLike object not io.StringIO

here is my code import numpy as np import pandas as pd features=pd.read_excel('temps.xlsx') features=pd.get_dummies(features) features.iloc[:,5:].head(5) features.head() labels=np.array(features['actual']) features=features.drop('actual', axis=1) features_list=list(features.columns) features=np.array(features) from sklearn.model_selection import train_test_split train_features, test_features, train_labels, test_labels=train_test_split(features, labels,…

1 Comment