Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

modified plots

  • Loading branch information...
commit 8227ae63cf1b7e4fc303411f38289d9490c45b96 1 parent ff2f3a7
@kykamath authored
Showing with 10 additions and 3 deletions.
  1. +2 −2 data_analysis/plots.py
  2. +8 −1 temp.py
View
4 data_analysis/plots.py
@@ -1007,7 +1007,7 @@ def run():
# DataAnalysis.locality_measures_location_specific_correlation_example_hashtags(input_files_start_time, input_files_end_time, min_no_of_hashtags, plot_country=False )
# DataAnalysis.iid_vs_cumulative_distribution_and_peak_distribution(input_files_start_time, input_files_end_time, min_no_of_hashtags)
-# DataAnalysis.peak_stats(input_files_start_time, input_files_end_time, min_no_of_hashtags)
+ DataAnalysis.peak_stats(input_files_start_time, input_files_end_time, min_no_of_hashtags)
# DataAnalysis.occurrence_decay(input_files_start_time, input_files_end_time, min_no_of_hashtags)
# DataAnalysis.norm_iid_vs_locality_measuers(input_files_start_time, input_files_end_time, min_no_of_hashtags)
# DataAnalysis.ef_plots_for_peak(input_files_start_time, input_files_end_time, min_no_of_hashtags)
@@ -1021,7 +1021,7 @@ def run():
# DataAnalysis.coverage_vs_spatial_properties(input_files_start_time, input_files_end_time, min_no_of_hashtags)
# DataAnalysis.hashtag_stats(input_files_start_time, input_files_end_time, min_no_of_hashtags)
- DataAnalysis.peak_categories(input_files_start_time, input_files_end_time, min_no_of_hashtags)
+# DataAnalysis.peak_categories(input_files_start_time, input_files_end_time, min_no_of_hashtags)
class LocationRelationshipAnalysis():
@staticmethod
View
9 temp.py
@@ -3,4 +3,11 @@
ltuo_valid_iid_and_focus_lid = [[1,'a'], [2,'b'], [3,'c'], [4,'d']]
for (valid_iid1, focus_lid1), (valid_iid2, focus_lid2) in combinations(ltuo_valid_iid_and_focus_lid, 2):
print focus_lid1, focus_lid2, valid_iid1-valid_iid2
- print focus_lid2, focus_lid1, valid_iid2-valid_iid1
+ print focus_lid2, focus_lid1, valid_iid2-valid_iid1
+
+val = {}
+val[12]= 12
+val[2] = 12
+for k, v in val.iteritems():
+ print v
+
Please sign in to comment.
Something went wrong with that request. Please try again.