Skip to content

Commit

Permalink
Merge pull request #102 from Vevesta/jah/updatedinit
Browse files Browse the repository at this point in the history
updated init
  • Loading branch information
Priyanka-Vevesta authored Jul 1, 2022
2 parents 8f0255e + ba5e396 commit 5ff8326
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vevestaX/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '6.5.1'
__version__ = '6.5.2'
8 changes: 5 additions & 3 deletions vevestaX/vevesta.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def __EDAForPandas(self, fileName):
NonNumericFeaturesImgFile = "NonNumericFeatures.png"
FeatureHistogramImageFile = "FeatureHistogram.png"
OutliersImageFile = "Outliers.png"
NumericFeatures3Dplots = "NumericFeatures3Dplots.png"
#NumericFeatures3Dplots = "NumericFeatures3Dplots.png"

# EDA missing values
plt.figure(figsize=(13, 8))
Expand Down Expand Up @@ -752,6 +752,7 @@ def __EDAForPandas(self, fileName):
plt.close()

# EDA for 3D-Plots
"""
numericDataframe = self.__data.select_dtypes(include='number')
fig = plt.figure(figsize=(200, 80))
k = 1
Expand All @@ -766,7 +767,7 @@ def __EDAForPandas(self, fileName):
plt.subplots_adjust(wspace=1)
k += 1
plt.savefig(os.path.join(directoryToDumpData, NumericFeatures3Dplots), bbox_inches='tight', dpi=100)
plt.close()
plt.close()"""

# Identify non-numerical features
nonNumericalColumns = self.__data.select_dtypes(exclude=["number", "datetime"])
Expand Down Expand Up @@ -830,12 +831,13 @@ def __EDAForPandas(self, fileName):
pdf.image(os.path.join(directoryToDumpData, OutliersImageFile),30,10,w=150,h=200)

# adding 3D plots for numeric features
"""
workBook.create_sheet('EDA-3Dplot')
ThreeDplotsheet = workBook['EDA-3Dplot']
ThreeDImg = openpyxl.drawing.image.Image(
os.path.join(directoryToDumpData, NumericFeatures3Dplots))
ThreeDImg.anchor = columnTextImgone
ThreeDplotsheet.add_image(ThreeDImg)
ThreeDplotsheet.add_image(ThreeDImg)"""

# adding non-numeric column
nonNumericalColumns = self.__data.select_dtypes(exclude=["number", "datetime"])
Expand Down

0 comments on commit 5ff8326

Please sign in to comment.