|
| 1 | +# Comparing `tmp/bigeda-0.0.8.tar.gz` & `tmp/bigeda-0.0.9.tar.gz` |
| 2 | + |
| 3 | +## filetype from file(1) |
| 4 | + |
| 5 | +```diff |
| 6 | +@@ -1 +1 @@ |
| 7 | +-gzip compressed data, was "bigeda-0.0.8.tar", last modified: Fri May 17 15:05:19 2024, max compression |
| 8 | ++gzip compressed data, was "bigeda-0.0.9.tar", last modified: Sat May 18 09:05:50 2024, max compression |
| 9 | +``` |
| 10 | + |
| 11 | +## Comparing `bigeda-0.0.8.tar` & `bigeda-0.0.9.tar` |
| 12 | + |
| 13 | +### file list |
| 14 | + |
| 15 | +```diff |
| 16 | +@@ -1,17 +1,17 @@ |
| 17 | +-drwxrwxrwx 0 0 0 0 2024-05-17 15:05:19.134920 bigeda-0.0.8/ |
| 18 | +-drwxrwxrwx 0 0 0 0 2024-05-17 15:05:19.092647 bigeda-0.0.8/BigEDA/ |
| 19 | +--rw-rw-rw- 0 0 0 783 2024-03-31 16:22:20.000000 bigeda-0.0.8/BigEDA/__init__.py |
| 20 | +--rw-rw-rw- 0 0 0 26812 2024-05-17 15:04:09.000000 bigeda-0.0.8/BigEDA/descriptive.py |
| 21 | +--rw-rw-rw- 0 0 0 78541 2024-05-13 23:16:09.000000 bigeda-0.0.8/BigEDA/plots.py |
| 22 | +--rw-rw-rw- 0 0 0 11707 2024-04-14 01:24:57.000000 bigeda-0.0.8/BigEDA/preprocessing.py |
| 23 | +-drwxrwxrwx 0 0 0 0 2024-05-17 15:05:19.131989 bigeda-0.0.8/BigEDA.egg-info/ |
| 24 | +--rw-rw-rw- 0 0 0 870 2024-05-17 15:05:18.000000 bigeda-0.0.8/BigEDA.egg-info/PKG-INFO |
| 25 | +--rw-rw-rw- 0 0 0 256 2024-05-17 15:05:18.000000 bigeda-0.0.8/BigEDA.egg-info/SOURCES.txt |
| 26 | +--rw-rw-rw- 0 0 0 1 2024-05-17 15:05:18.000000 bigeda-0.0.8/BigEDA.egg-info/dependency_links.txt |
| 27 | +--rw-rw-rw- 0 0 0 13 2024-05-17 15:05:18.000000 bigeda-0.0.8/BigEDA.egg-info/requires.txt |
| 28 | +--rw-rw-rw- 0 0 0 7 2024-05-17 15:05:18.000000 bigeda-0.0.8/BigEDA.egg-info/top_level.txt |
| 29 | +--rw-rw-rw- 0 0 0 1091 2023-12-09 15:06:56.000000 bigeda-0.0.8/LICENSE |
| 30 | +--rw-rw-rw- 0 0 0 870 2024-05-17 15:05:19.133916 bigeda-0.0.8/PKG-INFO |
| 31 | +--rw-rw-rw- 0 0 0 301 2023-12-09 16:15:51.000000 bigeda-0.0.8/README.md |
| 32 | +--rw-rw-rw- 0 0 0 42 2024-05-17 15:05:19.134920 bigeda-0.0.8/setup.cfg |
| 33 | +--rw-rw-rw- 0 0 0 838 2024-05-17 15:04:39.000000 bigeda-0.0.8/setup.py |
| 34 | ++drwxrwxrwx 0 0 0 0 2024-05-18 09:05:50.387570 bigeda-0.0.9/ |
| 35 | ++drwxrwxrwx 0 0 0 0 2024-05-18 09:05:50.342742 bigeda-0.0.9/BigEDA/ |
| 36 | ++-rw-rw-rw- 0 0 0 783 2024-03-31 16:22:20.000000 bigeda-0.0.9/BigEDA/__init__.py |
| 37 | ++-rw-rw-rw- 0 0 0 26812 2024-05-17 15:04:09.000000 bigeda-0.0.9/BigEDA/descriptive.py |
| 38 | ++-rw-rw-rw- 0 0 0 78777 2024-05-18 09:03:33.000000 bigeda-0.0.9/BigEDA/plots.py |
| 39 | ++-rw-rw-rw- 0 0 0 11707 2024-04-14 01:24:57.000000 bigeda-0.0.9/BigEDA/preprocessing.py |
| 40 | ++drwxrwxrwx 0 0 0 0 2024-05-18 09:05:50.387166 bigeda-0.0.9/BigEDA.egg-info/ |
| 41 | ++-rw-rw-rw- 0 0 0 1043 2024-05-18 09:05:50.000000 bigeda-0.0.9/BigEDA.egg-info/PKG-INFO |
| 42 | ++-rw-rw-rw- 0 0 0 256 2024-05-18 09:05:50.000000 bigeda-0.0.9/BigEDA.egg-info/SOURCES.txt |
| 43 | ++-rw-rw-rw- 0 0 0 1 2024-05-18 09:05:50.000000 bigeda-0.0.9/BigEDA.egg-info/dependency_links.txt |
| 44 | ++-rw-rw-rw- 0 0 0 74 2024-05-18 09:05:50.000000 bigeda-0.0.9/BigEDA.egg-info/requires.txt |
| 45 | ++-rw-rw-rw- 0 0 0 7 2024-05-18 09:05:50.000000 bigeda-0.0.9/BigEDA.egg-info/top_level.txt |
| 46 | ++-rw-rw-rw- 0 0 0 1091 2023-12-09 15:06:56.000000 bigeda-0.0.9/LICENSE |
| 47 | ++-rw-rw-rw- 0 0 0 1043 2024-05-18 09:05:50.387570 bigeda-0.0.9/PKG-INFO |
| 48 | ++-rw-rw-rw- 0 0 0 301 2023-12-09 16:15:51.000000 bigeda-0.0.9/README.md |
| 49 | ++-rw-rw-rw- 0 0 0 42 2024-05-18 09:05:50.387570 bigeda-0.0.9/setup.cfg |
| 50 | ++-rw-rw-rw- 0 0 0 944 2024-05-18 09:05:43.000000 bigeda-0.0.9/setup.py |
| 51 | +``` |
| 52 | + |
| 53 | +### Comparing `bigeda-0.0.8/BigEDA/__init__.py` & `bigeda-0.0.9/BigEDA/__init__.py` |
| 54 | + |
| 55 | + * *Files identical despite different names* |
| 56 | + |
| 57 | +### Comparing `bigeda-0.0.8/BigEDA/descriptive.py` & `bigeda-0.0.9/BigEDA/descriptive.py` |
| 58 | + |
| 59 | + * *Files identical despite different names* |
| 60 | + |
| 61 | +### Comparing `bigeda-0.0.8/BigEDA/plots.py` & `bigeda-0.0.9/BigEDA/plots.py` |
| 62 | + |
| 63 | + * *Files 1% similar despite different names* |
| 64 | + |
| 65 | +```diff |
| 66 | +@@ -180,20 +180,20 @@ |
| 67 | + plt.show() |
| 68 | + |
| 69 | + ###################################################################################################################### |
| 70 | + |
| 71 | + def boxplot(X, color, figsize=(9,5), n_xticks=15, x_rotation=0, statistics=None, |
| 72 | + random=False, n=None, fraction=None, seed=123, save=False, file_name=None, |
| 73 | + style='whitegrid', lines_width=0.55, bbox_to_anchor=(0.5,-0.5), legend_size=10, |
| 74 | +- color_stats=None) : |
| 75 | ++ color_stats=None) : |
| 76 | + |
| 77 | + """ |
| 78 | + Parameters (inputs) |
| 79 | + ---------- |
| 80 | +- X: a pandas series or a numpy array (the variable). |
| 81 | ++ X: a polars series (the variable). |
| 82 | + bins: number of intervals used to create the histogram (number of bars). |
| 83 | + color: name of the color to be use for the histogram bars. |
| 84 | + figsize: dimensions of the plot. Must be a pair of numbers (a,b), where a indicates the plot width, and b the length. |
| 85 | + rotation: a integer positive number. Indicates the rotation degree of the sticks from the axis. |
| 86 | + get_intervals:If True, the intervals used to create the histogram will be return. If False, not. |
| 87 | + sep: a parameter used for creating the sticks of the x-axis. We recommend using the default value. |
| 88 | + |
| 89 | +@@ -522,24 +522,25 @@ |
| 90 | + if save == True : |
| 91 | + fig.savefig(file_name + '.jpg', format='jpg', dpi=500) |
| 92 | + |
| 93 | + plt.show() |
| 94 | + |
| 95 | + ###################################################################################################################### |
| 96 | + |
| 97 | +-def barplot(X, color, categories_order=None, figsize=(9,5), xticks_rotation=0, random=False, |
| 98 | ++def barplot(X, color, orientation='vertical', bar_width=0.5, order=None, figsize=(9,5), xticks_rotation=0, random=False, |
| 99 | + n=None, fraction=None, seed=123, fontsize=10, y_up_limit=1, |
| 100 | +- y_low_limit=0, xticks_fontsize=11, yticks_fontsize=11, xlabel_size=11, |
| 101 | +- ylabel_size=11, ylabel='Relative Frequency', xlabel='', |
| 102 | +- title_size=14, title_weight='bold') : |
| 103 | ++ y_low_limit=0, xticks_fontsize=11, yticks_fontsize=11, |
| 104 | ++ ylabel_size=11, ylabel='Relative Frequency', |
| 105 | ++ xlabel_size=11, xlabel='', |
| 106 | ++ title_size=14, title_weight='bold'): |
| 107 | + |
| 108 | + """ |
| 109 | + Parameters (inputs) |
| 110 | + ---------- |
| 111 | +- X: a pandas series or a numpy array (the variable). |
| 112 | ++ X: a polars series. |
| 113 | + color: name of the color to be use for the histogram bars. |
| 114 | + categories_order: a list with X categories order as they will appear in the plot. |
| 115 | + figsize: dimensions of the plot. Must be a pair of numbers (a,b), where a indicates the plot width, and b the length. |
| 116 | + rotation: a integer positive number. Indicates the rotation degree of the sticks from the axis. |
| 117 | + sep: a parameter used for creating the sticks of the x-axis. We recommend using the default value. |
| 118 | + |
| 119 | + Returns (outputs) |
| 120 | +@@ -556,29 +557,33 @@ |
| 121 | + |
| 122 | + if isinstance(X, pl.Series): |
| 123 | + X = X.to_pandas() |
| 124 | + |
| 125 | + # Setting the figure size. |
| 126 | + fig, axs = plt.subplots(figsize=figsize) |
| 127 | + |
| 128 | +- # Computing the barplot. |
| 129 | +- value_counts = X.value_counts(normalize=True).reindex(categories_order) |
| 130 | +- ax = value_counts.plot(kind='bar', color=color) |
| 131 | ++ X = X.drop_nulls().to_numpy() |
| 132 | ++ unique_values, rel_freq = get_frequencies(X) |
| 133 | ++ unique_values = [str(x) for x in unique_values] |
| 134 | ++ if orientation == 'vertical': |
| 135 | ++ ax = sns.barplot(x=unique_values, y=rel_freq, color=color, width=bar_width, order=order) |
| 136 | ++ elif orientation == 'horizontal': |
| 137 | ++ ax = sns.barplot(x=rel_freq, y=unique_values, color=color, width=bar_width, order=order) |
| 138 | + |
| 139 | + ax.set_ylabel(ylabel, size=ylabel_size) |
| 140 | + ax.set_xlabel(xlabel, size=xlabel_size) |
| 141 | + plt.xticks(fontsize=xticks_fontsize, rotation=xticks_rotation) |
| 142 | + plt.yticks(fontsize=yticks_fontsize) |
| 143 | + |
| 144 | + # Setting the title of the plot. |
| 145 | + plt.title(label = 'Bar-plot' + ' ' + X.name, fontsize=title_size, weight=title_weight) |
| 146 | + ax.set_ylim(y_low_limit, y_up_limit) |
| 147 | + |
| 148 | + # Add text annotations to each bar |
| 149 | +- for i, v in enumerate(value_counts): |
| 150 | ++ for i, v in enumerate(rel_freq): |
| 151 | + plt.text(i, v, f"{v:.2f}", color='black', ha='center', va='bottom', fontsize=fontsize, fontweight='bold') |
| 152 | + |
| 153 | + plt.show() |
| 154 | + |
| 155 | + |
| 156 | + ###################################################################################################################### |
| 157 | +``` |
| 158 | + |
| 159 | +### Comparing `bigeda-0.0.8/BigEDA/preprocessing.py` & `bigeda-0.0.9/BigEDA/preprocessing.py` |
| 160 | + |
| 161 | + * *Files identical despite different names* |
| 162 | + |
| 163 | +### Comparing `bigeda-0.0.8/BigEDA.egg-info/PKG-INFO` & `bigeda-0.0.9/BigEDA.egg-info/PKG-INFO` |
| 164 | + |
| 165 | + * *Files 24% similar despite different names* |
| 166 | + |
| 167 | +```diff |
| 168 | +@@ -1,22 +1,29 @@ |
| 169 | + Metadata-Version: 2.1 |
| 170 | + Name: BigEDA |
| 171 | +-Version: 0.0.8 |
| 172 | ++Version: 0.0.9 |
| 173 | + Summary: This is a package to carry out Exploratory Data Analysis, allowing to work with Big Data. |
| 174 | + Home-page: https://github.com/FabioScielzoOrtiz/EDA_Package |
| 175 | + Author: Fabio Scielzo Ortiz |
| 176 | + |
| 177 | + Classifier: Programming Language :: Python :: 3 |
| 178 | + Classifier: License :: OSI Approved :: MIT License |
| 179 | + Classifier: Operating System :: OS Independent |
| 180 | + Requires-Python: >=3.7 |
| 181 | + Description-Content-Type: text/markdown |
| 182 | + License-File: LICENSE |
| 183 | + Requires-Dist: pandas |
| 184 | + Requires-Dist: numpy |
| 185 | ++Requires-Dist: polars |
| 186 | ++Requires-Dist: scipy |
| 187 | ++Requires-Dist: itertools |
| 188 | ++Requires-Dist: collections |
| 189 | ++Requires-Dist: seaborn |
| 190 | ++Requires-Dist: matplotlib |
| 191 | ++Requires-Dist: random |
| 192 | + |
| 193 | + This is a package to carry out Exploratory Data Analysis, allowing to work on Big Data. |
| 194 | + |
| 195 | + We are currently working to develop the package. |
| 196 | + |
| 197 | + Usage: |
| 198 | +``` |
| 199 | + |
| 200 | +### Comparing `bigeda-0.0.8/LICENSE` & `bigeda-0.0.9/LICENSE` |
| 201 | + |
| 202 | + * *Files identical despite different names* |
| 203 | + |
| 204 | +### Comparing `bigeda-0.0.8/PKG-INFO` & `bigeda-0.0.9/PKG-INFO` |
| 205 | + |
| 206 | + * *Files 24% similar despite different names* |
| 207 | + |
| 208 | +```diff |
| 209 | +@@ -1,22 +1,29 @@ |
| 210 | + Metadata-Version: 2.1 |
| 211 | + Name: BigEDA |
| 212 | +-Version: 0.0.8 |
| 213 | ++Version: 0.0.9 |
| 214 | + Summary: This is a package to carry out Exploratory Data Analysis, allowing to work with Big Data. |
| 215 | + Home-page: https://github.com/FabioScielzoOrtiz/EDA_Package |
| 216 | + Author: Fabio Scielzo Ortiz |
| 217 | + |
| 218 | + Classifier: Programming Language :: Python :: 3 |
| 219 | + Classifier: License :: OSI Approved :: MIT License |
| 220 | + Classifier: Operating System :: OS Independent |
| 221 | + Requires-Python: >=3.7 |
| 222 | + Description-Content-Type: text/markdown |
| 223 | + License-File: LICENSE |
| 224 | + Requires-Dist: pandas |
| 225 | + Requires-Dist: numpy |
| 226 | ++Requires-Dist: polars |
| 227 | ++Requires-Dist: scipy |
| 228 | ++Requires-Dist: itertools |
| 229 | ++Requires-Dist: collections |
| 230 | ++Requires-Dist: seaborn |
| 231 | ++Requires-Dist: matplotlib |
| 232 | ++Requires-Dist: random |
| 233 | + |
| 234 | + This is a package to carry out Exploratory Data Analysis, allowing to work on Big Data. |
| 235 | + |
| 236 | + We are currently working to develop the package. |
| 237 | + |
| 238 | + Usage: |
| 239 | +``` |
| 240 | + |
0 commit comments